/* Original sections with adjacent, vertically centered content. */
.media-picture { display: contents; }
.lots-layout, .purchase-layout, .about-layout, .company-layout { grid-template-columns: repeat(2, minmax(0, 400px)); justify-content: center; gap: 36px; width: 100%; max-width: 1000px; margin-inline: auto; }
.lots-copy, .purchase-details { justify-self: end; max-width: 360px; width: 100%; }
.lots-picture, .purchase-scene { display: flex; align-items: center; justify-content: flex-start; container-type: size; }
/* Give the complete cutout more room without clipping or stretching the goods. */
.lots-layout { grid-template-columns: minmax(0, 360px) minmax(0, 540px); max-width: 936px; }
.lots-picture { justify-content: center; padding: 8px; }
.lots-picture img { object-fit: contain; object-position: center; }
.purchase-scene img { object-position: left center; }
.about-copy { max-width: 360px; }
.company-copy { max-width: 360px; }
.assembly-pallet { --assembly: 1; flex: 0 1 auto; position: relative; width: min(100cqw, calc(100cqh * .666667), 420px); height: auto; aspect-ratio: 2 / 3; transform: translateY(calc(-3% - var(--assembly) * 15.3%)); transition: transform .18s ease-out; }
.assembly-tier { position: absolute; inset: 0; transition: transform .18s ease-out; }
.assembly-tier img { position: absolute; left: 0; width: 100%; height: auto; max-width: none; }
.assembly-tier--top { transform: translateY(calc(var(--assembly) * 30.5%)); }
.assembly-tier--middle { transform: translateY(calc(var(--assembly) * 19.5%)); }
.assembly-tier--bottom { transform: translateY(calc(var(--assembly) * 10.7%)); }
.assembly-tier--top img { top: 0; }
.assembly-tier--middle img { top: 30.598958%; }
.assembly-tier--bottom img { top: 57.291667%; }
.assembly-tier--base img { top: 81.380208%; }

/* The reference's triptych: a wider center and opposing curved inner edges. */
.photo-strip { position: relative; display: grid; align-items: center; height: calc(var(--viewport-unit) * 100); background: var(--mm-white); }
.photo-strip-masks { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.photo-strip-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(8px, 1.3vw, 20px); width: 100%; height: calc(var(--viewport-unit) * 76); }
.photo-strip figure { min-width: 0; height: 100%; overflow: hidden; }
.photo-strip figure:nth-child(1) { clip-path: url(#photo-mask-warehouse); }
.photo-strip figure:nth-child(2) { clip-path: url(#photo-mask-packing); }
.photo-strip figure:nth-child(3) { clip-path: url(#photo-mask-clothing); }
.photo-strip.is-in-view figure { will-change: transform; }
.photo-strip.is-in-view img { will-change: transform; }
.photo-strip img { width: 100%; height: 100%; object-fit: cover; }
.photo-strip figure:nth-child(2) img { object-position: 46% center; }
.photo-strip figure:nth-child(3) img { object-position: 42% center; }
@media (max-width: 767px) {
  /* Let mobile sections breathe and grow naturally on shorter screens. */
  .lots, .purchase, .about { --mobile-section-top: clamp(116px, calc(var(--viewport-unit) * 14), 136px); --mobile-section-bottom: clamp(64px, calc(var(--viewport-unit) * 9), 88px); height: auto; min-height: calc(var(--viewport-unit) * 100); padding-block: var(--mobile-section-top) var(--mobile-section-bottom); text-align: center; }
  .purchase { --delivery-balance: clamp(24px, calc(var(--viewport-unit) * 4), 36px); }
  .lots .section-grid, .purchase .section-grid, .about .section-grid { height: auto; min-height: calc(calc(var(--viewport-unit) * 100) - var(--mobile-section-top) - var(--mobile-section-bottom)); grid-template-rows: auto auto; align-content: center; gap: clamp(32px, calc(var(--viewport-unit) * 4.5), 44px); }
  /* Bring the heading and assembled pallet together around their shared center. */
  .purchase-heading { position: relative; top: var(--delivery-balance); }
  .lots-layout, .purchase-layout, .about-layout, .company-layout, .company-work .company-layout { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 22px; align-items: center; }
  .lots-picture, .purchase-scene { grid-row: 1; justify-content: center; }
  .lots-layout, .purchase-layout, .about .about-layout { grid-template-rows: auto auto; align-content: center; gap: 32px; }
  .lots-picture { width: calc(100% + 24px); height: auto; aspect-ratio: 2 / 1; margin-inline: -12px; padding: 0; }
  .lots-picture img { height: auto; }
  .purchase-scene { height: clamp(240px, calc(var(--viewport-unit) * 34), 340px); }
  .assembly-pallet { transform: translateY(calc(1.6% - var(--delivery-balance) * var(--assembly))); }
  .lots-copy, .purchase-details { grid-row: 2; justify-self: center; max-width: 360px; width: 100%; text-align: center; }
  .lots-picture img { object-position: center bottom; }
  .lots-copy { gap: 26px; }
  .lot-direction h3, .purchase-details h3 { font-size: 18px; text-align: center; }
  .lot-direction p, .purchase-details p { display: block; margin-inline: auto; font-size: 16px; }
  .lots-request p, .purchase-details p { max-width: 320px; margin-inline: auto; }
  .purchase-details { grid-template-columns: 1fr; gap: 28px; }
  .about-copy { align-items: center; font-size: 16px; gap: 20px; text-align: center; }
  .about-principle { font-size: 20px; }
  .about .about-photo { grid-row: 1; width: min(100%, 400px); height: auto; aspect-ratio: 4 / 3; justify-self: center; }
  .about-copy { grid-row: 2; justify-self: center; max-width: 360px; }
  .company-photo { grid-row: 1; }
  .company-copy { grid-row: 2; max-width: none; }
  .contact-address { width: 100%; max-width: 360px; }
  .store-location-select { max-width: 100%; text-align: center; }
  .photo-strip { height: auto; padding-block: clamp(28px, calc(var(--viewport-unit) * 5), 48px); }
  .photo-strip-row { grid-template-columns: minmax(0, 1fr); width: min(calc(100% - 48px), 560px); height: auto; margin-inline: auto; gap: clamp(10px, calc(var(--viewport-unit) * 1.5), 16px); }
  .photo-strip figure { height: clamp(96px, calc(var(--viewport-unit) * 21), 208px); }
  .photo-strip figure:nth-child(1) img { object-position: center 48%; }
  .photo-strip figure:nth-child(2) img { object-position: 46% 52%; }
  .photo-strip figure:nth-child(3) img { object-position: 42% 48%; }
}
@media (prefers-reduced-motion: reduce) {
  .assembly-tier, .assembly-pallet { transition: none; }
}
