@font-face {
  font-family:"HelveticaNeueCyr";
  src:url("assets/HelveticaNeueCyr-Roman.woff2") format("woff2");
  font-style:normal;
  font-weight:400;
  font-display:swap;
}

@font-face {
  font-family:"HelveticaNeueCyr";
  src:url("assets/HelveticaNeueCyr-Medium.woff2") format("woff2");
  font-style:normal;
  font-weight:500;
  font-display:swap;
}

@font-face {
  font-family:"HelveticaNeueCyr";
  src:url("assets/HelveticaNeueCyr-Bold.woff2") format("woff2");
  font-style:normal;
  font-weight:600 900;
  font-display:swap;
}

:root {
  --ink:#000000;
  --muted:#404040;
  --paper:#ffffff;
  --tint:#f9f9f9;
  --line:#e9e9e9;
  --red:#d50f11;
  --sans:"HelveticaNeueCyr","Helvetica Neue",Arial,sans-serif;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:20px;
}

body {
  margin:0;
  color:var(--ink);
  background:var(--paper);
  font:1rem/1.55 var(--sans);
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

a,button,input,textarea {
  -webkit-tap-highlight-color:transparent;
}

button,input,textarea {
  font:inherit;
}

button {
  cursor:pointer;
}

a:focus-visible,button:focus-visible {
  outline:3px solid #024a99;
  outline-offset:4px;
}

p,h1,h2,h3 {
  margin:0;
}

.symbols {
  position:absolute;
  width:0;
  height:0;
  overflow:hidden;
}

.wrap {
  width:min(88.9%,1392px);
  margin-inline:auto;
}

.skip {
  position:fixed;
  top:-100px;
  background:white;
  padding:10px;
  z-index:9;
}

.skip:focus {
  top:0;
}

header {
  background:var(--paper);
  position:relative;
  z-index:2;
}

.header-row,.header-actions,nav,.brand,.phone,.hero-actions,.section-head,.footer-row,.contact-row {
  display:flex;
  align-items:center;
}

.header-row {
  min-height:80px;
  gap:26px;
  justify-content:space-between;
}

.brand img {
  display:block;
  width:clamp(145px,15vw,200px);
  height:auto;
}

.brand {
  gap:8px;
  line-height:1;
  white-space:nowrap;
}

nav {
  gap:clamp(18px,2.2vw,36px);
}

nav a,.phone,.btn {
  font-size:.9rem;
  font-weight:500;
}

.header-actions {
  gap:clamp(14px,2vw,30px);
}

.phone {
  gap:8px;
  white-space:nowrap;
}

.phone svg,.menu-toggle svg {
  width:16px;
  height:16px;
  stroke:currentColor;
  stroke-width:1.6;
  fill:none;
}

.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:12px 24px;
  line-height:1.3;
  border:1px solid transparent;
  border-radius:3px;
  transition:background .18s,color .18s;
}

.outline {
  border-color:#000000;
  min-height:40px;
  padding:9px 17px;
}

.outline:hover {
  background:var(--tint);
}

.primary {
  background:var(--ink);
  color:white;
}

.primary:hover {
  background:#323232;
}

.menu-toggle {
  display:none;
  background:none;
  border:0;
  padding:8px;
}

.menu-toggle svg {
  width:23px;
  height:23px;
}

.hero {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background:#323232;
  color:white;
}

.hero-image,.hero-shade {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  z-index:-1;
}

.hero-image {
  object-fit:cover;
  object-position:center 60%;
}

.hero-shade {
  background:linear-gradient(90deg,#000c 0%,#0009 25%,#0003 52%,transparent 84%);
}

.hero-inner {
  min-height:clamp(458px,35.7vw,620px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding-block:42px 44px;
}

.eyebrow,.meta {
  display:flex;
  align-items:center;
  gap:11px;
  font-size:.75rem;
  font-weight:600;
  line-height:1.5;
  letter-spacing:.145em;
  text-transform:uppercase;
  color:var(--red);
}

.eyebrow::before {
  content:"";
  display:inline-block;
  width:27px;
  height:2px;
  background:currentColor;
}

.hero-kicker {
  color:#ffffff;
}

.hero-kicker::before {
  background:#ff6262;
}

.hero h1,h2,h3 {
  font-family:var(--sans);
  font-weight:400;
}

.hero h1 {
  font-size:clamp(4.65rem,6.8vw,7.1rem);
  line-height:.98;
  letter-spacing:-.035em;
  margin:22px 0 18px;
}

.hero-description {
  color:#ffffff;
  font-size:clamp(1rem,1.17vw,1.16rem);
  line-height:1.54;
  max-width:435px;
  text-wrap:pretty;
}

.hero-actions {
  gap:27px;
  margin-top:25px;
}

.hero-link,.text-link {
  display:inline-block;
  border-bottom:1px solid currentColor;
  padding:2px 0;
  font-weight:500;
  font-size:.9rem;
}

.hero-link {
  border-color:#cccccc;
}

.text-link {
  color:var(--ink);
  border-color:#cccccc;
}

.text-link:hover,nav a:hover,.phone:hover {
  color:#6c6c6c;
}

.benefit-strip {
  background:var(--tint);
  border-bottom:1px solid var(--line);
}

.benefits {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  list-style:none;
  padding:23px 0;
  margin-block:0;
}

.benefits li {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:16px;
  padding:0 20px;
}

.benefits li+li {
  border-left:1px solid #cccccc;
}

.benefits li:first-child {
  justify-content:flex-start;
  padding-left:0;
}

.benefits svg {
  width:31px;
  height:31px;
  flex:none;
  color:var(--red);
  stroke:currentColor;
  fill:none;
  stroke-width:1.6;
  stroke-linejoin:round;
  stroke-linecap:round;
}

.benefits strong,.benefits span {
  display:block;
}

.benefits strong {
  font-size:.99rem;
  font-weight:600;
}

.benefits span {
  color:var(--muted);
  font-size:.86rem;
}

.section {
  padding-block:clamp(45px,4.7vw,82px);
}

h2 {
  font-size:clamp(2.3rem,3.5vw,3.9rem);
  line-height:1.08;
  letter-spacing:-.046em;
}

.section-head {
  justify-content:space-between;
  gap:20px;
  margin:10px 0 26px;
}

.categories {
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:clamp(14px,1.6vw,26px);
}

.category {
  display:block;
  min-width:0;
}

.category img {
  display:block;
  width:100%;
  aspect-ratio:1.45/1;
  object-fit:contain;
  padding:12px;
  background:#f9f9f9;
  border-radius:5px;
  transition:filter .25s;
}

.category:hover img {
  filter:brightness(.95);
}

.category:hover h3 {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}

.category>div {
  padding:13px 0 0;
}

.category h3 {
  font-size:1.65rem;
  line-height:1.17;
  letter-spacing:-.035em;
}

.category span,.project-list article>p:not(.meta),.factory p:not(.eyebrow):not(.factory-lead) {
  color:var(--muted);
}

.category span {
  font-size:.9rem;
}

.projects {
  background:var(--tint);
  border-block:1px solid var(--line);
}

.editorial {
  display:grid;
  grid-template-columns:1fr 1.58fr;
  gap:5%;
}

.editorial h2,.contact h2 {
  margin:13px 0 22px;
}

.project-list {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:30px;
}

.project-photo {
  display:block;
  width:100%;
  aspect-ratio:2.1;
  object-fit:cover;
  margin-bottom:18px;
  border-radius:3px;
}

.meta {
  font-size:.75rem;
  color:var(--muted);
  letter-spacing:.1em;
}

.project-list h3 {
  font-size:clamp(1.65rem,2.1vw,2.5rem);
  letter-spacing:-.045em;
  line-height:1.2;
  margin:8px 0 12px;
}

.project-list .text-link,.factory .text-link {
  margin-top:20px;
}

.factory-lead {
  font:400 clamp(1.5rem,2.1vw,2.2rem)/1.25 var(--sans);
  letter-spacing:-.025em;
  max-width:540px;
  margin:0 0 16px;
}

.factory p:not(.eyebrow) {
  max-width:640px;
}

.contact {
  background:#000000;
  color:#ffffff;
  padding:clamp(44px,5vw,84px) 0;
}

.contact-row {
  justify-content:space-between;
  gap:40px;
}

.contact .eyebrow {
  color:#ffffff;
}

.contact h2 {
  margin-bottom:15px;
}

.contact p:not(.eyebrow) {
  color:#f2f2f2;
}

.contact .btn {
  margin-top:22px;
}

.hero .primary, .contact .btn {
  background:var(--red);
  font-weight:600;
}

.hero .primary:hover, .contact .btn:hover {
  background:#ba1012;
}

.hero .primary:focus-visible, .contact .btn:focus-visible {
  outline-color:#ffffff;
}

.contact address {
  font-style:normal;
  border-left:1px solid #6c6c6c;
  padding:8px 0 8px 42px;
  display:grid;
  gap:5px;
}

.contact address span {
  color:#cccccc;
  font-size:.9rem;
}

.contact address a:first-of-type {
  font:400 clamp(1.6rem,2.4vw,2.6rem)/1.4 var(--sans);
  white-space:nowrap;
  letter-spacing:-.04em;
}

.contact address a:hover,.footer-row a:hover {
  text-decoration:underline;
}

footer {
  background:#000000;
  color:#cccccc;
  font-size:.85rem;
}

.footer-row {
  border-top:1px solid #404040;
  justify-content:space-between;
  padding:19px 0;
}

dialog {
  border:0;
  border-radius:7px;
  background:var(--paper);
  color:var(--ink);
  box-shadow:0 24px 80px #0004;
}

#quote {
  width:min(680px,calc(100% - 24px));
  max-height:94vh;
  max-height:94dvh;
  overflow:auto;
  padding:20px;
}

dialog::backdrop {
  background:#201e19a8;
}

.quote-heading {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:12px;
}

.quote-heading h2 {
  font-size:1.6rem;
}

.close {
  width:40px;
  height:40px;
  background:none;
  border:0;
  font-size:1.8rem;
  color:var(--muted);
}

#quote-frame {
  display:block;
  width:100%;
  height:min(590px,62vh);
  border:1px solid var(--line);
  margin-bottom:12px;
}

#catalog-dialog {
  width:min(1120px,calc(100% - 32px));
  height:min(860px,92dvh);
  max-height:92dvh;
  margin:auto;
  padding:18px 18px 16px;
  overflow:hidden;
}

#catalog-dialog[open] {
  display:flex;
  flex-direction:column;
}

.catalog-head {
  display:flex;
  flex-wrap:wrap;
  align-items:flex-start;
  gap:8px 16px;
  margin-bottom:14px;
}

.catalog-heading {
  flex:1;
  min-width:0;
}

.catalog-back {
  flex-basis:100%;
  order:-1;
  width:fit-content;
  background:none;
  border:0;
  padding:0 0 2px;
  color:var(--ink);
  font-weight:500;
  font-size:.9rem;
  border-bottom:1px solid #cccccc;
}

.catalog-back[hidden] {
  display:none;
}

.catalog-heading h2 {
  margin:6px 0 0;
  font-size:clamp(1.7rem,2.4vw,2.4rem);
  letter-spacing:-.04em;
}

.catalog-price {
  margin-top:6px;
  color:var(--muted);
  font-size:.95rem;
}

.catalog-body {
  min-height:0;
  overflow:auto;
  flex:1;
}

.catalog-status {
  margin:28px 8px;
  color:var(--muted);
}

.catalog-grid {
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px 14px;
  margin:0;
  padding:2px;
}

.catalog-card {
  display:block;
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  background:none;
  color:inherit;
  text-align:left;
}

.catalog-card img,.catalog-thumb img,.catalog-photo {
  background:#f9f9f9;
}

.catalog-card img {
  display:block;
  width:100%;
  aspect-ratio:1;
  object-fit:contain;
  border-radius:5px;
  padding:10px;
}

.catalog-card strong,.catalog-card span {
  display:block;
}

.catalog-card strong {
  margin-top:10px;
  font-size:1rem;
  font-weight:500;
  letter-spacing:-.02em;
  line-height:1.3;
  overflow-wrap:anywhere;
}

.catalog-card span {
  color:var(--muted);
  font-size:.86rem;
}

.catalog-card:hover strong {
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:4px;
}

.catalog-viewer {
  height:100%;
  min-height:0;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:12px;
}

.catalog-stage {
  position:relative;
  min-height:0;
  display:grid;
  place-items:center;
  background:#f9f9f9;
  border-radius:5px;
}

.catalog-photo {
  width:100%;
  height:100%;
  max-height:100%;
  object-fit:contain;
  padding:18px 64px;
}

.catalog-nav {
  position:absolute;
  top:50%;
  translate:0 -50%;
  width:42px;
  height:42px;
  border:0;
  border-radius:50%;
  background:#fff;
  color:var(--ink);
  box-shadow:0 8px 24px #0002;
}

.catalog-nav svg {
  width:18px;
  height:18px;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
}

.catalog-nav.prev {
  left:12px;
}

.catalog-nav.next {
  right:12px;
}

.catalog-count {
  position:absolute;
  left:14px;
  bottom:12px;
  margin:0;
  color:var(--muted);
  font-size:.82rem;
}

.catalog-thumbs {
  display:flex;
  gap:8px;
  overflow:auto;
  padding-bottom:2px;
}

.catalog-thumb {
  flex:none;
  width:72px;
  height:72px;
  padding:6px;
  border:1px solid transparent;
  border-radius:5px;
  background:#f9f9f9;
}

.catalog-thumb.is-active {
  border-color:var(--ink);
}

.catalog-thumb img {
  width:100%;
  height:100%;
  object-fit:contain;
}

@media(min-width:1600px) {
  .hero-inner {
    min-height:610px;
  }
}

@media(max-width:1150px) {
  .wrap {
    width:91%;
  }
  .categories {
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
  .header-row {
    gap:16px;
  }
  .header-actions {
    gap:15px;
  }
  nav {
    gap:18px;
  }
  .phone span {
    display:none;
  }
  .phone {
    padding:8px;
  }
  .header-row {
    min-height:72px;
  }
}

@media(max-width:800px) {
  .header-quote {
    display:none;
  }
  .benefits li {
    padding:0 12px;
    gap:10px;
  }
  .benefits strong {
    font-size:.9rem;
  }
  .benefits span {
    font-size:.8rem;
  }
  .benefits svg {
    width:26px;
  }
  .categories {
    grid-template-columns:repeat(2,minmax(0,1fr));
    row-gap:25px;
  }
  .editorial {
    grid-template-columns:.7fr 1fr;
  }
  .project-list {
    grid-template-columns:1fr;
    gap:24px;
  }
  .contact address {
    padding-left:22px;
  }
  .desktop {
    display:none;
  }
}

@media(max-width:640px) {
  .wrap {
    width:89%;
  }
  .header-row {
    min-height:66px;
  }
  .header-actions {
    gap:9px;
  }
  .phone svg {
    width:19px;
    height:19px;
  }
  .menu-toggle {
    display:grid;
    place-items:center;
  }
  nav {
    display:none;
  }
  nav.open {
    display:flex;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    align-items:stretch;
    flex-direction:column;
    gap:0;
    background:var(--paper);
    border-top:1px solid var(--line);
    box-shadow:0 12px 20px #28221e24;
    padding:.5rem 5.5% 1rem;
  }
  nav a {
    padding:10px 0;
  }
  .hero-inner {
    min-height:460px;
    padding-block:40px;
  }
  .hero-image {
    object-position:62% 50%;
  }
  .hero-shade {
    background:linear-gradient(90deg,#1b1713d9,#201a158c 62%,#241c1640);
  }
  .hero h1 {
    font-size:clamp(4.5rem,14vw,5.4rem);
    margin-block:20px;
  }
  .hero-description {
    max-width:335px;
  }
  .hero-actions {
    gap:18px;
    margin-top:24px;
  }
  .hero-actions .btn {
    padding-inline:17px;
  }
  .hero-actions a {
    font-size:.89rem;
  }
  .benefits {
    grid-template-columns:1fr;
    gap:0;
    padding-block:5px;
  }
  .benefits li,.benefits li:first-child {
    padding:11px 0;
    justify-content:flex-start;
    gap:14px;
  }
  .benefits li+li {
    border-left:0;
    border-top:1px solid var(--line);
  }
  .benefits li div {
    display:flex;
    flex-wrap:wrap;
    align-items:baseline;
    gap:2px 9px;
  }
  .benefits strong {
    font-size:.91rem;
  }
  .benefits span {
    font-size:.81rem;
  }
  .benefits svg {
    width:23px;
    height:23px;
  }
  .section {
    padding-block:42px;
  }
  .section-head {
    align-items:flex-start;
    flex-wrap:wrap;
    gap:10px;
    margin-bottom:20px;
  }
  .categories {
    gap:22px 13px;
  }
  .category>div {
    padding-top:8px;
  }
  .category h3 {
    font-size:1.45rem;
  }
  .category span {
    font-size:.83rem;
  }
  .category img {
    aspect-ratio:1.12;
  }
  .editorial,.contact-row {
    display:grid;
    grid-template-columns:1fr;
    gap:25px;
  }
  .editorial h2 br {
    display:none;
  }
  .editorial h2 br:after {
    content:" ";
  }
  .editorial h2 {
    margin-bottom:12px;
  }
  .contact address {
    border-left:0;
    border-top:1px solid #6c6c6c;
    padding:16px 0 0;
  }
  .eyebrow {
    font-size:.72rem;
  }
  .text-link {
    font-size:.88rem;
  }
  #quote {
    padding:29px 22px;
  }
}

@media(max-width:800px) {
  #catalog-dialog {
    width:calc(100% - 16px);
    height:94dvh;
    padding:14px 12px 12px;
  }
  .catalog-grid {
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px 10px;
  }
  .catalog-photo {
    padding-inline:52px;
  }
}

@media(max-width:640px) {
  .catalog-heading h2 {
    font-size:1.45rem;
  }
  .catalog-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
  .catalog-thumb {
    width:58px;
    height:58px;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  *,*::after,*::before {
    transition:none!important;
  }
}
