/* ENTRO — концепт главной. Палитра из их фирменного градиента: от почти чёрного к глубокой бирюзе. */
:root {
  --ink: #0b171b;
  --ink-2: #10242a;
  --teal: #1f5262;
  --teal-2: #2b6a7a;
  --paper: #ecebe7;
  --paper-2: #e2e0da;
  --stone: #8a8e8c;
  --line: rgba(255, 255, 255, .16);
  --line-dark: rgba(11, 23, 27, .14);
  --serif: "Cormorant Garamond", Georgia, serif;
  --display: "Josefin Sans", "Manrope", sans-serif;
  --sans: "Manrope", system-ui, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --pad: clamp(16px, 3.4vw, 56px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--ink); -webkit-text-size-adjust: 100%; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { font-family: var(--sans); color: #fff; background: var(--ink); -webkit-font-smoothing: antialiased; }
body.is-loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
img, video, canvas { display: block; max-width: 100%; }

.eyebrow { font: 400 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; color: rgba(255, 255, 255, .62); }
.eyebrow--dark { color: rgba(11, 23, 27, .55); }
.h2 { font: 300 clamp(34px, 5vw, 76px)/1 var(--serif); letter-spacing: -.01em; color: var(--ink); margin-top: 14px; }
.h2--light { color: #fff; }
.link-arrow { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: opacity .3s; }
.link-arrow:hover { opacity: .6; }
.link-arrow--light { color: #fff; }

/* ---------- Заставка ---------- */
.splash { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; overflow: hidden; perspective: 1600px; }
/* две створки: на выходе расходятся, как двустворчатая дверь */
.splash__half { position: absolute; top: 0; bottom: 0; width: 50.2%; background: linear-gradient(180deg, #091316 0%, #0d1c21 35%, #1a4553 78%, #215565 100%); }
.splash__half--l { left: 0; transform-origin: left center; }
.splash__half--r { right: 0; transform-origin: right center; }
.splash__logo { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; white-space: nowrap; font: 200 clamp(46px, 11vw, 150px)/1 var(--display); letter-spacing: .26em; padding-left: .26em; color: #fff; }
.splash__sub { position: absolute; left: 0; right: 0; text-align: center; top: calc(50% + clamp(48px, 7vw, 92px)); font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: rgba(255, 255, 255, .55); opacity: 0; }
.splash__beam { position: absolute; top: -10%; left: -20%; width: clamp(28px, 4vw, 60px); height: 120%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .9), transparent); filter: blur(6px); transform: skewX(-12deg); opacity: .9; mix-blend-mode: screen; }
.splash__count { position: absolute; bottom: 34px; left: 0; right: 0; text-align: center; font: 300 12px var(--sans); letter-spacing: .3em; color: rgba(255, 255, 255, .5); }
.splash__count span::after { content: "%"; }

/* ---------- Плёночное зерно и свет за курсором ---------- */
.grain { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-5%,3%) } 40% { transform: translate(4%,-6%) } 60% { transform: translate(-3%,7%) } 80% { transform: translate(6%,2%) } }
.cursor-light { position: fixed; z-index: 2; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 245, 225, .10), transparent 62%); mix-blend-mode: soft-light; opacity: 0; transition: opacity .6s; }
@media (hover: hover) { body:not(.is-loading) .cursor-light { opacity: 1; } }

/* ---------- Шапка ---------- */
.header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 84px; padding: 0 var(--pad);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; transition: background .5s var(--ease), height .5s var(--ease), color .5s; }
.header.is-solid { background: rgba(11, 23, 27, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); height: 68px; }
.header.is-light { color: var(--ink); background: rgba(236, 235, 231, .78); }
.header__nav { display: flex; gap: clamp(14px, 2vw, 34px); }
.header__nav a { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .78; position: relative; padding: 6px 0; transition: opacity .3s; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.header__nav a:hover, .header__nav a.is-active { opacity: 1; }
.header__nav a:hover::after, .header__nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.logo { display: flex; align-items: center; gap: 10px; justify-self: center; }
.logo__bars { display: flex; gap: 2.5px; height: 30px; }
.logo__bars i { width: 2px; background: currentColor; }
.logo__word { font: 300 27px/1 var(--display); letter-spacing: .1em; position: relative; padding-bottom: 9px; border-bottom: 1px solid currentColor; }
.logo__word small { position: absolute; right: 0; bottom: -12px; font: 300 9px var(--sans); letter-spacing: .12em; }
.header__icons { justify-self: end; display: flex; gap: 6px; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; transition: background .3s; }
.icon-btn:hover { background: rgba(255, 255, 255, .1); }
.header.is-light .icon-btn:hover { background: rgba(11, 23, 27, .06); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.header__burger { display: none; width: 40px; height: 40px; position: relative; }
.header__burger i { position: absolute; left: 9px; right: 9px; height: 1px; background: currentColor; transition: transform .4s var(--ease); }
.header__burger i:first-child { top: 16px; } .header__burger i:last-child { top: 23px; }
body.menu-open .header__burger i:first-child { transform: translateY(3.5px) rotate(45deg); }
body.menu-open .header__burger i:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: 0; z-index: 45; background: var(--ink); display: flex; flex-direction: column; justify-content: center; padding: 0 28px; gap: 8px;
  clip-path: inset(0 0 100% 0); transition: clip-path .7s var(--ease); }
.mobile-menu a { font: 300 40px/1.25 var(--serif); }
body.menu-open .mobile-menu { clip-path: inset(0 0 0 0); }
.search { position: fixed; z-index: 49; top: 0; left: 0; right: 0; padding: 110px var(--pad) 34px; background: rgba(11, 23, 27, .94); backdrop-filter: blur(10px);
  transform: translateY(-100%); transition: transform .6s var(--ease); }
.search.is-open { transform: none; }
.search input { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); color: #fff; font: 300 clamp(28px, 4vw, 54px) var(--serif); padding: 8px 0; outline: none; }
.search__hint { margin-top: 14px; font-size: 12px; letter-spacing: .14em; color: rgba(255, 255, 255, .5); }

/* ---------- Первый экран ---------- */
.hero { position: relative; height: 100svh; min-height: 620px; overflow: hidden; background: #000; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 52%, rgba(6,14,17,.92) 100%); }
.hero__brand { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.hero__brand span { writing-mode: vertical-rl; transform: rotate(180deg); font: 200 clamp(60px, 9vh, 110px)/1 var(--display); letter-spacing: .32em;
  color: #fff; opacity: 0; filter: blur(14px); transition: opacity 1.4s var(--ease), filter 1.4s var(--ease), letter-spacing 2.4s var(--ease); }
.hero__brand.is-on span { opacity: 1; filter: blur(0); letter-spacing: .22em; }
.hero__caption { position: absolute; left: var(--pad); bottom: calc(clamp(170px, 27vh, 280px)); max-width: 720px; }
.hero__title { margin-top: 16px; font: 300 clamp(40px, 6.2vw, 96px)/.98 var(--serif); letter-spacing: -.015em; }
.hero__title span, .hero__title em { display: inline-block; }
.hero__title em { font-style: italic; color: #cfe1e3; }
.lineup { position: absolute; left: 0; right: 0; bottom: 0; height: clamp(150px, 25vh, 250px); }
.lineup canvas { width: 100%; height: 100%; }
.lineup__label { position: absolute; right: var(--pad); top: -26px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.lineup__label a { color: #fff; margin-left: 14px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 2px; }

/* ---------- Миссия ---------- */
.mission { position: relative; min-height: 115vh; display: flex; align-items: center; overflow: hidden; background: #060d0f; }
.mission__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.mission__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at 30% 50%, rgba(6,13,15,.35), rgba(6,13,15,.88) 70%); }
.mission__inner { position: relative; padding: max(18vh, 140px) var(--pad) 18vh; max-width: 1040px; }
.mission__text { margin-top: 28px; font: 300 clamp(28px, 3.7vw, 58px)/1.18 var(--serif); }
.mission__text .w { display: inline-block; opacity: .1; filter: blur(6px); transform: translateY(.18em); will-change: opacity, filter, transform; }
.mission__text .w--accent { font-style: italic; color: #bcd8db; }
.mission__facts { margin-top: 9vh; display: flex; gap: clamp(28px, 7vw, 120px); border-top: 1px solid var(--line); padding-top: 28px; }
.mission__facts b { display: block; font: 300 clamp(38px, 4.2vw, 64px)/1 var(--display); letter-spacing: .04em; }
.mission__facts span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.55); }

/* ---------- Две коллекции ---------- */
.collections { position: relative; height: 220vh; background: #060d0f; }
.collections__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.collections__strip { position: absolute; z-index: 3; left: 50%; top: 0; width: 120px; height: 100%; margin-left: -60px;
  background: linear-gradient(180deg, #f1efea, #d8d6d0); transform-origin: top; transform: scaleY(0); box-shadow: 0 0 80px rgba(255,255,255,.18); }
.collections__strip::after { content: ""; position: absolute; right: 14px; top: 52%; width: 4px; height: 46px; border-radius: 2px; background: #2a2f31; }
.collections__grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0; clip-path: inset(0 50% 0 50%); }
.col-card { position: relative; overflow: hidden; display: block; }
.col-card img { width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; transform: scale(1.04); transition: transform 1.6s var(--ease), filter 1s; filter: grayscale(.2) brightness(.86); }
.col-card--render img { object-position: 50% 50%; filter: none; }
.col-card--render:hover img { filter: brightness(1.08); }
.col-card:hover img { transform: scale(1.06); filter: none; }
.col-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.55)); }
.col-card__name { position: absolute; z-index: 2; right: 5%; top: 50%; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl;
  font: 200 clamp(64px, 9vw, 150px)/1 var(--display); letter-spacing: .14em; color: #fff; mix-blend-mode: difference; }
.col-card__meta { position: absolute; z-index: 2; left: 6%; bottom: 7%; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; display: flex; gap: 14px; align-items: baseline; }
.col-card__meta b { font: 300 13px var(--display); }
.col-card__meta i { font-style: normal; opacity: 0; transform: translateX(-10px); transition: .5s var(--ease); }
.col-card:hover .col-card__meta i { opacity: 1; transform: none; }

/* ---------- Витрина-барабан ---------- */
.showcase { position: relative; background: #0e1b1f; color: #fff; padding: 120px 0 70px; overflow: hidden; }
.showcase .h2 { color: #fff; }
.showcase .eyebrow--dark { color: rgba(255,255,255,.55); }
.showcase .tabs { border-color: var(--line); }
.showcase .tabs button.is-active { background: #fff; color: var(--ink); }
.showcase .drum-info__num, .showcase .drum-info__hint, .showcase .drum-loader, .showcase .configurator__label { color: rgba(255,255,255,.55); }
.showcase .configurator__label span { color: #fff; }
.showcase .drum-nav { border-color: var(--line); }
.showcase .drum-nav:hover { background: #fff; color: var(--ink); }
.showcase .swatch { border-color: rgba(255,255,255,.2); }
.showcase .swatch::after { border-color: #fff; }
.showcase .link-arrow { color: #fff; }
.showcase__head, .interior__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; padding: 0 var(--pad); flex-wrap: wrap; }
.tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line-dark); border-radius: 40px; }
.tabs button { padding: 11px 22px; border-radius: 30px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; transition: background .4s, color .4s; }
.tabs button.is-active { background: var(--ink); color: #fff; }
.tabs--small button { padding: 9px 16px; font-size: 12px; }
.showcase__stage { position: relative; height: min(78vh, 760px); margin-top: 30px; touch-action: pan-y; cursor: grab; }
.showcase__stage:active { cursor: grabbing; }
.showcase__stage canvas { width: 100%; height: 100%; }
.drum-info { position: absolute; left: var(--pad); bottom: 8%; pointer-events: none; }
.drum-info__num { font: 300 13px var(--display); letter-spacing: .2em; color: rgba(11,23,27,.55); }
.drum-info__name { font: 300 clamp(36px, 4vw, 60px)/1 var(--serif); margin-top: 8px; }
.drum-info__hint { margin-top: 12px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(11,23,27,.45); }
.drum-nav { position: absolute; top: 50%; width: 54px; height: 54px; margin-top: -27px; border-radius: 50%; border: 1px solid var(--line-dark); font-size: 18px; transition: background .3s, color .3s; z-index: 2; }
.drum-nav:hover { background: var(--ink); color: #fff; }
.drum-nav--prev { left: var(--pad); } .drum-nav--next { right: var(--pad); }
.drum-loader { position: absolute; inset: 0; display: grid; place-items: center; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,23,27,.5); transition: opacity .6s; pointer-events: none; }
.drum-loader.is-done { opacity: 0; }
.configurator { display: flex; align-items: center; gap: 26px; padding: 10px var(--pad) 0; flex-wrap: wrap; }
.configurator__label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(11,23,27,.5); min-width: 220px; }
.configurator__label span { color: var(--ink); margin-left: 8px; }
.swatches { display: flex; gap: 12px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.14); position: relative; transition: transform .3s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 1px solid var(--ink); opacity: 0; transform: scale(.8); transition: .35s var(--ease); }
.swatch.is-active::after { opacity: 1; transform: none; }
.swatch:hover { transform: translateY(-2px); }
.configurator .link-arrow { margin-left: auto; }

/* ---------- Примерка в интерьере ---------- */
/* мягкий переход из тёмной витрины в светлую примерку */
.interior { background: linear-gradient(180deg, #0e1b1f 0, #6f7472 90px, var(--paper-2) 260px); color: var(--ink); padding: 200px 0 100px; }
.interior__frame { position: relative; margin: 34px var(--pad) 0; aspect-ratio: 1344 / 768; overflow: hidden; border-radius: 4px; background: #ccc; }
.interior__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .7s var(--ease); }
.interior__frame canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.interior__tip { position: absolute; left: 20px; bottom: 18px; padding: 9px 14px; border-radius: 30px; background: rgba(255,255,255,.75); backdrop-filter: blur(6px); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.interior__doors { display: flex; gap: 10px; padding: 18px var(--pad) 0; overflow-x: auto; scrollbar-width: none; }
.interior__doors button { flex: 0 0 auto; padding: 10px 16px; border: 1px solid var(--line-dark); border-radius: 30px; font-size: 12px; letter-spacing: .1em; transition: .3s; }
.interior__doors button.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Дилер ---------- */
.dealer { background: linear-gradient(180deg, #0b171b 0%, #123039 60%, #1f5262 100%); padding: 130px var(--pad); display: grid; grid-template-columns: 1.1fr 1fr; gap: 8vw; align-items: end; }
.dealer__text p { margin-top: 24px; max-width: 460px; color: rgba(255,255,255,.7); line-height: 1.7; font-size: 15px; }
.dealer__text .link-arrow { display: inline-block; margin-top: 34px; }
.dealer__form { display: grid; gap: 22px; position: relative; }
.dealer__form label span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.dealer__form input { width: 100%; background: none; border: 0; border-bottom: 1px solid var(--line); color: #fff; font: 300 22px var(--sans); padding: 10px 0; outline: none; transition: border-color .3s; }
.dealer__form input:focus { border-color: #fff; }
.dealer__form input.is-bad { border-color: #e39a8f; }
.btn { justify-self: start; margin-top: 10px; padding: 18px 34px; border-radius: 40px; background: #fff; color: var(--ink); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; transition: transform .4s var(--ease), background .3s; }
.btn:hover { transform: translateY(-2px); background: #dfeeef; }
.dealer__ok { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font: 300 30px/1.3 var(--serif); background: rgba(18,48,57,.96); opacity: 0; pointer-events: none; transition: opacity .6s; }
.dealer__form.is-sent .dealer__ok { opacity: 1; pointer-events: auto; }

/* ---------- Подвал ---------- */
.footer { background: #060d0f; padding: 90px var(--pad) 34px; overflow: hidden; }
.footer__logo { font: 200 clamp(80px, 19vw, 300px)/.8 var(--display); letter-spacing: .14em; color: rgba(255,255,255,.045); }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 60px; }
.footer__cols span { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 14px; }
.footer__cols a, .footer__cols p { display: block; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.86); }
.footer__cols a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer__bottom { display: flex; justify-content: space-between; margin-top: 70px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12px; color: rgba(255,255,255,.4); }

/* ---------- Телефон ---------- */
@media (max-width: 900px) {
  .header { grid-template-columns: auto 1fr auto; height: 64px; }
  .header__nav { display: none; }
  .header__burger { display: block; }
  .logo { justify-self: center; } .logo__bars { height: 22px; } .logo__word { font-size: 20px; padding-bottom: 7px; }
  .hero__caption { bottom: clamp(150px, 24vh, 220px); right: var(--pad); }
  .lineup__label { display: none; }
  .mission { min-height: 110vh; }
  .mission__facts { gap: 22px; }
  .collections { height: 220vh; }
  .collections__grid { grid-template-columns: 1fr; grid-template-rows: 1fr 1fr; }
  .collections__strip { width: 64px; margin-left: -32px; }
  .col-card__name { font-size: 46px; right: 4%; letter-spacing: .1em; }
  .col-card__meta { letter-spacing: .08em; font-size: 11px; right: 18%; }
  .showcase { padding-top: 90px; }
  .showcase__stage { height: 68vh; }
  .drum-nav { display: none; }
  .drum-info { bottom: 3%; }
  .configurator .link-arrow { margin-left: 0; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs button { flex: 0 0 auto; padding: 10px 14px; }
  .header__icons { gap: 0; }
  .header__icons .icon-btn { width: 36px; }
  .swatches { gap: 9px; flex-wrap: wrap; }
  .eyebrow { letter-spacing: .2em; line-height: 1.5; }
  .interior__frame { aspect-ratio: 4 / 5; margin: 26px 0 0; border-radius: 0; }
  .interior__frame img { object-position: 52% 50%; }
  .dealer { grid-template-columns: 1fr; gap: 50px; padding: 90px var(--pad); }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__logo { font-size: 17vw; letter-spacing: .08em; white-space: nowrap; }
  .footer__bottom { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }
