/* Compact narrative: intrinsic text height, bounded media, one final form.
   The important layer overrides legacy artboard geometry only on these blocks. */
@layer home-composition {
 body.home-release :is(#mf-process.home-compact-process,#mf-details.home-stories,#request.home-compact-request) {
  height:auto!important; min-height:0!important; padding-block:72px!important; padding-inline:0!important;
 }
 body.home-release #mf-process.home-compact-process { padding-top:144px!important; }
 body.home-release :is(.home-composition-container,#mf-process .process-grid) {
  width:calc(100% - 96px)!important; max-width:1824px!important;
  margin-inline:auto!important; padding:0!important; min-width:0!important;
 }
 /* Preparation: the video follows the same visual height as the copy. */
 body.home-release #mf-process .process-grid {
  display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  gap:64px!important; align-items:start!important;
 }
 body.home-release #mf-process .process-copy { position:relative!important; inset:auto!important; min-width:0; transform:none!important; translate:none!important; }
 body.home-release #mf-process .process-steps { margin-top:24px!important; max-width:none!important; }
 body.home-release #mf-process .process-steps>div { display:block!important; padding:16px 0!important; border-top:1px solid #ffffff24; }
 body.home-release #mf-process .process-steps>div:last-child { padding-bottom:0!important; }
 body.home-release #mf-process .process-steps>div>span { display:none!important; }
 body.home-release #mf-process .process-steps h3 { margin:0 0 6px!important; color:#fff; }
 body.home-release #mf-process .process-steps p { margin:0!important; max-width:65ch; color:#aeb5bc; }
 body.home-release #mf-process .process-movie {
  position:relative!important; inset:auto!important; width:100%!important;
  height:560px!important; min-height:0!important; aspect-ratio:auto!important;
  overflow:hidden!important; border-radius:10px; transform:none!important; translate:none!important;
 }
 body.home-release #mf-process .process-movie video { width:100%!important; height:100%!important; object-fit:cover!important; object-position:50% 52%!important; }
 body.home-release #mf-process .film-tag { top:auto!important; right:auto!important; left:20px!important; bottom:20px!important; width:max-content!important; height:auto!important; padding:7px 10px; background:#101212a6; color:#fff; border-radius:4px; max-width:calc(100% - 96px); }
 body.home-release #mf-process .media-toggle { width:44px!important; height:44px!important; right:20px!important; bottom:20px!important; }
 /* Two photographs share one section and one heading. */
 body.home-release #mf-details.home-stories { background:#f5f3ee!important; color:#111416!important; --home-heading-ink:#111416; }
 body.home-release .home-stories-heading, body.home-release .request-heading {
  display:grid; grid-template-columns:minmax(0,1.15fr) minmax(0,1fr); align-items:end;
  gap:64px; margin:0 0 40px;
 }
 body.home-release :is(.home-stories-heading,.request-heading)>p { margin:0 0 4px!important; max-width:520px; color:#667079!important; }
 body.home-release .home-stories-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:32px; }
 body.home-release .home-story-card { min-width:0; padding:0!important; margin:0!important; height:auto!important; min-height:0!important; scroll-margin-top:100px; }
 body.home-release #mf-details .story-figure { position:relative!important; inset:auto!important; width:100%!important; margin:0!important; transform:none!important; translate:none!important; }
 body.home-release #mf-details .detail-window { width:100%!important; height:auto!important; aspect-ratio:16/9!important; overflow:hidden!important; border-radius:10px; }
 body.home-release #mf-details .detail-window>img { display:block; width:100%!important; height:100%!important; object-fit:cover!important; object-position:center!important; }
 body.home-release #mf-details .figure-whole .detail-window>img { object-position:50% 52%!important; }
 body.home-release #mf-details .detail-zoom { width:44px!important; height:44px!important; right:16px!important; bottom:16px!important; }
 body.home-release #mf-details .detail-crosshair { display:none!important; }
 body.home-release #mf-details figcaption { display:flex!important; flex-wrap:wrap!important; justify-content:space-between!important; gap:8px 12px; margin-top:10px!important; color:#75808a!important; }
 body.home-release .home-story-copy { padding-top:22px; }
 body.home-release .home-story-copy h3 { margin:0 0 10px!important; color:#111416!important; }
 body.home-release .home-story-copy>p { margin:0!important; max-width:75ch; color:#667079!important; }
 body.home-release .home-story-copy .text-link { margin-top:16px!important; color:#111416!important; min-height:32px; }
 body.home-release .home-stories-note { margin-top:24px; padding-top:18px; border-top:1px solid #d1d6d7; }
 body.home-release .home-stories-note p { margin:0!important; max-width:110ch; color:#6e777e!important; }
 /* One gap after the car, then copy and form with a shared top edge. */
 body.home-release #voprosy.home-section { padding-bottom:0!important; }
 body.home-release #voprosy .v16-faq__avto { margin-top:56px!important; }
 body.home-release #request.home-compact-request { background:#f5f3ee!important; color:#111416!important; padding-top:40px!important; padding-bottom:40px!important; }
 body.home-release #request .mp-callback-inner {
  position:relative; display:grid!important; grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-areas:"heading form" "copy form" "bottom bottom"!important;
  grid-template-rows:auto 1fr auto!important; gap:0 64px!important; align-items:start!important;
 }
 body.home-release #request .request-heading { grid-area:heading!important; display:block!important; margin:0 0 24px!important; }
 body.home-release #request .request-heading>h2 { position:relative!important; top:-12px!important; }
 body.home-release #request .request-heading>p { margin:30px 0 0!important; max-width:640px!important; }
 body.home-release #request .mp-callback-copy { grid-area:copy!important; min-width:0!important; padding:0!important; }
 body.home-release .request-anchor { position:absolute; top:0; width:1px; height:1px; padding:0!important; margin:0!important; pointer-events:none; scroll-margin-top:100px; }
 body.home-release .request-photo-copy { margin-top:0; }
 body.home-release .request-photo-copy h3 { margin:0 0 8px!important; }
 body.home-release .request-photo-copy p { margin:0!important; max-width:65ch; color:#667079; }
 body.home-release .request-contact-row { display:flex; flex-direction:column; align-items:flex-start; gap:20px; margin-top:24px; }
 body.home-release #request .mp-callback-contact { margin:0!important; }
 body.home-release #request .mp-callback-contact a { font-size:22px; font-weight:600; }
 body.home-release #request .mp-callback-contact span { color:#6e777e; }
 body.home-release .request-contact-row .mp-action { align-self:flex-end!important; min-height:48px; background:transparent; }
 body.home-release #request .mp-text-button { margin-top:16px!important; max-width:100%; gap:24px; }
 body.home-release #request .request-address-note { margin:20px 0 0!important; color:#6e777e!important; max-width:none!important; }
 body.home-release #request .mp-lead-form { grid-area:form!important; padding:28px!important; background:#fff; border:1px solid #dce0e1; border-radius:10px; }
 body.home-release #request .request-form-title { margin:0 0 22px!important; }
 body.home-release #request .mp-form-grid { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:18px!important; }
 body.home-release #request .mp-field-wide { grid-column:1/-1!important; }
 body.home-release #request .mp-form-grid input { min-height:52px!important; padding:12px 14px!important; }
 body.home-release #request .mp-form-grid textarea { min-height:80px!important; padding:12px 14px!important; }
 body.home-release #request .mp-form-grid label { gap:8px!important; }
 body.home-release #request .mp-form-grid label>span { display:inline!important; }
 body.home-release #request .mp-consent { margin:18px 0!important; }
 body.home-release #request .mp-lead-form>.mp-action { min-height:52px!important; }
 body.home-release .request-bottom { grid-area:bottom!important; grid-column:1/-1; margin-top:28px; }
 body.home-release #request .release-split-notice {
  display:flex!important; align-items:center!important; gap:16px!important;
  width:100%!important; max-width:none!important; padding:18px 0!important; margin:0!important;
  background:transparent!important; border:0!important; border-top:1px solid #d1d6d7!important; border-radius:0!important;
 }
 body.home-release #request .release-split-notice>span:nth-child(2) { flex:1; }
 body.home-release #request .release-split-notice strong { display:inline!important; margin-right:8px; }
 body.home-release #request .release-split-symbol { width:36px!important; height:36px!important; flex:none; }
 body.home-release #request .release-split-notice>a { flex:none; margin:0!important; }
 body.home-release .release-footer-links { padding-block:24px!important; }
 /* The process section already owns its spacing; its wrapper must not add 240px. */
 body.home-release .pr-polosa:has(> #process) { padding-block:0!important; }
 @media (min-width:768px) {
  /* Distribute the shorter column through the full height of the form.
     The last text group shares its bottom edge instead of leaving a blank tail. */
  body.home-release #request .request-heading { margin-bottom:40px!important; }
  body.home-release #request .request-heading>p { margin-top:48px!important; }
  body.home-release #request .mp-callback-copy {
   align-self:stretch!important; display:flex!important; flex-direction:column!important;
   justify-content:space-between!important; gap:24px!important;
  }
  body.home-release #request .mp-callback-copy :is(.request-contact-row,.mp-text-button,.request-address-note) {
   margin-top:0!important;
  }
  body.home-release #request .mp-callback-copy>.mp-text-button { align-self:start; }
 }
 @media (min-width:768px) and (max-width:999px) {
  body.home-release #request .mp-callback-copy { gap:16px!important; }
 }
 @media (min-width:1200px) {
  /* Use the clear lower-left part of the image canvas for the heading.
     The form starts below the car, with its own offset in the same grid. */
  body.home-release #request.home-compact-request { margin-top:-96px!important; padding-top:0!important; position:relative; z-index:2; background:linear-gradient(to bottom,transparent 0 96px,#f5f3ee 96px 100%)!important; }
  body.home-release #request .mp-lead-form { margin-top:136px!important; }
 }
 @media (max-width:1199px) {
  body.home-release :is(#mf-process.home-compact-process,#mf-details.home-stories,#request.home-compact-request) { padding-block:56px!important; }
  body.home-release #mf-process.home-compact-process { padding-top:112px!important; }
  body.home-release :is(.home-composition-container,#mf-process .process-grid) { width:calc(100% - 48px)!important; }
  body.home-release #mf-process .process-grid { gap:32px!important; }
  body.home-release #mf-process .process-movie { height:460px!important; }
  body.home-release .home-stories-heading, body.home-release .request-heading { gap:32px; margin-bottom:32px; }
  body.home-release #request .mp-callback-inner { gap:0 32px!important; }
  body.home-release #voprosy .v16-faq__avto { margin-top:40px!important; }
  body.home-release #request.home-compact-request { padding-top:32px!important; }
  body.home-release #request .mp-lead-form { padding:22px!important; }
  body.home-release #request .mp-form-grid { grid-template-columns:1fr!important; }
 }
 @media (max-width:767px) {
  body.home-release :is(#mf-process.home-compact-process,#mf-details.home-stories,#request.home-compact-request) { padding-block:48px!important; }
  body.home-release #mf-process.home-compact-process { padding-top:88px!important; }
  body.home-release :is(.home-composition-container,#mf-process .process-grid) { width:calc(100% - 40px)!important; }
  body.home-release #mf-process .process-grid { grid-template-columns:1fr!important; gap:24px!important; }
  body.home-release #mf-process .process-movie { height:auto!important; aspect-ratio:4/3!important; }
  body.home-release #mf-process .process-steps { margin-top:20px!important; }
  body.home-release #mf-process .process-steps>div { padding-block:14px!important; }
  body.home-release .home-stories-heading, body.home-release .request-heading { grid-template-columns:1fr; gap:20px; margin-bottom:28px; }
  body.home-release .home-stories-grid { grid-template-columns:1fr; gap:32px; }
  body.home-release #mf-details .detail-window { aspect-ratio:16/9!important; }
  body.home-release #mf-details figcaption { flex-wrap:wrap; gap:4px 12px; }
  body.home-release .home-story-copy { padding-top:16px; }
  body.home-release #voprosy .v16-faq__avto { margin-top:32px!important; }
  body.home-release #request.home-compact-request { padding-top:24px!important; }
  body.home-release #request .mp-callback-inner { grid-template-columns:1fr!important; grid-template-areas:"heading" "form" "copy" "bottom"!important; grid-template-rows:auto!important; gap:0!important; }
  body.home-release #request .request-heading { order:0; }
  body.home-release #request .mp-lead-form { order:1; margin-top:0!important; padding:20px!important; }
  body.home-release #request .mp-callback-copy { order:2; display:flex; flex-direction:column; margin-top:24px; }
  body.home-release #request .request-bottom { order:3; }
  body.home-release .request-photo-copy { margin-top:0; }
  body.home-release #request .mp-text-button { align-self:start; }
  body.home-release .request-contact-row { margin-top:20px; align-items:start; }
  body.home-release .request-contact-row .mp-action { min-height:44px; width:100%; }
  body.home-release #request .release-split-notice { align-items:start!important; flex-wrap:wrap; }
  body.home-release #request .release-split-notice>span:nth-child(2) { flex-basis:calc(100% - 60px); }
  body.home-release #request .release-split-notice>a { margin-left:52px!important; }
 }
}
