/* USEELY, вариант A — «Каталог образцов»: замазка и чёрный, поля цветов лент и упаковки, квадратные углы. */
:root {
  --bg: #dedad3;
  --surface: #d3cec6;
  --surface-2: #c8c2b8;
  --ink: #0a0a0a;
  --muted: #55514b;
  --accent: #256f82;
  --accent-press: #1c5868;
  --accent-ink: #ffffff;
  --negative: #9c2328;

  /* поля образцов: светлые тона лент и упаковки магазина */
  --field-olive: #c5c8a9;
  --field-powder: #e3c3ba;
  --field-kraft: #c4a98a;
  --field-black: #0a0a0a;
  --field-black-ink: #ebeae7;

  --font: "Libre Franklin", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, serif;

  /* пять ступеней */
  --fs-small: 14px;
  --fs-body: 16px;
  --fs-lead: 20px;
  --fs-head: 28px;
  --fs-display: clamp(40px, 11.5vw, 92px);

  --m: clamp(16px, 4.6vw, 32px);
  --gap: 8px;
  --tap: 48px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--fs-body)/1.5 var(--font);
  letter-spacing: -0.005em;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
}
[hidden] { display: none !important; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; border-radius: 0; }
h1, h2, h3, p, dl, dd, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
.num { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }
.serif { font-family: var(--serif); letter-spacing: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
::selection { background: var(--ink); color: var(--bg); }

.view { min-height: 100svh; padding-bottom: calc(40px + env(safe-area-inset-bottom)); }

/* ——— общие элементы ——— */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; min-height: 56px; padding: 0 20px;
  font-size: var(--fs-body); font-weight: 600;
  transition: transform .12s var(--ease), background-color .15s;
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:active { background: var(--accent-press); }
.btn-primary:disabled { background: var(--surface-2); color: var(--muted); cursor: default; transform: none; }
.btn-soft { background: var(--surface); color: var(--ink); }
.btn-soft:active { background: var(--surface-2); }

.key {
  min-width: var(--tap); min-height: var(--tap); padding: 0 14px;
  background: var(--ink); color: var(--bg);
  font-size: var(--fs-lead); font-weight: 600;
  transition: transform .12s var(--ease), opacity .15s;
}
.key-soft { background: var(--surface); color: var(--ink); }
.key:active { transform: scale(.94); }
.key:disabled { opacity: .35; cursor: default; transform: none; }

.label { font-size: var(--fs-small); color: var(--muted); font-weight: 600; }
.note { font-size: var(--fs-small); color: var(--muted); min-height: 0; }
.note:empty { display: none; }

.cart-btn {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 0 14px;
  background: var(--ink); color: var(--bg);
  font-size: var(--fs-body); font-weight: 600;
  transition: transform .12s var(--ease);
}
.cart-btn:active { transform: scale(.96); }
.cart-btn .num { min-width: 1ch; }

/* шапка внутренних экранов */
.bar {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 8px;
  height: 56px; padding: 0 var(--m) 0 calc(var(--m) - 12px);
  background: var(--bg);
}
.bar-back { width: 44px; height: 44px; display: grid; place-items: center; flex: none; transition: transform .12s var(--ease); }
.bar-back:active { transform: scale(.9); }
.bar-back svg { width: 24px; height: 24px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: square; }
.bar-title { flex: 1; min-width: 0; font-size: var(--fs-lead); font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar .cart-btn { margin-left: auto; }

.section-title { font-size: var(--fs-head); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }

/* ——— витрина ——— */
.store-head {
  display: grid; grid-template-columns: 1fr auto; align-items: start; gap: 12px 16px;
  padding: 20px var(--m) 0;
}
.wordmark {
  font-size: var(--fs-display); line-height: .9; font-weight: 700; letter-spacing: -0.045em;
}
.store-head .cart-btn { margin-top: 2px; }
.store-lede { grid-column: 1 / -1; grid-row: 2; max-width: 30ch; font-size: var(--fs-lead); line-height: 1.35; letter-spacing: -0.01em; }

.specimen { padding: 24px var(--m) 0; }
.specimen-tile {
  position: relative; aspect-ratio: 1 / 1; max-height: 52vh; width: 100%;
  overflow: hidden; background: var(--surface);
}
.sp-layer {
  position: absolute; inset: 0; display: grid; place-items: center;
  opacity: 0; transition: opacity 1.6s ease;
}
.sp-layer.is-on { opacity: 1; }
.sp-layer.is-instant { transition: none; }
.sp-layer img { width: 78%; height: 78%; object-fit: contain; transform: scale(1); transition: transform 6s linear; }
.sp-layer.is-on img { transform: scale(1.04); }
.sp-layer.is-out img { opacity: .35; filter: grayscale(1); }

.specimen-names {
  display: flex; gap: 4px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 calc(-1 * var(--m)); padding: 10px var(--m) 4px; scrollbar-width: none;
  scroll-padding: 0 40%;
}
.specimen-names::-webkit-scrollbar { display: none; }
.sp-name {
  flex: none; scroll-snap-align: center; min-height: 44px; padding: 0 10px;
  font-size: 16px; color: var(--muted); white-space: nowrap;
  transition: color .2s, transform .2s var(--ease);
}
.sp-name[aria-selected="true"] { color: var(--ink); font-size: var(--fs-lead); font-weight: 600; }
.sp-name.is-out { text-decoration: line-through; text-decoration-thickness: 1px; }
.specimen-foot { display: grid; gap: 14px; padding-top: 6px; }
.specimen-fact { font-size: var(--fs-lead); font-weight: 600; letter-spacing: -0.02em; }
.specimen-fact #heroState { font-weight: 400; color: var(--muted); font-size: var(--fs-body); letter-spacing: 0; margin-left: 6px; }

/* поля */
.f-olive { background: var(--field-olive); }
.f-powder { background: var(--field-powder); }
.f-kraft { background: var(--field-kraft); }
.f-black { background: var(--field-black); }
.f-out { background: var(--surface); }

/* каталог */
.catalogue { padding: 72px var(--m) 0; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 16px 0 20px; }
.chip {
  min-height: 44px; padding: 0 14px; background: var(--surface); font-size: var(--fs-body); font-weight: 600;
  transition: transform .12s var(--ease), background-color .15s, color .15s;
}
.chip .num { color: var(--muted); font-weight: 400; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.chip[aria-pressed="true"] .num { color: var(--surface-2); }
.chip:active { transform: scale(.96); }

.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 10px; }
.card { text-align: left; display: block; min-width: 0; transition: transform .15s var(--ease); }
.card:active { transform: scale(.985); }
.card-img { aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card.is-wide { grid-column: span 2; }
.card-name { margin-top: 10px; font-size: var(--fs-body); font-weight: 600; letter-spacing: -0.015em; line-height: 1.25; }
.card-fact { font-size: var(--fs-small); color: var(--muted); }
.card-fact .num { color: var(--ink); font-weight: 600; }
.card.is-wide .card-name { font-size: var(--fs-lead); }

/* доставка — поле чёрного */
.facts-band { margin-top: 80px; padding: 48px var(--m) 52px; background: var(--field-black); color: var(--field-black-ink); }
.facts { display: grid; grid-template-columns: 1fr; gap: 18px; margin-top: 24px; }
.facts div { display: grid; grid-template-columns: minmax(110px, 38%) 1fr; gap: 12px; }
.facts dt { color: #b9b8b4; font-size: var(--fs-body); }
.facts dd { font-size: var(--fs-body); font-weight: 600; }

.foot { padding: 40px var(--m) 8px; overflow: hidden; }
.foot-mark { font-size: 25.5vw; line-height: .8; font-weight: 700; letter-spacing: -0.06em; margin-left: -0.04em; white-space: nowrap; }
.foot-line { margin-top: 18px; font-size: var(--fs-small); color: var(--muted); }

/* ——— карточка букета ——— */
.product-photo { margin: 0 var(--m); aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.product-photo img { width: 100%; height: 100%; object-fit: cover; }
.product-body { padding: 20px var(--m) 0; display: grid; gap: 16px; }
.product-name { font-size: var(--fs-head); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.product-price { font-size: var(--fs-lead); font-weight: 700; margin-top: -8px; }
.kv { display: grid; gap: 10px; }
.kv div { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: baseline; }
.kv dt { color: var(--muted); font-size: var(--fs-small); }
.kv dd { font-size: var(--fs-body); }
.added { font-size: var(--fs-body); }
.added button { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; }

/* ——— конструктор ——— */
.builder-grid { padding: 0 var(--m); }
.stage {
  position: relative; height: clamp(250px, 40vh, 400px); overflow: hidden;
  background: var(--field-olive); contain: layout paint;
}
.bq-world { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-origin: 0 0; transition: transform .6s var(--ease), opacity .3s; }
.bq-layer, .bq-head, .bq-heads { position: absolute; left: 0; top: 0; }
.bq-layer { width: 200px; height: 200px; margin: -100px 0 0 -100px; transform-origin: 100px 100px; transition: transform .6s var(--ease); pointer-events: none; }
.bq-layer svg { display: block; overflow: visible; }
.bq-head { width: 30px; height: 30px; margin: -15px 0 0 -15px; transition: transform .55s var(--ease); pointer-events: none; }
.bq-fly, .bq-fly img { display: block; width: 100%; height: 100%; }
.bq-fly img { transition: transform .55s var(--ease); user-select: none; }
.bq-head.is-leaving { transition: transform .22s ease-out, opacity .22s ease-out; opacity: 0; }
.stage-empty {
  position: absolute; left: 0; right: 0; bottom: 18px; text-align: center;
  font-size: var(--fs-body); color: var(--muted); transition: opacity .3s;
}
.stage-caption { margin-top: 8px; font-size: var(--fs-small); font-style: italic; color: var(--muted); text-align: center; }

.tally { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 12px; }
.tally-count { font-size: var(--fs-lead); font-weight: 600; letter-spacing: -0.02em; }
.tally-count .num { font-size: var(--fs-head); font-weight: 700; letter-spacing: -0.03em; }
.tally-sum { font-size: var(--fs-lead); font-weight: 700; }
.hint { font-size: var(--fs-small); color: var(--muted); min-height: 21px; }

.panel { padding-top: 12px; }
.step { display: grid; gap: 14px; }
.step-title { font-size: var(--fs-lead); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.step-title + .options, .step-title + .ribbons { margin-top: -4px; }

/* таблица образцов */
.plate { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.spec { text-align: left; min-width: 0; transition: transform .12s var(--ease); }
.spec:active { transform: scale(.96); }
.spec-tile { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.spec-tile img { width: 84%; height: 84%; object-fit: contain; }
.spec[aria-disabled="true"] { cursor: default; }
.spec[aria-disabled="true"] .spec-tile img { opacity: .35; filter: grayscale(1); }
.spec[aria-disabled="true"]:active { transform: none; }
.spec-qty {
  position: absolute; right: 0; bottom: 0; min-width: 28px; padding: 2px 6px;
  background: var(--ink); color: var(--bg); font-size: var(--fs-small); font-weight: 600; text-align: center;
}
.f-black .spec-qty { background: var(--bg); color: var(--ink); }
.spec-name, .spec-price, .card-img, .card-name, .card-fact, .opt-swatch, .opt-name, .opt-price, .rib-swatch, .rib-name { display: block; }
.spec-name { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; hyphens: manual; }
.spec-price { font-size: 14px; color: var(--muted); }
.spec[aria-disabled="true"] .spec-price { color: var(--muted); }

.qty-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.qty-price { font-size: var(--fs-body); color: var(--muted); white-space: nowrap; }
.qty-row { display: grid; grid-template-columns: 56px 1fr 64px 64px; gap: 8px; align-items: stretch; }
.qty-row .key { min-height: 56px; font-size: var(--fs-lead); }
.qty-count { display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--surface); line-height: 1.1; }
.qty-count .num { font-size: var(--fs-head); font-weight: 700; }
.qty-unit { font-size: var(--fs-small); color: var(--muted); }
.presets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: -6px; }
.presets .key { font-size: var(--fs-lead); }

.mix { display: grid; gap: 6px; margin-top: 4px; }
.mix-list { display: grid; }
.mix-line {
  display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center;
  min-height: 52px; text-align: left; width: 100%;
}
.mix-line img { width: 40px; height: 40px; object-fit: contain; }
.mix-name { font-size: var(--fs-body); font-weight: 600; line-height: 1.25; }
.mix-sub { display: block; font-size: var(--fs-small); color: var(--muted); font-weight: 400; }
.mix-sum { font-size: var(--fs-body); font-weight: 600; text-align: right; }
.mix-line.is-current { background: var(--surface); margin: 0 -8px; padding: 0 8px; width: calc(100% + 16px); }

.options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opt { text-align: left; min-width: 0; transition: transform .12s var(--ease); }
.opt:active { transform: scale(.97); }
.opt-swatch { position: relative; aspect-ratio: 1 / 1; display: grid; place-items: center; }
.opt-swatch svg { width: 70%; height: 70%; }
.opt-name { margin-top: 6px; font-size: 14px; font-weight: 600; line-height: 1.2; }
.opt-price { font-size: 14px; color: var(--muted); }
.opt[aria-pressed="true"] .opt-swatch { outline: 3px solid var(--ink); outline-offset: -3px; }
.opt[aria-pressed="true"] .opt-name::before, .rib[aria-pressed="true"] .rib-name::before {
  content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 6px; background: var(--ink); vertical-align: middle;
}

.ribbons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.rib { text-align: left; min-width: 0; transition: transform .12s var(--ease); }
.rib:active { transform: scale(.97); }
.rib-swatch { height: 48px; }
.rib[aria-pressed="true"] .rib-swatch { outline: 3px solid var(--ink); outline-offset: -3px; }
.rib-name { margin-top: 6px; font-size: 14px; font-weight: 600; }

.input {
  width: 100%; min-height: 48px; padding: 12px 14px;
  background: #f4f2ee; border: 1px solid #b9b3a9; border-radius: 0; /* taste-skill-ignore: поле формы */
  font-size: var(--fs-body); line-height: 1.4; color: var(--ink);
}
textarea.input { resize: none; }
.input::placeholder { color: #6b665f; }
.input:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.input[aria-invalid="true"] { border-color: var(--negative); }
.counter { font-size: var(--fs-small); color: var(--muted); text-align: right; margin-top: -8px; }

.kv-sum { margin-top: 4px; }
.kv-sum div { grid-template-columns: 1fr auto; }
.kv-sum dd { font-weight: 600; text-align: right; }
.kv-sum .kv-total dt { color: var(--ink); font-size: var(--fs-lead); font-weight: 700; }
.kv-sum .kv-total dd { font-size: var(--fs-lead); font-weight: 700; }
.kv-card dd { font-style: italic; text-align: right; }

/* ——— кошик ——— */
.narrow { padding: 8px var(--m) 0; }
.cart-lines { display: grid; }
.cart-line {
  display: grid; grid-template-columns: 72px 1fr; gap: 14px; padding: 12px; background: var(--surface);
}
.cart-lines { gap: 8px; }
.cart-thumb { width: 72px; height: 90px; overflow: hidden; position: relative; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-thumb.is-custom img { position: absolute; width: 44px; height: 44px; object-fit: contain; }
.cart-info { min-width: 0; }
.load-fail { padding: 40px 0; font-size: var(--fs-lead); }
.cart-title { font-size: var(--fs-body); font-weight: 600; line-height: 1.25; }
.cart-details { font-size: var(--fs-small); color: var(--muted); margin-top: 2px; }
.cart-card { font-family: var(--serif); font-style: italic; font-size: var(--fs-small); margin-top: 4px; }
.cart-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.stepper { display: inline-grid; grid-template-columns: 44px 40px 44px; align-items: center; background: var(--bg); }
.stepper button { height: 44px; font-size: var(--fs-lead); font-weight: 600; transition: transform .12s var(--ease); }
.stepper button:active { transform: scale(.9); }
.stepper .num { text-align: center; font-weight: 600; }
.line-sum { font-size: var(--fs-body); font-weight: 700; }
.line-remove { min-height: 44px; font-size: var(--fs-small); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.empty { display: grid; gap: 16px; padding: 32px 0; font-size: var(--fs-lead); }
.cart-foot { display: grid; gap: 14px; padding-top: 20px; }
.total-row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--fs-lead); font-weight: 700; }

/* ——— оформлення ——— */
.form { display: grid; gap: 22px; }
.seg { display: grid; grid-template-columns: 1fr 1fr; background: var(--surface); }
.seg button { min-height: 52px; font-size: 16px; font-weight: 600; transition: background-color .15s, color .15s; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.pickup-note { font-size: var(--fs-body); margin-top: -10px; }
.field { display: grid; gap: 8px; }
.field-label { font-size: var(--fs-small); font-weight: 600; }
.field-sub { font-size: var(--fs-small); color: var(--muted); }
.group { display: grid; gap: 14px; }
.days { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; }
.day {
  min-height: 60px; padding: 6px 0; background: var(--surface); display: grid; justify-items: center; align-content: center; line-height: 1.15;
  transition: background-color .15s, color .15s, transform .12s var(--ease);
}
.day b { font-size: var(--fs-lead); font-weight: 700; }
.day small { font-size: var(--fs-small); color: var(--muted); }
.day[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.day[aria-checked="true"] small { color: var(--surface-2); }
.day:active, .slot:active { transform: scale(.96); }
.slots { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.slot { min-height: 48px; background: var(--surface); font-weight: 600; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.slot[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.slots-empty { grid-column: 1 / -1; font-size: var(--fs-small); color: var(--muted); }
.check { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; min-height: 44px; font-size: var(--fs-body); }
.check input { width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--ink); }
.err { font-size: var(--fs-small); color: var(--negative); margin-top: -8px; }
.err:empty { display: none; }

/* ——— фінал: бирка з вирубкою ——— */
.done { padding: 40px var(--m) 0; display: grid; gap: 24px; align-content: start; }
.ticket { position: relative; overflow: hidden; background: var(--field-powder); display: grid; }
.ticket-top { padding: 28px 24px 26px; display: grid; gap: 14px; }
.ticket-title { font-size: var(--fs-head); line-height: 1.05; font-weight: 700; letter-spacing: -0.035em; }
.ticket-no { font-size: var(--fs-body); }
.ticket-no .num { font-size: var(--fs-lead); font-weight: 700; margin-left: 6px; }
.ticket-bottom {
  position: relative; padding: 30px 24px 28px; display: grid; gap: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Ccircle cx='6' cy='3' r='2.5' fill='%23dedad3'/%3E%3C/svg%3E") 0 0 / 12px 6px repeat-x;
}
/* полукруглые выемки вырубки по краям перфорации */
.ticket-bottom::before, .ticket-bottom::after {
  content: ""; position: absolute; top: -11px; width: 28px; height: 28px; border-radius: 50%; background: var(--bg);
}
.ticket-bottom::before { left: -14px; }
.ticket-bottom::after { right: -14px; }
.ticket-note { font-size: var(--fs-lead); line-height: 1.35; }

/* ——— ширше телефона ——— */
@media (min-width: 760px) {
  :root { --m: 32px; }
  .grid { grid-template-columns: repeat(3, 1fr); gap: 32px 12px; }
  .card.is-wide { grid-column: span 2; grid-row: span 2; }
  .card.is-wide .card-img { aspect-ratio: auto; height: calc(100% - 64px); min-height: 0; }
  .card.is-wide { display: flex; flex-direction: column; }
  .card.is-wide .card-img { flex: 1; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 24px 40px; }
  .narrow { max-width: 640px; margin: 0 auto; }
  .done { max-width: 640px; margin: 0 auto; }
  .product { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto 1fr; column-gap: 40px; padding-right: var(--m); }
  .product .bar { grid-column: 1 / -1; }
  .product-photo { margin-right: 0; }
  .product-body { padding: 0; align-content: start; }
  .builder-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; }
  .stage-col { position: sticky; top: 56px; align-self: start; }
  .stage { height: min(70vh, 640px); }
  .panel { padding-top: 0; }
}

@media (min-width: 1100px) {
  :root { --m: 56px; }
  .store-head { grid-template-columns: repeat(12, 1fr); padding-top: 40px; }
  .wordmark { grid-column: 1 / 7; }
  .store-lede { grid-column: 8 / 12; grid-row: 1; padding-top: 8px; }
  .store-head .cart-btn { grid-column: 12 / 13; grid-row: 1; justify-self: end; }
  .specimen {
    display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center;
    padding-top: 40px;
  }
  .specimen-tile { grid-column: 5 / 9; grid-row: 1; aspect-ratio: 400 / 460; max-height: none; }
  .specimen-names {
    grid-column: 1 / 5; grid-row: 1; flex-direction: column; align-items: flex-end; overflow: visible;
    margin: 0; padding: 0; gap: 2px;
  }
  .sp-name { min-height: 40px; }
  .specimen-foot { grid-column: 9 / 13; grid-row: 1; align-self: end; max-width: 300px; }
  .catalogue { padding-top: 120px; }
  .facts-band { margin-top: 140px; padding: 72px var(--m); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
  .facts-band .section-title { grid-column: 1 / 5; }
  .facts-band .facts { grid-column: 5 / 13; margin-top: 0; }
  .foot-mark { font-size: 24.5vw; }
}

/* появление частей витрины при прокрутке: заголовок, потом ряд, потом плитки */
.rise { opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0ms); }
.rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .sp-layer.is-on img { transform: none; }
}
