/* =========================================================
   D3Lab — демонстрационная витрина студии 3D-печати.
   Стилистика: минимализм, крупная типографика, тёмная витрина.
   Все бренды, цены и тексты вымышлены.
   ========================================================= */

:root {
  --black: #000;
  --near-black: #0a0a0c;
  --light: #f5f5f7;
  --white: #fff;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --amber: #ff9d4d;
  --plum: #7d5cff;
  --teal: #2fbfa0;

  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --card-r: 28px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }

::selection { background: #7d5cff; color: #fff; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff; color: #000;
  font-size: 14px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus-visible { top: 12px; }

/* ======================= NAV ======================= */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: 48px;
  background: rgba(8, 8, 10, .55);
  backdrop-filter: saturate(180%) blur(22px);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: background .35s var(--ease);
}

.nav__inner {
  max-width: 1120px;
  height: 100%;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -.02em;
  flex: none;
}

.nav__links {
  display: flex;
  flex: 1;
  justify-content: center;
  gap: 26px;
}

.nav__links a {
  font-size: 12.5px;
  color: rgba(255, 255, 255, .82);
  padding: 6px 0;
  transition: color .2s;
}
.nav__links a:hover { color: #fff; }

.nav__tools { display: flex; align-items: center; gap: 4px; flex: none; }

.icon-btn {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, .82);
  cursor: pointer;
  transition: background .2s, color .2s;
}
.icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.nav__burger { display: none; flex-direction: column; gap: 5px; }
.nav__burger span {
  display: block;
  width: 16px; height: 1.5px;
  background: currentColor;
  transition: transform .3s var(--ease);
}
body.menu-open .nav__burger span:first-child { transform: translateY(3.25px) rotate(45deg); }
body.menu-open .nav__burger span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 48px 0 0 0;
  z-index: 90;
  background: rgba(10, 10, 12, .94);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  padding: 26px 26px 40px;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.is-open { opacity: 1; transform: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu a {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -.03em;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

/* ======================= HERO ======================= */

.hero {
  position: relative;
  min-height: 100svh;
  padding: 82px 22px 42px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 0%, #17131f 0%, transparent 70%),
    #000;
}

.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  pointer-events: none;
  animation: floatGlow 16s ease-in-out infinite alternate;
}
.hero__glow--a {
  width: 620px; height: 620px;
  top: -14%; left: 0;
  background: radial-gradient(circle, rgba(255, 138, 61, .55), transparent 68%);
}
.hero__glow--b {
  width: 600px; height: 600px;
  right: -6%; bottom: -10%;
  background: radial-gradient(circle, rgba(125, 92, 255, .6), transparent 68%);
  animation-delay: -8s;
}

@keyframes floatGlow {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(28px, -22px, 0) scale(1.12); }
}

.hero__copy { position: relative; z-index: 2; }

.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .55);
  margin-bottom: 14px;
}
.eyebrow--dark { color: rgba(0, 0, 0, .45); }

.hero__title {
  font-size: clamp(50px, 8.4vw, 112px);
  line-height: .96;
  font-weight: 600;
  letter-spacing: -.05em;
  background: linear-gradient(180deg, #fff 25%, #c9c0e4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__tagline {
  margin-top: 14px;
  font-size: clamp(18px, 2.1vw, 25px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: #d8d3e8;
}

.hero__price {
  margin-top: 10px;
  font-size: 13px;
  color: rgba(255, 255, 255, .5);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  margin-top: 20px;
}

.cta {
  font-size: 16px;
  font-weight: 500;
  color: #ffb27a;
  transition: opacity .2s;
}
.cta span { display: inline-block; transition: transform .25s var(--ease); }
.cta:hover { opacity: .8; }
.cta:hover span { transform: translateX(3px); }

.cta--ghost { color: #fff; }
.cta--dark { color: #0a66c2; }
.cta--ghost-dark { color: #1d1d1f; }
.cta-row--dark { justify-content: center; }

.hero__stage {
  --s: .8;
  position: relative;
  z-index: 2;
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- 3D-принтер ---------- */

.printer {
  position: relative;
  width: 440px;
  height: 500px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 30px;
  background:
    linear-gradient(155deg, #5e5e69 0%, #2f2f38 16%, #191920 42%,
                    #23232b 62%, #3a3a45 82%, #62626e 100%);
  box-shadow:
    0 60px 100px -40px rgba(0, 0, 0, .95),
    0 0 90px -26px rgba(255, 157, 77, .35),
    inset 0 0 0 1px rgba(255, 255, 255, .22),
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 -14px 28px rgba(0, 0, 0, .65);
  transform: scale(var(--s));
  transform-origin: center;
  animation: printerFloat 10s ease-in-out infinite;
  margin-block: calc((var(--s) - 1) * 250px);
}

/* ручка дверцы */
.printer::after {
  content: "";
  position: absolute;
  right: 6px; top: 40%;
  width: 5px; height: 56px;
  border-radius: 3px;
  background: linear-gradient(180deg, #7f7f8c, #3a3a44 50%, #6e6e7a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(0, 0, 0, .4);
  z-index: 6;
}

@keyframes printerFloat {
  0%, 100% { transform: scale(var(--s)) translateY(0); }
  50%      { transform: scale(var(--s)) translateY(-12px); }
}

.printer__chamber {
  position: relative;
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  background:
    radial-gradient(75% 60% at 50% 62%, rgba(255, 157, 77, .12), transparent 70%),
    radial-gradient(90% 70% at 50% 10%, rgba(125, 92, 255, .16), transparent 72%),
    linear-gradient(180deg, #17171f 0%, #09090e 60%, #050509 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, .12),
    inset 0 16px 40px rgba(0, 0, 0, .9),
    inset 0 -2px 0 rgba(255, 255, 255, .06);
}
.printer__chamber::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(118deg,
      rgba(255, 255, 255, .1) 0%,
      rgba(255, 255, 255, .02) 22%,
      transparent 40%,
      transparent 76%,
      rgba(255, 255, 255, .06) 100%);
}

.printer__led {
  position: absolute;
  top: 10px; left: 18%;
  width: 64%; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, transparent, #8ab4ff, #d68bff, #ffb27a, transparent);
  filter: blur(.6px);
  box-shadow: 0 0 14px rgba(150, 130, 255, .8);
  z-index: 3;
}

.printer__rod {
  position: absolute;
  top: 9%; bottom: 4%;
  width: 5px;
  border-radius: 3px;
  background: linear-gradient(90deg, #4d4d59, #d2d2dd 45%, #6a6a76);
  opacity: .55;
  z-index: 1;
}
.printer__rod--l { left: 9%; }
.printer__rod--r { right: 9%; }

.printer__glow {
  position: absolute;
  left: 50%; bottom: 70px;
  width: 250px; height: 230px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(150, 120, 255, .3), transparent 68%);
  filter: blur(18px);
  z-index: 1;
}

.printer__vat {
  position: absolute;
  left: 4%; right: 4%; bottom: 0;
  height: 88px;
  border-radius: 3px 3px 12px 12px;
  background:
    linear-gradient(180deg, rgba(255, 175, 105, .18) 0%, rgba(190, 76, 22, .4) 48%, rgba(90, 32, 6, .72) 100%);
  border: 1px solid rgba(255, 190, 140, .28);
  box-shadow:
    inset 0 0 36px rgba(255, 140, 60, .38),
    0 -8px 26px rgba(255, 140, 60, .2);
  z-index: 2;
}
.printer__vat span {
  position: absolute;
  top: -9px; left: -1px; right: -1px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(60% 100% at 50% 28%, #ffd9ae 0%, #f09040 52%, #a34a12 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, .45),
    0 0 26px rgba(255, 150, 70, .55);
}

.printer__plate {
  position: absolute;
  left: 50%; bottom: 124px;
  width: 216px; height: 10px;
  transform: translateX(-50%);
  border-radius: 4px;
  background: linear-gradient(180deg, #d3d3de 0%, #8c8c99 40%, #4b4b57 100%);
  box-shadow:
    0 7px 14px rgba(0, 0, 0, .65),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  z-index: 3;
}
.printer__plate::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px; top: -3px;
  height: 3px;
  border-radius: 2px;
  background: rgba(255, 255, 255, .28);
}

.printer__figure {
  position: absolute;
  left: 50%; bottom: 9px;
  width: 126px;
  transform: translateX(-50%);
  filter: drop-shadow(0 12px 16px rgba(0, 0, 0, .55));
}
.printer__figure svg { width: 100%; height: auto; }

.printer__foot {
  flex: none;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, #2c2c35 0%, #17171d 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 -6px 14px rgba(0, 0, 0, .6);
}

.printer__brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .45);
}

.printer__screen {
  width: 78px; height: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  background: #05050a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), 0 0 18px rgba(255, 157, 77, .18);
}
.printer__screen b {
  font-size: 11px;
  font-weight: 600;
  color: #ffd3a8;
  letter-spacing: .04em;
}
.printer__screen i {
  width: 50px; height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ff9d4d 67%, rgba(255, 255, 255, .16) 67%);
}

.stage__reflection {
  width: 360px;
  height: 26px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(125, 92, 255, .45), transparent 70%);
  filter: blur(12px);
}

.scroll-hint {
  position: absolute;
  left: 50%; bottom: 18px;
  transform: translateX(-50%);
  width: 22px; height: 36px;
  border: 1.5px solid rgba(255, 255, 255, .26);
  border-radius: 12px;
  z-index: 3;
}
.scroll-hint span {
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .8);
  animation: scrollHint 1.8s ease-in-out infinite;
}
@keyframes scrollHint {
  0% { opacity: 0; transform: translateY(0); }
  30% { opacity: 1; }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ======================= GRID / TILES ======================= */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  background: var(--near-black);
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-height: 600px;
  padding: 44px 34px 30px;
  border-radius: var(--card-r);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.tile--wide { grid-column: span 2; min-height: 660px; }
.tile--light { background: var(--light); color: var(--ink); }
.tile--dark {
  background: radial-gradient(120% 90% at 50% 0%, #1c1c22 0%, #0a0a0d 62%);
}
.tile--mini {
  background: radial-gradient(110% 80% at 50% 0%, #1a1a2a 0%, #08080d 66%);
}
.tile--resin {
  background:
    radial-gradient(90% 70% at 50% 0%, #4a2408 0%, transparent 62%),
    linear-gradient(180deg, #1c0f05, #0a0503);
}
.tile--photo { background: linear-gradient(170deg, #ffffff 0%, #f1f0f4 100%); }
.tile--paint {
  background: linear-gradient(170deg, #f8f6fb 0%, #eeeaf4 100%);
  color: var(--ink);
}

.tile--workshop {
  background:
    radial-gradient(80% 100% at 88% 90%, rgba(255, 157, 77, .35) 0%, transparent 55%),
    radial-gradient(90% 100% at 8% 0%, rgba(125, 92, 255, .45) 0%, transparent 58%),
    linear-gradient(160deg, #100a25, #06030c);
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  justify-items: start;
  text-align: left;
  padding: 54px 56px;
  min-height: 620px;
}

.tile__copy { position: relative; z-index: 3; max-width: 560px; }
.tile__copy--left { justify-self: start; }

.tile__title {
  font-size: clamp(32px, 4.2vw, 50px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -.035em;
}
.tile__title--sm { font-size: clamp(28px, 3.4vw, 40px); }

.tile__sub {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: rgba(255, 255, 255, .62);
  max-width: 420px;
  margin-inline: auto;
}
.tile--light .tile__sub,
.tile--photo .tile__sub,
.tile--paint .tile__sub { color: rgba(0, 0, 0, .55); }

/* ---------- Общие фигурки ---------- */

.fig { width: 104px; height: auto; }

.tile--light .fig,
.tile--photo .fig,
.tile--paint .fig {
  filter: drop-shadow(0 16px 22px rgba(58, 38, 92, .28));
}

/* ---------- Коллекция на полке ---------- */

.shelf-art {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  max-width: 660px;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: clamp(20px, 4.4vw, 52px);
  padding-bottom: 34px;
}

.fig-pedestal {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.fig-pedestal::before {
  content: "";
  position: absolute;
  left: 50%; bottom: -6px;
  width: 150%; height: 70%;
  transform: translateX(-50%);
  border-radius: 50%;
  filter: blur(22px);
  z-index: -1;
}
.fig-pedestal--1::before { background: radial-gradient(circle, rgba(125, 92, 255, .4), transparent 68%); }
.fig-pedestal--2::before { background: radial-gradient(circle, rgba(255, 157, 77, .38), transparent 68%); }
.fig-pedestal--3::before { background: radial-gradient(circle, rgba(47, 191, 160, .35), transparent 68%); }

.fig-pedestal::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -9px;
  width: 96%; height: 18px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(70, 50, 110, .24), transparent 72%);
  filter: blur(4px);
}

.fig--astro { width: clamp(104px, 10vw, 148px); }
.fig--cat { width: clamp(94px, 9vw, 134px); }
.fig--robot { width: clamp(100px, 9.6vw, 142px); }

.shelf-art__line {
  position: absolute;
  left: 6%; right: 6%; bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, .18), transparent);
}
.shelf-art__line::after {
  content: "";
  position: absolute;
  left: 6%; right: 6%; bottom: -14px;
  height: 22px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(60, 40, 90, .16), transparent 70%);
  filter: blur(6px);
}

/* ---------- Смолы ---------- */

.bottles {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 18px;
  height: 230px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 22px;
}

.bottles__glow {
  position: absolute;
  left: 50%; bottom: 0;
  width: 340px; height: 220px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 157, 77, .32), transparent 66%);
  filter: blur(22px);
}

.bottle {
  position: relative;
  width: 58px;
  border-radius: 16px 16px 22px 22px;
  box-shadow:
    inset 2px 2px 6px rgba(255, 255, 255, .55),
    inset -4px -6px 14px rgba(0, 0, 0, .45),
    0 18px 26px rgba(0, 0, 0, .45);
}
.bottle::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(100deg,
      rgba(255, 255, 255, .5) 0%,
      rgba(255, 255, 255, .06) 26%,
      transparent 42%,
      transparent 72%,
      rgba(255, 255, 255, .2) 100%);
}
.bottle--amber {
  height: 176px;
  background: linear-gradient(180deg, #ffd9a8 0%, #ff9d4d 32%, #c2571a 100%);
}
.bottle--plum {
  height: 208px;
  background: linear-gradient(180deg, #e0d3ff 0%, #8d6bff 32%, #4a2bb8 100%);
}
.bottle--teal {
  height: 160px;
  background: linear-gradient(180deg, #c8fff4 0%, #34c3a4 32%, #127a66 100%);
}

.bottle__cap {
  position: absolute;
  top: -15px; left: 50%;
  width: 22px; height: 17px;
  transform: translateX(-50%);
  border-radius: 5px 5px 3px 3px;
  background: linear-gradient(180deg, #e7e7ef, #9a9aa8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7);
}
.bottle__label {
  position: absolute;
  left: 50%; top: 44%;
  width: 40px; height: 46px;
  transform: translateX(-50%);
  border-radius: 6px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
}
.bottle__label::before,
.bottle__label::after {
  content: "";
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  border-radius: 2px;
  background: rgba(30, 20, 40, .35);
}
.bottle__label::before { top: 12px; }
.bottle__label::after { top: 20px; right: 16px; }

/* ---------- Мини-принтер ---------- */

.mini-printer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  width: 100%;
  height: 300px;
}
.printer--mini {
  position: absolute;
  left: 50%; bottom: 6px;
  transform: translateX(-50%) scale(.54);
  transform-origin: bottom center;
  animation: none;
  margin: 0;
}

/* ---------- Печать по фото ---------- */

.photo-flow {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  height: 270px;
}

.polaroid {
  width: 128px;
  padding: 9px 9px 26px;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 30px rgba(50, 35, 80, .22), 0 0 0 1px rgba(0, 0, 0, .05);
  transform: rotate(-5deg);
}
.polaroid__img {
  overflow: hidden;
  border-radius: 3px;
  background: #d8d2e6;
}
.polaroid__caption {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-style: italic;
  color: #8b8794;
}
.polaroid__img svg { width: 100%; height: auto; }

.photo-flow__arrow {
  position: relative;
  width: 74px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 0, 0, .18), rgba(125, 92, 255, .8));
}
.photo-flow__arrow::after {
  content: "";
  position: absolute;
  right: -2px; top: 50%;
  width: 10px; height: 10px;
  transform: translateY(-50%) rotate(45deg);
  border-top: 2px solid #7d5cff;
  border-right: 2px solid #7d5cff;
}
.photo-flow__arrow span {
  position: absolute;
  top: -3px; left: 0;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #7d5cff;
  box-shadow: 0 0 0 4px rgba(125, 92, 255, .16);
  animation: flowDot 2.6s ease-in-out infinite;
}
@keyframes flowDot {
  0% { transform: translateX(0); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: translateX(64px); opacity: 0; }
}
.fig--result { width: 118px; }

/* ---------- Покраска ---------- */

.paint-art {
  position: relative;
  z-index: 2;
  margin-top: auto;
  margin-bottom: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.paint-art::before {
  content: "";
  position: absolute;
  left: 50%; top: 6px;
  width: 240px; height: 240px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: conic-gradient(from 200deg, #ffc2d4, #ffe0b0, #d6c9ff, #bff5e6, #ffc2d4);
  filter: blur(28px);
  opacity: 1;
  z-index: -1;
}
.paint-art::after {
  content: "";
  position: absolute;
  right: 4%; bottom: 18%;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffb03a, transparent 68%);
  filter: blur(24px);
  opacity: .55;
  z-index: -1;
}
.fig--bust { width: 144px; }

.palette {
  display: flex;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(50, 35, 80, .16);
}
.palette span {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--c);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .25), inset 0 2px 4px rgba(255, 255, 255, .35);
}

/* ---------- Мастерская: ваза из слоёв ---------- */

.layer-vase {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 100%;
  max-width: 340px;
  height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 30px;
}

.layer-vase__glow {
  position: absolute;
  left: 50%; bottom: 40px;
  width: 320px; height: 300px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 157, 77, .3), transparent 65%);
  filter: blur(26px);
}

.layer-vase__stack {
  position: relative;
  width: min(300px, 100%);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 3px;
}
.layer-vase__stack i {
  display: block;
  width: var(--w);
  max-width: 100%;
  height: 11px;
  border-radius: 4px;
  background: linear-gradient(90deg, #5b3fd6 0%, #b18cff 45%, #ffb27a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .5),
    0 0 10px rgba(150, 110, 255, .25);
}
.layer-vase__plate {
  position: relative;
  width: 260px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: radial-gradient(50% 100% at 50% 0%, #b9b9c8, #4a4a58);
  box-shadow: 0 18px 30px rgba(0, 0, 0, .7);
}
.layer-vase__plate::after {
  content: "";
  position: absolute;
  left: 10%; right: 10%; top: 100%;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 0%, rgba(255, 157, 77, .35), transparent 70%);
  filter: blur(8px);
}

/* ======================= CAROUSEL ======================= */

.shelf {
  padding: 88px 0 92px;
  background: var(--white);
  color: var(--ink);
  overflow: hidden;
}

.shelf__head {
  max-width: 1120px;
  margin: 0 auto 30px;
  padding: 0 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}
.shelf__title {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  letter-spacing: -.035em;
}
.shelf__nav { display: flex; gap: 8px; }

.round-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border: 0;
  border-radius: 50%;
  background: #e8e8ed;
  color: #1d1d1f;
  cursor: pointer;
  transition: background .2s, transform .15s;
}
.round-btn:hover { background: #dcdce2; }
.round-btn:active { transform: scale(.94); }
.round-btn:disabled { opacity: .35; cursor: default; }

.shelf__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 22px;
  padding: 6px 22px 18px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.shelf__track::-webkit-scrollbar { display: none; }
.shelf__track:focus-visible { outline: 2px solid #7d5cff; outline-offset: 2px; }

.card {
  position: relative;
  flex: 0 0 340px;
  height: 460px;
  padding: 26px;
  border-radius: 24px;
  overflow: hidden;
  scroll-snap-align: start;
  color: #fff;
  background: #0d0d12;
  display: flex;
  flex-direction: column;
  transition: transform .35s var(--ease);
}
.card:hover { transform: translateY(-4px); }

.card__art {
  position: absolute;
  inset: 84px 0 52px;
  display: grid;
  place-items: center;
  pointer-events: none;
}
.card__art .fig {
  width: 200px;
  transition: transform .5s var(--ease);
  filter: drop-shadow(0 22px 30px rgba(0, 0, 0, .5));
}
.card:hover .card__art .fig { transform: translateY(-6px) scale(1.03); }

.card__kicker {
  position: relative;
  z-index: 2;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .6);
}
.card h3 {
  position: relative;
  z-index: 2;
  margin-top: 6px;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -.03em;
}
.card__price {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-size: 14px;
  color: rgba(255, 255, 255, .72);
}

.card--astro { background: radial-gradient(120% 95% at 25% 8%, #5a3bd6 0%, #0b0a16 62%); }
.card--cat { background: radial-gradient(120% 95% at 75% 10%, #0d6b7a 0%, #061014 62%); }
.card--robot { background: radial-gradient(120% 95% at 30% 0%, #8a4a12 0%, #170d05 62%); }
.card--bust { background: radial-gradient(120% 95% at 65% 8%, #6c3f7a 0%, #120814 62%); }
.card--mini { background: radial-gradient(120% 95% at 50% 0%, #243a6b 0%, #070a12 62%); }
.card--resin { background: radial-gradient(120% 95% at 50% 10%, #4a3208 0%, #100a04 62%); }

.card__art--printer { inset: 76px 0 48px; }
.printer--card {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(.4);
  transform-origin: center;
  animation: none;
  margin: 0;
}

.card__art--bottles {
  inset: auto 0 40px;
  height: 240px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
}
.card__art--bottles .bottle { transform: scale(.86); transform-origin: bottom center; }

/* ======================= FEATURES ======================= */

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 88px 22px;
  color: var(--ink);
  background: var(--white);
}

.feature { text-align: left; }
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 14px;
  background: #f4eefc;
  color: #7d5cff;
  margin-bottom: 18px;
}
.feature h3 {
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -.02em;
}
.feature p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
  max-width: 32ch;
}

/* ======================= STRIP ======================= */

.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1076px;
  margin: 0 auto 88px;
  padding: 40px 44px;
  border-radius: 28px;
  background:
    radial-gradient(80% 140% at 0% 0%, #3a1d5e 0%, transparent 60%),
    linear-gradient(120deg, #0b0b12, #17101f 60%, #0a0a10);
  border: 1px solid rgba(255, 255, 255, .08);
}
.strip h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -.03em;
}
.strip p {
  margin-top: 8px;
  font-size: 15px;
  color: rgba(255, 255, 255, .6);
}
.strip .cta {
  flex: none;
  padding: 12px 22px;
  border-radius: 999px;
  background: #fff;
  color: #1d1d1f;
  font-weight: 500;
}

/* ======================= FOOTER ======================= */

.footer {
  background: var(--light);
  color: var(--muted);
  padding: 44px 22px 38px;
  font-size: 12px;
}
.footer__inner { max-width: 1076px; margin: 0 auto; }

.footer__note {
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
  line-height: 1.55;
  max-width: 90ch;
}

.footer__cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(0, 0, 0, .12);
}
.footer__cols h3 {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}
.footer__cols a {
  display: block;
  padding: 5px 0;
  color: var(--muted);
  transition: color .2s;
}
.footer__cols a:hover { color: var(--ink); text-decoration: underline; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 20px;
}
.footer__links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer__links a:hover { text-decoration: underline; }

/* ======================= REVEAL ======================= */

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ======================= RESPONSIVE ======================= */

@media (max-width: 1120px) {
  .nav__links { gap: 18px; }
  .tile--workshop { padding: 46px 40px; }
}

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__tools { margin-left: auto; }

  .hero__stage { --s: .68; }
  .hero { padding-top: 76px; }

  .grid { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: span 1; min-height: 560px; }

  .tile--workshop {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 44px 26px 24px;
    min-height: 620px;
  }
  .tile--workshop .tile__copy { justify-self: center; }
  .tile--workshop .cta-row { justify-content: center; }
  .layer-vase { height: 300px; padding-bottom: 18px; }
  .layer-vase__stack i { height: 8px; }
  .layer-vase__plate { width: 210px; }

  .features { grid-template-columns: 1fr; gap: 30px; padding: 68px 22px; }
  .feature p { max-width: 46ch; }

  .strip { flex-direction: column; align-items: flex-start; margin-inline: 12px; padding: 32px 28px; }
}

@media (max-width: 640px) {
  .hero {
    --s: .52;
    padding: 76px 18px 46px;
    min-height: auto;
  }
  .hero__stage { --s: .52; margin-top: 20px; }
  .hero__price { max-width: 30ch; margin-inline: auto; line-height: 1.45; }
  .scroll-hint { display: none; }

  .tile {
    padding: 36px 20px 24px;
    min-height: 520px;
    border-radius: 22px;
  }
  .tile--wide { min-height: 520px; }
  .tile__title { font-size: 31px; }
  .tile__title--sm { font-size: 27px; }
  .tile__sub { font-size: 14px; }

  .shelf-art { min-height: 200px; gap: 8px; padding-bottom: 20px; }
  .fig-pedestal .fig { width: 86px; }

  .bottles { height: 180px; gap: 14px; }
  .bottle { width: 46px; }
  .bottle--amber { height: 138px; }
  .bottle--plum { height: 164px; }
  .bottle--teal { height: 126px; }

  .mini-printer { height: 240px; }
  .printer--mini { transform: translateX(-50%) scale(.44); }

  .photo-flow { gap: 12px; height: 220px; }
  .polaroid { width: 104px; }
  .photo-flow__arrow { width: 42px; }
  .photo-flow__arrow span { animation: none; }
  .fig--result { width: 96px; }

  .fig--bust { width: 112px; }
  .palette { gap: 8px; padding: 8px 12px; }
  .palette span { width: 18px; height: 18px; }

  .tile--workshop { min-height: 560px; }
  .layer-vase { height: 250px; }
  .layer-vase__stack i { height: 7px; }

  .shelf { padding: 64px 0 66px; }
  .card { flex-basis: 280px; height: 420px; }
  .card__art .fig { width: 170px; }
  .shelf__head { padding-inline: 18px; }

  .footer__cols { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 380px) {
  .hero { --s: .46; }
  .hero__stage { --s: .46; }
}

/* ======================= A11Y ======================= */

:focus-visible {
  outline: 2px solid #7d5cff;
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
