@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ptsans-400-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ptsans-400-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ptsans-700-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/ptsans-700-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "PT Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ptmono-cyr.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "PT Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/ptmono-lat.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #141414;
  --panel: #1b1b1b;
  --rule: #2e2e2e;
  --rule-2: #3d3d3d;
  --paper: #e8e6e1;
  --mute: #8d8a84;
  --mute-2: #a8a5a0;
  --accent: #f36600;
  --accent-d: #b34a00;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--ink);
  background-image:
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 24px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 120px),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0, rgba(255, 255, 255, 0.03) 1px, transparent 1px, transparent 120px);
  color: var(--paper);
  font-family: "PT Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
h4,
p,
figure,
dl,
dd,
ol,
ul {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms linear, border-color 120ms linear;
}

a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent-d);
}

a:focus-visible,
input:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 2px;
}

.mono {
  font-family: "PT Mono", "Courier New", monospace;
  font-weight: 400;
}

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

.label {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.kicker {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

/* Header */

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--rule);
}

.header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.brand-mark {
  display: block;
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  border-bottom: 0;
}

.brand-sub {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mute);
}

.header-contacts {
  max-width: 320px;
  margin-left: auto;
  text-align: right;
}

.header-contacts .addr {
  font-size: 12px;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--mute-2);
  margin-bottom: 6px;
}

.header-contacts .phones {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--paper);
  white-space: nowrap;
}

.header-contacts .phones + .phones {
  margin-top: 2px;
}

.header-contacts .phones a {
  border-bottom-color: transparent;
}

.header-call {
  margin-top: 8px;
}

.header-cta {
  display: inline-block;
  padding: 10px 18px;
  border: 0;
  background: var(--accent);
  color: #141414;
  font-family: "PT Sans", Arial, sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  white-space: nowrap;
}

.header-cta:hover {
  background: #ff7a1a;
  border-bottom-color: transparent;
  color: #141414;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 9px;
  padding-bottom: 9px;
  border-top: 1px solid var(--rule);
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-list a.is-active {
  padding-bottom: 2px;
  border-bottom: 2px solid var(--accent);
  color: var(--paper);
}

.nav-list a.is-active:hover {
  border-bottom-color: var(--accent);
}

.header-mode {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute-2);
  white-space: nowrap;
}

/* Filter */

.filterbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.filter-label {
  margin-right: 4px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.chip {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid var(--rule-2);
  background: var(--panel);
  color: var(--mute);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}

.filter-count {
  margin-left: auto;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper);
  white-space: nowrap;
}

/* Page intro */

.page-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 26px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--rule);
}

h1 {
  font-size: clamp(32px, 4.2vw, 48px);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.intro-side {
  text-align: right;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mute);
  line-height: 1.8;
}

.intro-side p:first-child {
  text-transform: uppercase;
}

.intro-side .story-link {
  color: var(--paper);
  border-bottom-color: var(--accent-d);
}

/* Sections */

.section {
  padding-top: 28px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}

.sec-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}

.sec-head h2 {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.sec-index {
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
}

/* Drawing frame */

.frame {
  position: relative;
  margin: 18px 0 0;
  padding: 10px;
  border: 1px solid var(--rule-2);
}

.frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 4;
  pointer-events: none;
  background:
    linear-gradient(var(--rule-2), var(--rule-2)) left top / 12px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left top / 1px 12px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right top / 12px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right top / 1px 12px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left bottom / 12px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left bottom / 1px 12px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right bottom / 12px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right bottom / 1px 12px no-repeat;
}

.frame img {
  width: 100%;
  height: auto;
}

.frame-tag {
  position: absolute;
  top: -18px;
  left: 0;
  z-index: 5;
  display: block;
  padding-right: 7px;
  background: var(--ink);
  color: var(--mute-2);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.photo-wrap {
  position: relative;
}

.figcap {
  padding-top: 9px;
  color: var(--mute-2);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

/* Callouts */

.callout {
  position: absolute;
  z-index: 3;
  width: 0;
  height: 0;
  pointer-events: none;
}

.callout .dot {
  position: absolute;
  left: -2px;
  top: -2px;
  width: 5px;
  height: 5px;
  background: var(--accent);
  outline: 1px solid rgba(20, 20, 20, 0.65);
}

.callout .ln {
  position: absolute;
  left: 2px;
  top: 2px;
  width: 44px;
  height: 1px;
  background: var(--accent-d);
  transform-origin: 0 50%;
}

.callout .tag {
  position: absolute;
  left: 46px;
  top: -8px;
  padding: 3px 6px;
  background: rgba(20, 20, 20, 0.86);
  border: 1px solid rgba(243, 102, 0, 0.4);
  color: var(--paper);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.c1 {
  left: 34%;
  top: 17%;
}

.c1 .ln {
  width: 56px;
  transform: rotate(-38deg);
}

.c1 .tag {
  left: 46px;
  top: -50px;
}

.c2 {
  left: 38%;
  top: 34%;
}

.c3 {
  left: 70%;
  top: 62%;
}

.c4 {
  left: 48%;
  top: 76%;
}

.c5 {
  left: 54%;
  top: 16%;
}

.c5 .ln {
  width: 56px;
  transform: rotate(-38deg);
}

.c5 .tag {
  left: 46px;
  top: -50px;
}

.c6 {
  left: 11%;
  top: 53%;
}

.c6 .ln {
  width: 70px;
}

.c6 .tag {
  left: 72px;
}

.shop-c1 {
  left: 68%;
  top: 22%;
}

.shop-c1 .ln {
  width: 40px;
}

.shop-c1 .tag {
  left: 42px;
}

/* Company tape */

.tape {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr) 88px;
  align-items: center;
  gap: 24px;
  padding: 18px 0;
}

.tape + .tape {
  border-top: 1px solid var(--rule);
}

.tape-frame {
  width: 320px;
  max-width: 100%;
  margin-top: 0;
}

.tape-frame img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.tape-body {
  min-width: 0;
}

.tape-body .label {
  color: var(--mute-2);
  font-size: 12px;
}

.tape-body h3 {
  margin: 6px 0 8px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 700;
}

.tape-num {
  align-self: center;
  text-align: right;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--accent);
}

/* Catalogue */

.catalog {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.brands {
  position: sticky;
  top: 16px;
  align-self: start;
  background: var(--ink);
  border: 1px solid var(--rule);
}

.brands-note {
  padding: 10px 12px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.brands li + li {
  border-top: 1px solid var(--rule);
}

.brand {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px 10px 9px;
  border-left: 3px solid transparent;
  border-bottom: 0;
  background: transparent;
  color: var(--mute);
  font-size: 13px;
  line-height: 1.25;
}

.brand:hover {
  border-left-color: var(--accent-d);
  border-bottom-color: transparent;
  color: var(--paper);
}

.brand.is-active {
  border-left-color: var(--accent);
  background: var(--panel);
  color: var(--paper);
}

.brand-name {
  min-width: 0;
}

.brand-count {
  flex: 0 0 24px;
  font-size: 12px;
  line-height: 1.35;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: inherit;
}

.brand.is-active .brand-count {
  color: var(--accent);
}

.brand.is-empty {
  opacity: 0.55;
}

.brand-empty {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.brands-foot {
  padding: 10px 12px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--mute);
}

.group {
  margin-bottom: 0;
}

.group + .group {
  margin-top: 36px;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}

.group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.group-head h3 {
  font-family: "PT Mono", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--paper);
}

.group-count {
  font-size: 13px;
  color: var(--paper);
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 18px;
}

.card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.card-photo {
  position: relative;
  border: 1px solid var(--rule);
  background: var(--panel);
}

.card-photo::after {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  background:
    linear-gradient(var(--rule-2), var(--rule-2)) left top / 8px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left top / 1px 8px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right top / 8px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right top / 1px 8px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left bottom / 8px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) left bottom / 1px 8px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right bottom / 8px 1px no-repeat,
    linear-gradient(var(--rule-2), var(--rule-2)) right bottom / 1px 8px no-repeat;
}

.card-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.card-body {
  display: grid;
  flex: 1;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  gap: 2px 8px;
  padding-top: 10px;
}

.pos {
  grid-column: 1;
  grid-row: 1;
  font-family: "PT Mono", "Courier New", monospace;
  font-size: 11px;
  line-height: 1.45;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.card-title {
  display: -webkit-box;
  grid-column: 2;
  grid-row: 1;
  min-height: 2.6em;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-title a {
  border-bottom-color: transparent;
}

.card-meta {
  align-self: end;
  grid-column: 2;
  grid-row: 2;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mute-2);
}

.empty-slot {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-height: 122px;
  padding: 22px 18px;
  border: 1px dashed var(--rule-2);
  background: rgba(27, 27, 27, 0.42);
}

.empty-mark {
  font-size: 22px;
  line-height: 1;
  color: var(--rule-2);
}

.empty-title {
  font-size: 15px;
  color: var(--mute);
}

.empty-note {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--mute);
}

/* What we do */

.cloud {
  font-size: 15px;
  line-height: 1.95;
}

.cloud .sep {
  padding: 0 9px;
  color: var(--accent-d);
}

/* Workshop */

.shop {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 36px;
  align-items: start;
}

.lead {
  max-width: 58ch;
  margin-bottom: 18px;
  font-size: 17px;
  line-height: 1.6;
}

.contacts {
  border-top: 1px solid var(--rule);
}

.contacts > div {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule);
}

.contacts dt {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.contacts dd {
  font-size: 13px;
  line-height: 1.5;
}

.shop-frame {
  margin-top: 18px;
}

.shop-frame img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Story page */

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
}

.crumbs a {
  color: var(--paper);
  border-bottom-color: var(--rule-2);
}

.crumbs span:last-child {
  color: var(--accent);
}

.story-head {
  padding-top: 28px;
  padding-bottom: 20px;
}

.story-head h1 {
  max-width: 22ch;
  font-size: clamp(30px, 4.6vw, 50px);
}

.story-sub {
  margin-top: 10px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-2);
}

.passport {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-bottom: 26px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
}

.passport li {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  min-height: 60px;
  padding: 10px 12px;
  background: var(--panel);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.passport-k {
  font-size: 11px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.passport-v {
  font-size: 13px;
  line-height: 1.35;
  color: var(--paper);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cover {
  margin-top: 24px;
}

.cover .photo-wrap img {
  width: 100%;
  height: auto;
}

.cover .figcap {
  padding-top: 10px;
  padding-bottom: 1px;
}

.callout-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 26px;
  margin-top: 16px;
}

.callout-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px solid var(--rule);
  font-family: "PT Mono", "Courier New", monospace;
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: 0.03em;
}

.callout-list .num {
  display: inline-flex;
  flex: 0 0 14px;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  line-height: 14px;
}

.story-flow {
  max-width: 820px;
}

.story-flow p {
  max-width: 68ch;
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.65;
}

.story-flow .inset {
  margin: 26px 0 30px;
}

.story-flow .inset .figcap {
  padding-bottom: 1px;
}

.inset-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 30px;
}

.inset-pair .inset {
  margin: 0;
}

.inset-pair img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.ttx {
  padding-top: 30px;
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--rule-2);
  background: var(--panel);
  table-layout: fixed;
  font-variant-numeric: tabular-nums;
}

.spec-table th,
.spec-table td {
  padding: 9px 14px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 32%;
  font-family: "PT Mono", "Courier New", monospace;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--mute);
}

.spec-table td {
  font-size: 14px;
  line-height: 1.5;
  color: var(--paper);
}

.footnote {
  margin-top: 10px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--mute);
}

.more {
  padding-top: 30px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
}

.mini-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  border-top: 1px solid var(--rule);
}

.mini {
  min-width: 0;
  border: 0;
  border-bottom: 1px solid var(--rule);
  background: transparent;
}

.mini a {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  height: 100%;
  padding: 10px 0;
  border-bottom: 0;
}

.mini img {
  width: 120px;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.mini-body {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 0;
}

.mini-num {
  align-self: center;
  grid-column: 1;
  grid-row: 1 / span 2;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.mini-title {
  display: -webkit-box;
  grid-column: 2;
  grid-row: 1;
  min-height: 2.6em;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.3;
  font-weight: 700;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-meta {
  display: block;
  grid-column: 2;
  grid-row: 2;
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--mute-2);
}

.back {
  margin-top: 26px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.back a {
  border-bottom-color: var(--rule-2);
}

/* Footer */

.site-footer {
  background: var(--panel);
  border-top: 1px solid var(--rule);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-top: 28px;
  padding-bottom: 24px;
}

.footer-grid p {
  margin-bottom: 5px;
  font-size: 13px;
  line-height: 1.5;
}

.footer-brand {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
}

.footer-small {
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--mute-2);
}

.footer-addr {
  color: var(--mute-2);
}

.footer-grid .label {
  margin-bottom: 8px;
}

.footer-bottom {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  padding-bottom: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

/* Tablet */

@media (max-width: 1024px) {
  .tape {
    grid-template-columns: 320px minmax(0, 1fr) 72px;
    gap: 20px;
  }

  .tape-body h3 {
    font-size: 20px;
  }

  .shop {
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
  }
}

@media (max-width: 900px) {
  .catalog {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .brands {
    position: static;
  }

  .brands ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--rule);
    border-top: 1px solid var(--rule);
  }

  .brands li + li {
    border-top: 0;
  }

  .brand {
    height: 100%;
    background: var(--panel);
  }

  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shop {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-frame {
    max-width: 540px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */

@media (max-width: 768px) {
  .wrap {
    padding-left: 20px;
    padding-right: 20px;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 14px;
  }

  .header-contacts {
    max-width: 320px;
    margin-left: 0;
    text-align: left;
  }

  .header-contacts .phones {
    white-space: normal;
  }

  .header-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
  }

  .header-mode {
    white-space: normal;
  }

  .page-intro {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .intro-side {
    text-align: left;
  }

  .tape {
    grid-template-columns: 320px minmax(0, 1fr) 62px;
    gap: 16px;
  }

  .tape-body h3 {
    font-size: 18px;
  }

  .tape-note {
    font-size: 14px;
  }

  .story-flow {
    max-width: none;
  }

  .inset-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .callout {
    display: none;
  }

  .filterbar {
    flex-wrap: wrap;
  }

  .tape {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .tape-frame {
    width: 100%;
    margin-top: 0;
  }

  .tape-num {
    position: absolute;
    top: 20px;
    right: 0;
    padding-left: 8px;
    background: var(--ink);
    font-size: 13px;
  }

  .grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .card-title {
    min-height: 0;
  }

  .card-meta {
    align-self: start;
  }

  .brands ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mini-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .passport {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .passport li:last-child {
    grid-column: 1 / -1;
  }

  .callout-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .shop-frame {
    max-width: none;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-mark {
    font-size: 26px;
  }

  .header-contacts .phones {
    font-size: 18px;
  }

  .story-head h1 {
    font-size: 30px;
  }

  .contacts > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }

  .passport li {
    white-space: normal;
  }

  .passport-v {
    white-space: normal;
  }

  .spec-table th {
    width: 42%;
    padding: 10px;
    font-size: 12px;
  }

  .spec-table td {
    padding: 10px;
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
}
