@font-face {
  font-family: Geist;
  src: url("../../fonts/geist-cyrillic.woff2") format("woff2");
  font-style: normal; font-weight: 400 800; font-display: swap;
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: Geist;
  src: url("../../fonts/geist-latin.woff2") format("woff2");
  font-style: normal; font-weight: 400 800; font-display: swap;
  unicode-range: U+0000-00FF,U+2000-206F,U+2190-21FF;
}

.palette { --accent: #903e26; --surface: #f0dfd2; --paper: #faf6f0; --ink: #322922; --muted: #625549; }
.assembly { --accent: #224e89; --surface: #dce8f2; --paper: #f4f6f7; --ink: #1d3046; --muted: #495c6e; }
.edge { --accent: #815016; --surface: #eee5d9; --paper: #f7f5ef; --ink: #2e2f2c; --muted: #56584f; }
.nesting { --accent: #324c45; --surface: #dce6df; --paper: #f2f5ef; --ink: #24352f; --muted: #48594e; }
.docket { --accent: #793747; --surface: #f0e2e4; --paper: #f8f6f3; --ink: #392930; --muted: #61535a; }
.fronts { --accent: #3e5845; --surface: #dee5d9; --paper: #f3f5ef; --ink: #263a2b; --muted: #46564a; }
.gallery { --accent: #87412c; --paper: #f6f5f2; --ink: #252c2c; --muted: #525c5d; }
.palette, .assembly, .fronts, .gallery { font-family: Geist, Inter, Arial, sans-serif; }
.site-mast { background: var(--paper); border-color: color-mix(in srgb,var(--ink) 15%,transparent); }
.hero { background: var(--paper); }
.region { border-radius: 4px; background: transparent; padding: 0; color: var(--accent); }
.region svg { width: 15px; }
.hero .scene { z-index: 0; background-color: var(--surface); }
.offer, .benefits, .actions, .variants, .facts { position: relative; z-index: 1; }
.offer h1 { font-size: clamp(40px,4.35vw,76px); line-height: .99; letter-spacing: -.055em; }
.lede { line-height: 1.5; }
.benefits svg { background: var(--surface); border-radius: 5px; }
.hero .callout, .hero .scene figcaption {
  font-size: 12px; line-height: 1.3; border: 0; color: #23322c; background: #f6f6f0f5;
}
.hero .callout { top: 16px; right: 16px; bottom: auto; left: auto; border-radius: 6px; }
.hero .callout::after { display: none; }
.hero .scene figcaption { right: 16px; bottom: 14px; max-width: none; }
.hero .facts { border-radius: 12px; background: var(--paper); border-color: var(--rule); box-shadow: none; }
.variants a { border-radius: 8px; background: var(--paper); color: var(--ink); }
.variants a[aria-current] { background: var(--accent); color: var(--on-accent); }
.secondary { background: var(--paper); border-color: var(--rule); color: var(--ink); }
.footer { background: var(--surface); }
.header-action, .cta { border-radius: 9px; }
.palette h1 { font-weight: 540; }
.palette .scene { border-radius: 48% 48% 8px 8px / 38% 38% 8px 8px; }
.palette .scene img { object-position: 50% 56%; }
.palette .scene::after, .assembly .scene::after, .docket .scene::after { background: none; }
.palette .scene .callout { right: auto; left: 50%; transform: translateX(-50%); top: 7%; }
.swatch-strip { position: absolute; left: 16px; bottom: 14px; display: flex; padding: 3px; border-radius: 12px; background: #f6f1e7; }
.swatch-strip i { display: block; width: 21px; height: 13px; border-radius: 8px; background: #ece9dd; }
.swatch-strip i:nth-child(2) { background: #c49362; }
.swatch-strip i:last-child { background: #a7aaa4; }
.assembly .scene {
  border: 1px solid #526b87; border-radius: 12px;
  background: linear-gradient(90deg,#adc3dd22 1px,transparent 1px) 0 0/24px 24px,
    linear-gradient(#adc3dd22 1px,transparent 1px) 0 0/24px 24px,#254767;
}
.assembly .scene > img { width: 100%; padding: 32px 9% 42px; }
.drawing-scale { position: absolute; top: 16px; bottom: 16px; left: 12px; width: 7px; background: repeating-linear-gradient(to bottom,#bacad6 0 1px,transparent 1px 12px); border-left: 1px solid #bacad6; }
.assembly .region, .docket .job-slip, .facts dt { font-variant-numeric: tabular-nums; }
.assembly h1 { letter-spacing: -.065em; font-weight: 770; }
.edge .scene { border-radius: 12px; }
.edge .scene > img { object-position: 52% 50%; }
.edge .scene::after { background: linear-gradient(0deg,#29251e6b,transparent 42%); }
.edge-detail { display: block; position: absolute; z-index: 1; bottom: 14px; left: 14px; width: clamp(118px,29%,203px); padding: 4px; background: #fbf8ee; border-radius: 8px; color: #352f27; box-shadow: 0 4px 20px #211d203b; }
.edge-detail img { position: static; width: 100%; height: auto; aspect-ratio: 2/1; border-radius: 5px; object-fit: cover; }
.edge-detail span { display: block; padding: 4px 1px 1px; font-size: 11px; }
.docket .scene { border-radius: 12px; }
.docket .scene > img { object-position: 46% 48%; }
.job-slip { position: absolute; left: 5%; bottom: 6%; z-index: 1; width: min(78%,285px); padding: 16px 18px; border-top: 4px solid var(--accent); background: #faf7eeeF; box-shadow: 0 6px 25px #1e273147; color: #35292c; transform: rotate(-3deg); }
.job-slip strong, .job-slip small { display: block; }
.job-slip small { font-size: 11px; }
.job-slip table { margin-top: 9px; width: 100%; border-collapse: collapse; font-size: 12px; text-align: left; }
.job-slip td, .job-slip th { padding-block: 4px; border-bottom: 1px solid #c9c4ba; }
.job-slip tr > :last-child { text-align: right; }
.fronts .scene { border-radius: 0; }
.fronts .scene > img { object-position: 40% center; }
.fronts h1 { font-weight: 475; line-height: 1.04; }
.fronts .scene::after { background: linear-gradient(90deg,transparent 75%,var(--paper)); }
.fronts .door::before { background-image: url("https://breeze.django-m.ru/sites/lamarty-spb/media/illustrations/walnut-grain.84e8519d2121f8563eb90a9e7c733dc342195e5422eba80ce89494bcc6d47a17.webp"); }
.nesting .hero { background: #1d2b29; }
.nesting .scene { border-radius: 0; background: #2c3432; }
.nesting .scene > img, .nesting .film { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; object-fit: cover; object-position: center; }
.nesting .hero .offer, .nesting .hero .lede, .nesting .benefits, .nesting .benefits small { color: #f1f3eb; }
.nesting h1 em, .nesting .region { color: #c5e1ae; }
.nesting h1 { font-weight: 720; }
.nesting .cta { background: #d1e8b3; color: #233b30; }
.film-toggle { position: absolute; z-index: 2; right: 16px; bottom: 44px; min-height: 44px; padding: 8px 15px; border: 1px solid #e0e9df; border-radius: 8px; background: #1c2b27ed; color: #f7faf1; font: 600 14px/1.3 Inter,Arial,sans-serif; cursor: pointer; }
.film-toggle:hover { background: #354d42; }
.gallery .screens { background: #e9dfd4; }
.gallery .gallery-open, .gallery .index-no { color: var(--accent); }

@media (min-width:731px) {
  .stage { grid-template-areas: "offer scene" "benefits scene" "actions scene" "variants facts"; grid-template-columns: minmax(0,43fr) minmax(0,57fr); padding-block: clamp(28px,4vw,65px); gap: 22px 4%; }
  .hero .scene { grid-area: scene; margin: 0; min-height: 360px; }
  .assembly .stage, .fronts .stage { grid-template-areas: "scene offer" "scene benefits" "scene actions" "facts variants"; grid-template-columns: minmax(0,55fr) minmax(0,45fr); }
  .assembly .variants, .fronts .variants { justify-content: flex-end; }
  .edge .stage { grid-template-columns: minmax(0,38fr) minmax(0,62fr); }
  .edge .scene { margin-right: calc(-1 * var(--gutter)); border-radius: 12px 0 0 12px; }
  .docket .stage { grid-template-columns: minmax(0,48fr) minmax(0,52fr); }
  .docket .offer { border-left: 4px solid var(--accent); padding-left: clamp(16px,2vw,30px); }
  .docket .scene { margin: 8px 0 0; }
  .nesting .stage { min-height: clamp(640px,78svh,790px); }
  .nesting .scene { position: absolute; inset: 0 calc(-1 * var(--gutter)); grid-area: auto; }
  .nesting .scene::after { background: linear-gradient(90deg,#172624 4%,#172624f7 25%,#172624e8 43%,#17262444 66%,#17262410 90%); }
  .nesting .scene > img, .nesting .film { object-position: center 49%; }
  .nesting .scene .callout { right: var(--gutter); top: 6%; }
  .nesting .scene figcaption { right: var(--gutter); bottom: 29%; }
  .nesting .film-toggle { right: var(--gutter); bottom: 34%; }
  .nesting .benefits svg { color: #264034; background: #c3d7c6; }
  .fronts .scene { margin-left: calc(-1 * var(--gutter)); }
  .fronts .scene .callout { left: 9%; right: auto; }
  .fronts .scene figcaption { left: 9%; right: auto; }
}
@media (min-width:731px) and (max-width:1000px) {
  .stage { column-gap: 3%; }
  .offer h1 { font-size: clamp(34px,4.35vw,46px); }
  .benefits strong { font-size: 13px; }
}
@media (max-width:730px) {
  .stage { padding-block: 22px; gap: 12px; }
  .offer h1 { font-size: clamp(32px,8.8vw,52px); margin-block: 12px 9px; }
  .hero .scene { min-height: 0; height: clamp(170px,53vw,248px); margin: 0; border-radius: 12px; }
  .hero .scene > img { width: 100%; }
  .hero .scene figcaption { bottom: 7px; right: 7px; max-width: 90%; font-size: 10px; }
  .hero .scene .callout { top: 8px; right: 8px; max-width: none; font-size: 11px; }
  .palette .scene { border-radius: 50% 50% 8px 8px / 24% 24% 8px 8px; }
  .palette .scene .callout { top: 8px; right: auto; }
  .palette .swatch-strip { left: 9px; bottom: 7px; }
  .assembly .scene > img { padding: 8px 42px 12px 14px; }
  .assembly .drawing-scale { top: 10px; bottom: 10px; }
  .edge-detail { bottom: 7px; left: 7px; width: 104px; }
  .edge-detail span { font-size: 9px; }
  .benefits li, .benefits li:first-child { background: var(--paper); border-color: var(--rule); box-shadow: none; }
  .nesting .benefits li { background: #283a34; border-color: #53665e; }
  .nesting .film-toggle { bottom: 8px; left: 8px; right: auto; }
  .job-slip { left: 3%; bottom: 8%; width: min(50%,200px); padding: 6px 9px; }
  .job-slip strong { font-size: 12px; }
  .job-slip table, .job-slip small { font-size: 10px; }
  .job-slip table { margin-top: 3px; }
  .job-slip th, .job-slip td { padding-block: 1px; }
  .fronts .scene::after { background: none; }
}
