@font-face {
  font-family: 'Roboto Black';
  src: url('assets/fonts/roboto-black-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}
:root {
  --bg: #09090a;
  --panel: #161618;
  --line: rgba(221,216,215,.16);
  --text: #eeeceb;
  --muted: #b2afae;
  --red: #c41230;
  --edition-ink: #262224;
  --edition-metal: #bbb8b7;
}
::selection { background: #ac1531; color: #fff; }
.page-progress, .story-progress span { background: var(--red); }
.header {
  height: 78px;
  background: linear-gradient(180deg, #100e0f, #101011f2);
  border-bottom: 1px solid #393536;
  gap: clamp(20px,3vw,60px);
}
.brand { gap: 12px; }
.brand img { width: 37px; height: 39px; object-fit: contain; }
.brand span { font: 900 clamp(15px,1.2vw,21px)/1 'Roboto Black', Arial, sans-serif; letter-spacing: .025em; }
.nav { font-size: clamp(13px,1vw,17px); gap: clamp(15px,2.1vw,36px); }
.header-actions { gap: 22px; font-size: 14px; }
.header-contact { display: inline-block; padding: 10px 18px; border: 1px solid #625c5c; }
.nav-contact { display: none; }
.header-contact:hover, .header-contact:focus-visible { background: #50111c; border-color: #b52c45; }
.journey { background: #0a090a; }
.journey-sticky {
  min-height: 580px;
  min-height: min(100svh,580px);
  height: 100vh;
  height: 100svh;
  isolation: isolate;
  background: radial-gradient(ellipse at 50% 90%,#262125 0%,#110f11 50%,#09090a 77%);
}
.factory-bg {
  background: radial-gradient(ellipse at 50% 30%,#4c131d88,transparent 61%), linear-gradient(180deg,#131112,transparent 82%);
  opacity: .9;
}
.ambient {
  top: 48%;
  background: radial-gradient(ellipse at 48% 70%,#86455124,transparent 56%), linear-gradient(180deg,transparent 1%,#74727a0b 32%,transparent 90%);
}
.ambient::after {
  content: '';
  position: absolute;
  inset: 14% -12% -25%;
  background: repeating-linear-gradient(179.7deg,transparent 0 3px,#e4d3cd06 3.4px 3.9px,transparent 4.4px 8px);
  mask-image: radial-gradient(ellipse at 50% 53%,#000a,transparent 69%);
  pointer-events: none;
}
.hero-copy {
  top: clamp(100px,16vh,210px);
  left: var(--gutter);
  width: calc(100% - var(--gutter)*2);
  max-width: none;
  z-index: 2;
  container-type: inline-size;
}
.hero-copy h1.hero-title {
  position: relative;
  width: 100%;
  margin: 0;
  line-height: 1;
  background: none;
  color: #dddadd;
  text-shadow: none;
}
.hero-title-name {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.hero-wordmark {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 4px #0008);
}
.hero-subtitle {
  display: flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  margin: max(18px,1.7vw) 0 0;
  font-size: clamp(15px,1.15vw,22px);
  color: #d7cece;
  letter-spacing: .025em;
}
.hero-subtitle::before { content: ''; width: 32px; height: 2px; background: #c72a43; }
.model-stage {
  top: 27%;
  bottom: auto;
  left: 18%;
  width: 64%;
  height: 62%;
  z-index: 3;
}
.model-stage:not(.ready), .model-fallback, #viewer-fallback { mix-blend-mode: normal; }
.model-fallback { mask-image: none; }
.gearbox-poster img { background: transparent; }
.gearbox-poster.poses-ready img:first-child { opacity: calc(1 - var(--exploded-opacity,0)); }
.model-ground { bottom: 5%; background: radial-gradient(ellipse,#0009,transparent 70%); border: 0; }
.model-caption {
  left: auto;
  right: var(--gutter);
  top: auto;
  bottom: 23%;
  display: grid;
  gap: 4px;
  text-align: right;
  font-size: clamp(9px,.68vw,13px);
  font-weight: 650;
  letter-spacing: .11em;
  color: #bdb6b8;
  z-index: 2;
}
.model-caption .caption-line { display: block; justify-self: end; width: 40px; margin-bottom: 8px; background: #a12439; }
.model-caption .micro { display: block; color: #968e90; font-size: 9px; letter-spacing: .09em; }
.hero-bottom { border-top: 0; bottom: 32px; padding: 0; justify-content: space-between; pointer-events: none; }
.hero-bottom a { pointer-events: auto; }
.hero-catalog, .view-open {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 49px;
  padding: 11px 17px;
  font-size: clamp(14px,1.05vw,17px);
  line-height: 1.4;
  font-weight: 600;
  border: 1px solid #756369;
  color: #ebe5e6;
  background: #141214e8;
  transition: border-color .24s, background .24s;
}
.hero-catalog { border-color: #b82941; background: linear-gradient(110deg,#b81c37,#871429); color: #fff; }
.hero-catalog:hover { background: #c22b45; border-color: #d33e56; }
.view-open { bottom: 32px; right: var(--gutter); }
.view-open:hover { border-color: #a52e42; background: #281117; }
.cta-arrow { font-size: 1.28em; font-weight: 400; }
.scroll-hint { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 12px; font-weight: 500; letter-spacing: .02em; color: #b2a9ac; text-transform: none; }
.scroll-indicator { height: 27px; width: 16px; border-color: #76676d; }
.scroll-indicator::before { left: 6px; background: #c78692; }
.story-copy { top: 8%; width: auto; max-width: calc(100% - var(--gutter)*2); }
.story-copy .eyebrow { color: #d6596d; font-size: 12px; letter-spacing: .14em; margin: 0 0 7px; }
.story-copy h2 { font-size: clamp(22px,2.4vw,42px); font-weight: 620; line-height: 1.15; margin: 0; letter-spacing: -.025em; }
.story-progress { height: 2px; background-color: #34252a; }
.section-title { font-weight: 650; }
.section-title em, .section-description, .card-body p, .contact-details p, .about-copy>p:not(.large-text) { color: #b4b0b0; }
.section-mark, .eyebrow { color: #b5a8a9; }
.partners { background: #0c0b0c; border-color: #43212a; }
.partners .eyebrow { color: #b4a7a9; }
.partners-row>span { color: #d5ced0; }
.partners .partner-source { color: #a1969a; }
.catalog, .contact, .about { background-color: #100f10; }
.product-card { background: linear-gradient(155deg,#222123,#111011 62%); border-color: #464044; }
.product-card:hover { border-color: #8d2b3d; }
.filter.active { background: #39171e; color: #f2eaeb; border-color: #9c2c40; }
.filter:not(.active):hover { color: #ebe2e5; background: #282224; }
.card-actions button:hover, .footer a:hover, .text-link:hover, .email-link:hover { color: #ffb7c3; }
.production:after { background: linear-gradient(90deg,#0c0709ee,#11090a8a 63%,#1a0d0f70); }
.production-bg { filter: grayscale(.8) brightness(.62); }
.production-stats>div, .about-date { border-color: #842c3c; }
.quote-form label, .contact-details a, .text-link { color: #d0cbca; }
.primary, .primary:hover { color: #fff; background: linear-gradient(120deg,#b81c37,#97132b); border-color: #cf2944; }
.primary:hover { background: #c02742; }
.footer { overflow: hidden; padding: 30px var(--gutter) 0; background: #0b090a; border-color: #472029; }
.footer-bottom { margin: 0; padding: 0 0 22px; flex-wrap: wrap; align-items: center; color: #b8afb1; font-size: 13px; border: 0; border-bottom: 1px solid var(--line); }
.footer-bottom nav { display: flex; gap: 12px 25px; flex-wrap: wrap; }
.footer-brand {
  padding: .18em 0 .03em;
  font: 900 clamp(98px,22vw,460px)/.85 'Roboto Black','Arial Black',Arial,sans-serif;
  letter-spacing: -.068em;
  color: #8f1c30;
  background: linear-gradient(170deg,#df435e,#ab1b34 42%,#671124 85%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-brand span { align-self: flex-start; font: 400 clamp(20px,3vw,45px)/1 Arial,sans-serif; -webkit-text-fill-color: #d1c6c9; color: #d1c6c9; margin-top: .35em; }
.viewer, .product-dialog { background: radial-gradient(ellipse at 45% 55%,#242022,#121112 72%); }
.viewer-controls button[aria-pressed='true'] { background: #53202b; }
.explode-slider input { accent-color: #ce3451; }
@media (max-width:1100px) {
  .nav { top: 78px; font-size: 18px; padding: 22px var(--gutter); gap: 15px; background: #121011fc; border-color: #4e2b34; }
  .nav-contact { display: block; }
  .menu-toggle { display: grid; place-items: center; height: 42px; width: 38px; padding: 0; }
  .menu-toggle span { width: 21px; height: 8px; border-block: 1.5px solid currentColor; }
  .menu-toggle[aria-expanded='true'] span { height: 1px; transform: rotate(-45deg); }
  .story-copy { top: 9%; }
}
@media (max-width:760px) {
  .header { height: 70px; }
  .nav { top: 70px; }
  .hero-subtitle { margin-top: 15px; }
  .hero-copy { top: max(99px,17svh); }
  .model-stage { top: 30%; left: 2%; width: 96%; height: 53%; }
  .model-caption { bottom: 17.8%; }
  .scroll-hint { display: none; }
  .hero-bottom,.view-open { bottom: 6%; }
  .footer-bottom { gap: 16px; }
}
@media (max-width:600px) {
  .brand img { height: 32px; width: 30px; }
  .brand span { font-size: 13px; }
  .brand { gap: 8px; }
  .header-actions { gap: 10px; }
  .header-contact { display: none; }
  .model-caption { bottom: 20%; }
  .hero-bottom, .view-open { bottom: 7%; }
  .hero-catalog,.view-open { font-size: clamp(11px,3.2vw,15px); min-height: 46px; padding: 10px 11px; gap: 9px; }
  .story-copy { top: 13%; }
  .footer-bottom { font-size: 12px; }
  .hero-subtitle { margin-top: 17px; font-size: 15px; letter-spacing: .01em; }
}
@media (min-width:761px) and (max-height:620px) {
  .header { height: 58px; }
  .hero-copy { top: 16%; }
  .hero-subtitle { margin-top: 10px; }
  .hero-bottom,.view-open { bottom: 16px; }
  .model-stage { top: 27%; height: 61%; }
}
/* The canvas can draw the descending rig above its logical product frame. */
.journey-sticky {
  --rm-word-y: clamp(100px,15svh,190px);
  --rm-word-size: calc((100vw - 2 * var(--gutter)) * 162 / 1508);
}
.hero-copy { top: var(--rm-word-y); }
.model-stage {
  top: var(--rm-stage-top, calc(var(--rm-word-y) + var(--rm-word-size) - 5svh));
  left: 11%;
  width: 78%;
  height: min(72svh, max(34svh, calc((92svh - var(--rm-word-y) - var(--rm-word-size)) / .9)));
  overflow: visible;
  /* The hero follows the page scroll. Its canvas accepts gestures in the separate 3D viewer. */
  pointer-events: none;
}
#model-stage #model-canvas { overflow: visible; }
html[data-rm-entrance='prepare'] #model-stage { opacity: 0; }
#model-stage:not(.ready) #model-canvas { visibility: hidden; }
#model-stage .model-fallback { transition: none; }
#model-stage.ready .model-fallback { visibility: hidden; }
@media (max-width:760px) {
  .journey-sticky { --rm-word-y: clamp(114px,22svh,192px); }
  .model-stage { left: 0; width: 100%; height: min(60svh,106vw); }
  .hero-subtitle { position: absolute; bottom: calc(100% + 12px); margin: 0; }
}
@media (min-width:761px) and (max-height:620px) {
  .journey-sticky { --rm-word-y: max(64px,13svh); }
}
@media (prefers-reduced-motion: reduce) { .scroll-indicator::before { animation: none; } }
.pointer-sparks { position: fixed; inset: 0; z-index: 51; pointer-events: none; overflow: hidden; }
.pointer-sparks i { position: absolute; left: 0; top: 0; width: 2px; height: 2px; border-radius: 50%; background: #f86174; box-shadow: 0 0 4px #ba2842; opacity: 0; }
@media (prefers-reduced-motion:no-preference) {
  .ambient::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(1px at 21% 44%,#cd4961,transparent),radial-gradient(1.5px at 76% 61%,#ac2542,transparent),radial-gradient(1px at 66% 19%,#c02c47,transparent); animation: hot-dust 9s ease-in-out infinite alternate; }
  @keyframes hot-dust { from { transform: translateY(5px); opacity: .4; } to { transform: translateY(-8px); opacity: .8; } }
}
@media(max-width:360px) {
  .hero-bottom { left: 15px; right: 15px; }
  .hero-catalog, .view-open { padding-inline: 8px; gap: 4px; }
  .view-open { right: 15px; }
}
@media (max-width: 600px) {
  .about-layout { grid-template-columns: minmax(0, 1fr); }
  .about-layout > div { min-width: 0; }
  .about .section-title { font-size: clamp(27px, 8.9vw, 45px); overflow-wrap: anywhere; }
}
@media (max-width: 460px) {
  .partners-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .partners-row > :nth-child(n+3) { grid-column: 1 / -1; }
}

/* Five industrial partners and direct Telegram contacts. */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 2.5vw, 42px);
  justify-content: space-between;
  align-items: center;
}
.partners-row > span { min-width: 0; }
.contact-details .telegram-contact { display: flex; gap: .6em; align-items: baseline; width: fit-content; max-width: 100%; }
.telegram-contact .telegram-label { font: 700 .74em/1.3 Manrope, Arial, sans-serif; color: #e5b9c1; }
.telegram-contact span:last-child { white-space: nowrap; }
.contact-details .telegram-contact:hover span:last-child { color: #fff; text-decoration: underline; text-underline-offset: .18em; }
@media (max-width: 1000px) {
  .partners-row { justify-content: flex-start; gap: 25px 5%; }
}
@media (max-width: 600px) {
  .partners-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px 12px; }
  .partners-row > :nth-child(3) { grid-column: 1 / -1; }
  .partners-row > :nth-child(n+4) { grid-column: auto; }
  .partners-row .small-partner { font-size: clamp(11px, 3.1vw, 16px); letter-spacing: .035em; }
}
