@font-face {
  font-family: Onest;
  src: url("assets/onest-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-024F, U+2000-206F;
}

@font-face {
  font-family: Onest;
  src: url("assets/onest-cyrillic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0400-052F, U+2116;
}

@font-face {
  font-family: Unbounded;
  src: url("assets/unbounded-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --page: #050505;
  --foreground: #f7f6f3;
  --soft: #c1c1bc;
  --gold: #c6a579;
  --price: #97e4a6;
  --pink: #ff91b9;
  --frame: min(calc(100% - 112px), 1260px);
  font: 16px/1.55 Onest, Arial, sans-serif;
  background: var(--page);
  color: var(--foreground);
}

* { box-sizing: border-box; }

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

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 5px;
}

.frame { width: var(--frame); margin-inline: auto; }

.site-header {
  z-index: 20;
  position: fixed;
  inset: 18px 0 auto;
  min-height: 55px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.1rem;
  padding: 5px 6px 5px 21px;
  background: #121212ed;
  border-radius: 999px;
  backdrop-filter: blur(12px);
  transition: transform .28s cubic-bezier(.22, 1, .36, 1), opacity .24s ease;
}

.site-header.is-hidden:not(:has(:focus-visible)) {
  transform: translateY(calc(-100% - 24px));
  opacity: 0;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transition: none; }
}

.wordmark {
  font-family: Unbounded, Arial, sans-serif;
  font-weight: 695;
  line-height: 1.15;
  letter-spacing: -.038em;
}

.wordmark span {
  display: inline-block;
  padding-inline: .04em;
  transform: skewX(-13deg);
}

.wordmark-small {
  font-size: 1.03rem;
  text-decoration: none;
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .15rem;
}

.site-header nav a {
  display: inline-flex;
  align-items: center;
  min-height: 41px;
  padding-inline: .85rem;
  border-radius: 999px;
  color: var(--soft);
  font-size: .88rem;
  text-decoration: none;
}

.site-header nav a:hover { background: #ffffff10; color: var(--foreground); }

.site-header .nav-telegram { color: var(--foreground); background: #ffffff12; }
.site-header .nav-telegram:hover { background: #ffffff20; }

html { overflow-x: clip; }

.stage {
  --intro-opacity: 1;
  --catalog-opacity: 1;
  --catalog-lift: 0px;
  --shade: 0;
  position: relative;
  padding-top: 120px;
  padding-bottom: 48px;
  isolation: isolate;
}

.stage-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 53% 34% at 60% 0%, #a8b7c320, transparent 86%);
  opacity: calc(1 - .63 * var(--shade));
}

.intro {
  text-align: center;
  padding: 0 15px;
}

.intro h1 {
  font-size: clamp(2.9rem, 9.2vw, 8.65rem);
}

.intro h1 span {
  color: #eff3f0;
  background: linear-gradient(180deg, #fff 20%, #edf1ed 64%, #cbcecc 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.intro p {
  color: var(--soft);
  font-size: clamp(.95rem, 1.55vw, 1.18rem);
  margin-top: .82rem;
}

.scroll-link {
  min-height: 46px;
  display: grid;
  place-items: center;
  margin: 1.6rem auto 3rem;
  padding-inline: 1.5rem;
  border-radius: 999px;
  background: #f0eeea;
  width: max-content;
  color: #141414;
  font-size: .89rem;
  font-weight: 640;
  text-decoration: none;
}

.scroll-link:hover { background: #fff; }

.catalog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .6rem 1rem;
  margin-bottom: 20px;
  scroll-margin-top: 95px;
}

h2 {
  font-size: clamp(1.7rem, 4vw, 3.05rem);
  font-weight: 630;
  letter-spacing: -.05em;
  line-height: 1.15;
}

.quiet-action {
  align-items: center;
  border-radius: 999px;
  background: #171717;
  display: inline-flex;
  min-height: 42px;
  padding: .5rem .95rem;
  text-decoration: none;
  font-size: .88rem;
  white-space: nowrap;
}

.quiet-action:hover { background: #232323; }

.products, .catalog-grid {
  --columns: 4;
  --gap: 16px;
  display: grid;
  grid-template-columns: repeat(var(--columns), minmax(0, 1fr));
  gap: var(--gap);
}

.catalog-grid {
  position: relative;
  z-index: 4;
  margin-top: var(--gap);
}

.catalog-grid .media { height: calc(var(--catalog-media-height) - var(--card-inset)); }

.catalog-grid .product-details {
  min-height: var(--catalog-caption-height, 76px);
}

.product {
  --tile-gutter: 8px;
  --card-inset: var(--tile-gutter);
  --popularity: 1;
  display: flex;
  flex-direction: column;
  padding: var(--card-inset) var(--card-inset) 0;
  background: #161616;
  min-width: 0;
  position: relative;
  border-radius: 22px;
  overflow: hidden;
}

.media {
  position: relative;
  flex: none;
  height: auto;
  aspect-ratio: .85;
  border-radius: 15px;
  overflow: hidden;
}

.media img, .media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.hero-clip {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  overflow: hidden;
  border-radius: inherit;
  clip-path: inset(0 round var(--media-radius, 15px));
  isolation: isolate;
  background: linear-gradient(#0009, #0009), var(--hero-wash) center / cover no-repeat, #111;
}

.hero-clip video { opacity: 0; }
.hero-clip.is-playing video { opacity: 1; }

.product-details {
  --label-top: .54rem;
  --label-bottom: .68rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: .16rem;
  padding: var(--label-top) .52rem var(--label-bottom);
  min-height: 76px;
}

.product-details h3 {
  color: #e7e5e3;
  font-size: .94rem;
  font-weight: 510;
  line-height: 1.25;
}

.product-price {
  display: block;
  color: var(--price);
  font-size: 1.04rem;
  font-weight: 640;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.product-price-request { color: var(--soft); font-size: .86rem; font-weight: 500; }

.product-prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: .12rem .45rem;
  font-variant-numeric: tabular-nums;
}

.product-prices .product-price,
.product-reference-price { white-space: nowrap; }

.product-reference-price {
  color: #e78a91;
  font-size: .78rem;
  font-weight: 530;
  line-height: 1.15;
  text-decoration-thickness: 1px;
}

.product-popular {
  box-shadow: 0 0 33px -2px rgb(243 90 155 / calc(.29 * var(--popularity)));
}

@media (prefers-reduced-motion: no-preference) {
  .is-enhanced.catalog-visible .products .product-popular,
  .catalog-grid .product-popular {
    animation: popular-drift 6.8s ease-in-out infinite alternate;
  }

  .is-enhanced.catalog-visible .products .product-popular:nth-child(even),
  .catalog-grid .product-popular:nth-child(even) { animation-delay: -3.4s; }
}

@keyframes popular-drift {
  from { translate: 0 0; }
  to { translate: 0 -2px; }
}

.product-tag {
  position: absolute;
  z-index: 2;
  top: 8px;
  left: 8px;
  padding: .28rem .56rem;
  border-radius: 999px;
  background: var(--pink);
  color: #27111a;
  font-size: .71rem;
  font-weight: 680;
  line-height: 1.1;
  opacity: var(--popularity);
}

.more-products {
  grid-column: 1 / -1;
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .8rem 1.15rem;
  border-radius: 23px;
  background: #141414;
  text-decoration: none;
}

.more-products:hover { background: #1b1b1b; }

.more-products-label { display: grid; gap: .22rem; }
.more-products-label strong { font-size: 1.1rem; font-weight: 580; line-height: 1.2; }
.more-products-label span { color: var(--soft); font-size: .88rem; }

.more-products-action {
  margin-left: auto;
  padding: .48rem .75rem;
  border-radius: 999px;
  background: #ffffff13;
  font-size: .88rem;
  font-weight: 550;
}

.more-products:hover .more-products-action { background: #ffffff20; }

.showcase.is-enhanced {
  --stage-height: max(625px, 100svh);
  --scroll-distance: 630px;
}

.is-enhanced .showcase-scroll {
  height: calc(var(--stage-height) + var(--scroll-distance));
}

.is-enhanced .catalog-grid { margin-top: var(--continuation-offset, 0px); }

.is-enhanced .stage {
  position: sticky;
  top: 0;
  height: var(--stage-height);
  padding: 0;
}

.is-enhanced .intro {
  position: absolute;
  z-index: 5;
  top: min(47%, 47svh);
  left: 0;
  width: 100%;
  transform: translateY(calc(-50% - 35px * var(--shade)));
  opacity: var(--intro-opacity);
  pointer-events: none;
}

.is-enhanced .scroll-link {
  position: absolute;
  z-index: 6;
  bottom: max(4.3%, calc(var(--stage-height) - 100svh + 16px));
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
  opacity: var(--intro-opacity);
}

.is-enhanced .catalog-heading {
  position: absolute;
  z-index: 4;
  top: var(--catalog-y, 120px);
  left: 50%;
  transform: translate(-50%, var(--catalog-lift));
  opacity: var(--catalog-opacity);
  pointer-events: none;
  visibility: hidden;
}

.is-enhanced.catalog-visible .catalog-heading { visibility: visible; pointer-events: auto; }
.is-enhanced.catalog-visible .scroll-link { visibility: hidden; }

.is-enhanced .products {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  display: block;
  pointer-events: none;
}

.is-enhanced .products .product {
  --card-inset: calc(var(--tile-gutter) * var(--catalog-opacity));
  --popularity: var(--catalog-opacity);
  position: absolute;
  transform: var(--card-transform);
  width: var(--w);
  height: calc(var(--media-height) + var(--caption-height));
  background: rgb(22 22 22 / var(--catalog-opacity));
  pointer-events: auto;
  contain: strict;
}

.is-enhanced .products .product-tag { visibility: hidden; }
.is-enhanced.catalog-visible .products .product-tag { visibility: visible; }

.is-enhanced .products .media {
  --media-radius: calc(15px + 9px * (1 - var(--catalog-opacity)));
  height: calc(var(--media-height) - var(--card-inset));
  aspect-ratio: auto;
  border-radius: var(--media-radius);
}

.is-enhanced.hero-media-only .products .media:has(> .hero-clip) > img {
  visibility: hidden;
}

.is-enhanced:not(.catalog-visible) .products .hero-clip {
  display: block;
  opacity: var(--hero-video-opacity, 1);
}

.is-enhanced .products .product-details {
  flex: none;
  opacity: var(--catalog-opacity);
  height: var(--caption-height);
  padding-block: calc(var(--label-top) * var(--catalog-opacity)) calc(var(--label-bottom) * var(--catalog-opacity));
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
}

.is-enhanced.catalog-visible .products .product-details { visibility: visible; }

.after-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem clamp(35px, 7vw, 105px);
  padding-block: clamp(55px, 8vw, 110px) 2rem;
  scroll-margin-top: 86px;
}

.after-showcase h2 { font-size: clamp(1.7rem, 3.15vw, 2.45rem); }

.contact-list {
  display: grid;
  gap: .55rem;
  list-style: none;
  padding: 0;
  margin-top: 1.35rem;
}

.contact-link {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .65rem;
  padding: .65rem .95rem;
  border-radius: 22px;
  background: #131313;
  text-decoration: none;
}

.contact-link:hover { background: #1c1c1c; }
.contact-network { font-weight: 560; }
.contact-account { color: var(--soft); font-size: .86rem; }

.social-icon { display: block; border-radius: 24%; }
.social-icon.tiktok { clip-path: circle(47%); }
.social-icon.telegram { border-radius: 50%; }
.social-icon.avito {
  mask-image:
    radial-gradient(ellipse 16% 16% at 30.3% 30.3%, #000 98%, transparent 100%),
    radial-gradient(ellipse 12.6% 12.6% at 66.8% 30.3%, #000 98%, transparent 100%),
    radial-gradient(ellipse 9.2% 9.2% at 30.3% 66.8%, #000 98%, transparent 100%),
    radial-gradient(ellipse 19.5% 19.5% at 66.8% 66.8%, #000 98%, transparent 100%);
}

.contact-aside { display: grid; align-content: start; gap: .75rem; }

.channel-qr {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: .75rem;
  padding: .65rem .65rem .65rem 1rem;
  border-radius: 22px;
  background: #0e0e0e;
  text-decoration: none;
}

.channel-qr:hover { background: #151515; }

.channel-qr-copy { display: grid; justify-items: start; gap: .55rem; }

.channel-qr-title {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .93rem;
  font-weight: 570;
  line-height: 1.2;
}

.channel-qr-title .social-icon { flex: 0 0 24px; }

.channel-qr-action {
  padding: .38rem .74rem;
  border-radius: 999px;
  background: #ffffff12;
  font-size: .8rem;
  white-space: nowrap;
}

.channel-qr:hover .channel-qr-action { background: #ffffff20; }

.channel-qr-code {
  display: block;
  width: clamp(110px, 10.5vw, 134px);
  height: auto;
  padding: 9px;
  border-radius: 12px;
  background: #fff;
}

.review {
  padding: clamp(1rem, 3vw, 1.55rem);
  border-radius: 24px;
  background: #131313;
}

.review h2 { font-size: clamp(1.25rem, 2.2vw, 1.65rem); }
.review p { color: var(--soft); margin-top: .65rem; max-width: 32rem; }
.review .stars {
  display: inline-block;
  margin-bottom: .85rem;
  padding: .3rem .66rem;
  border-radius: 999px;
  background: #c6a57917;
  color: var(--gold);
  -webkit-text-stroke: .55px currentcolor;
  font-size: .92rem;
  line-height: 1;
}

.site-footer {
  padding-block: 1rem 2rem;
  color: var(--soft);
  font-size: .9rem;
}

@media (max-width: 850px) {
  :root { --frame: calc(100% - 60px); }
}

@media (max-width: 699px) {
  :root { --frame: calc(100% - 34px); }
  .site-header {
    inset-block-start: 10px;
    min-height: 49px;
    gap: .2rem;
    padding-inline: 13px 5px;
    background: #141414;
    backdrop-filter: none;
  }
  .wordmark-small { font-size: .85rem; }
  .site-header nav { gap: 0; }
  .site-header nav a { min-height: 36px; padding-inline: .48rem; font-size: .79rem; }
  .intro h1 { font-size: clamp(2.6rem, 11vw, 4.7rem); }
  .after-showcase { grid-template-columns: 1fr; }
  .products, .catalog-grid { --columns: 2; --gap: 10px; }
  .product { --tile-gutter: 6px; border-radius: 20px; }
  .more-products { border-radius: 20px; }
  .showcase.is-enhanced { --scroll-distance: 520px; }
  .is-enhanced .intro { top: min(46%, 46svh); }
  .product-details { --label-top: .45rem; --label-bottom: .55rem; padding-inline: .4rem; }
  .product-details h3 { font-size: .83rem; }
  .product-price { font-size: .95rem; }
}

@media (max-width: 350px) {
  .site-header nav a { padding-inline: .33rem; font-size: .73rem; }
}
