.portfolio-film .psychology-film-window {
  position: relative;
  overflow: hidden;
  background: #171817;
  pointer-events: none;
}
.portfolio-film .psychology-film-window iframe {
  position: absolute;
  inset: 0 auto auto 0;
  display: block;
  width: var(--psychology-width, 100%);
  height: var(--psychology-height, 100%);
  border: 0;
  transform: scale(var(--psychology-scale, 1));
  transform-origin: top left;
  pointer-events: none;
}

@font-face {
  font-family: ApiaryPrintGolos;
  src: url("assets/golos-medium.ttf") format("truetype");
  font-weight: 500 900;
  font-display: swap;
}

.apiary-print, .apiary-print * { box-sizing: border-box; }
.picture.apiary-print {
  container: apiary-print / size;
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 2.2%;
  width: 100%;
  padding: 2.4% 4.1% 3%;
  background: #fff;
  color: #252a25;
  font-family: ApiaryPrintGolos, Arial, sans-serif;
  font-weight: 500;
  text-align: left;
  line-height: 1.15;
}
.apiary-print p, .apiary-print h2 { margin: 0; }
.apiary-print__mast { display: flex; align-items: center; gap: 2cqi; }
.apiary-print__wordmark { margin-right: auto; font-size: 3.5cqi; font-weight: 650; letter-spacing: -.065em; white-space: nowrap; }
.apiary-print__menu, .apiary-print__search { display: inline-flex; align-items: center; gap: .9cqi; height: 4.9cqi; border-radius: .65cqi; font-size: 1.65cqi; white-space: nowrap; }
.apiary-print__menu { background: #efc36c; padding-inline: 1.5cqi; }
.apiary-print__search { flex: 1; padding-inline: 1.3cqi; border: 1px solid #dbddd7; color: #6a6c64; }
.apiary-print__mast svg { width: 2.35cqi; height: 2.35cqi; flex: none; }
.apiary-print__mast .apiary-print__heart { width: 3.25cqi; height: 3.25cqi; }
.apiary-print__hero { position: relative; isolation: isolate; overflow: hidden; min-height: 0; border-radius: 1.35cqi; background: #233323; color: #fffdf4; display: flex; align-items: center; }
.apiary-print__hero > .apiary-print__photo { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 57% 44%; z-index: -3; }
.apiary-print__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg,rgba(12,30,19,.93),rgba(12,30,19,.69) 29%,rgba(12,30,19,.08) 65%,transparent); }
.apiary-print__copy { padding: 3.2cqi 5cqi; }
.apiary-print .apiary-print__kicker { display: flex; align-items: center; gap: 1.2cqi; color: #f3d28a; font-size: 1.6cqi; }
.apiary-print__kicker::before { content: ""; width: 2.8cqi; height: 1px; background: currentColor; }
.apiary-print .apiary-print__copy h2 { margin: 1.25cqi 0 1.3cqi; padding: 0; font: 600 6.65cqi/.98 ApiaryPrintGolos, Arial, sans-serif; color: inherit; text-transform: none; letter-spacing: -.055em; }
.apiary-print .apiary-print__intro { color: #fffdf4; font-size: 2.05cqi; line-height: 1.25; }
.apiary-print__browse, .apiary-print__hotspot { display: inline-flex; align-items: center; width: fit-content; border-radius: .65cqi; font-size: 1.65cqi; line-height: 1; white-space: nowrap; }
.apiary-print__browse { background: #efc36b; color: #272a20; margin-top: 2.1cqi; padding: 1.55cqi 1.95cqi; }
.apiary-print__hotspot { position: absolute; right: 13%; bottom: 15%; padding: 1.35cqi 1.55cqi; color: #2c3024; background: #fffae7; box-shadow: 0 1px 5px #2730193b; }
.apiary-print__catalog { min-width: 0; }
.apiary-print .apiary-print__title { color: #262a26; font-size: 3.4cqi; letter-spacing: -.045em; font-weight: 600; line-height: 1; }
.apiary-print .apiary-print__subtitle { margin: .8cqi 0 1.55cqi; color: #454943; font-size: 1.65cqi; line-height: 1.2; }
.apiary-print__tiles { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5cqi; }

@container apiary-print (min-aspect-ratio: 1.35) {
  .apiary-print__copy { padding-block: 1.5cqi; }
  .apiary-print .apiary-print__copy h2 { font-size: 5.4cqi; margin: .9cqi 0; }
  .apiary-print .apiary-print__intro { font-size: 1.72cqi; }
  .apiary-print__browse { margin-top: 1.2cqi; padding: 1.2cqi 1.55cqi; }
}
@container apiary-print (max-aspect-ratio: 1.1) {
  .apiary-print__mast { display: grid; grid-template-columns: max-content 1fr max-content; gap: 1.7cqi; }
  .apiary-print__wordmark { grid-column: 1/3; font-size: 4.9cqi; }
  .apiary-print__mast .apiary-print__heart { grid-column: 3; grid-row: 1; width: 4.8cqi; height: 4.8cqi; }
  .apiary-print__menu, .apiary-print__search { height: 7cqi; font-size: 2.5cqi; padding-inline: 2.6cqi; }
  .apiary-print__search { grid-column: 2/4; }
  .apiary-print__mast svg { width: 3.2cqi; height: 3.2cqi; }
  .apiary-print__hero > .apiary-print__photo { object-position: 72% center; }
  .apiary-print__shade { background: linear-gradient(100deg,rgba(14,34,22,.88),rgba(14,34,22,.35) 66%,transparent); }
  .apiary-print__copy { padding: 4.4cqi; align-self: flex-start; }
  .apiary-print .apiary-print__kicker { font-size: 2.55cqi; }
  .apiary-print .apiary-print__copy h2 { margin: 2cqi 0 2.4cqi; font-size: 8.9cqi; }
  .apiary-print .apiary-print__intro { font-size: 2.85cqi; }
  .apiary-print__browse { margin-top: 2.6cqi; font-size: 2.6cqi; padding: 1.9cqi 2.2cqi; }
  .apiary-print__hotspot { font-size: 2.45cqi; bottom: 2.7cqi; right: 3cqi; padding: 1.8cqi 2.2cqi; }
  .apiary-print .apiary-print__title { font-size: 5cqi; }
  .apiary-print .apiary-print__subtitle { font-size: 2.55cqi; margin: 1.4cqi 0 2.3cqi; }
  .apiary-print__tiles { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

.apiary-print .apiary-print__tiles > .reel-shop-tile {
  container-type: inline-size;
  position: relative;
  display: block;
  min-width: 0;
  width: 100%;
  aspect-ratio: 250 / 154;
  overflow: hidden;
  border-radius: .6cqi;
  background: white;
}

.apiary-print .reel-shop-tile__art {
  position: absolute;
  top: 52%;
  left: 0;
  width: 100%;
  aspect-ratio: 250 / 155;
  transform: translateY(-52%);
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(min-content, 58%) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 22cqi;
  gap: 0 2.4cqi;
  box-sizing: border-box;
  border: .4cqi solid #d8d9d1;
  border-radius: 3.6cqi;
  background: #fafaf7;
  color: #262d28;
  font-family: ApiaryPrintGolos, Arial, sans-serif;
  text-align: left;
}

.apiary-print .reel-shop-tile__surface,
.apiary-print .reel-shop-tile__art::after {
  position: absolute;
  inset: 0;
  display: block;
  border-radius: inherit;
  pointer-events: none;
}

.apiary-print .reel-shop-tile__surface {
  z-index: -2;
  background-size: cover;
  background-repeat: no-repeat;
}

.apiary-print .reel-shop-tile__art::after {
  content: "";
  z-index: -1;
  background: radial-gradient(ellipse 85% 85% at 6% 86%, rgb(255 255 255 / 96%) 0%, rgb(255 255 255 / 92%) 34%, rgb(255 255 255 / 43%) 74%, transparent 100%);
}

.apiary-print .reel-shop-tile--hives .reel-shop-tile__surface {
  background-image: url("/examples/apiary/assets/material-primary/hive-joinery.webp");
  background-position: 50% 0%;
}

.apiary-print .reel-shop-tile--frames .reel-shop-tile__surface {
  border: 3.2cqi solid transparent;
  border-image: url("/examples/apiary/assets/material-primary/wax-frame.webp") 32 25 27 22 fill / 1 stretch;
  border-radius: .8cqi;
  background: #fffcf6;
}

.apiary-print .reel-shop-tile--frames .reel-shop-tile__art::after {
  inset: 3.2cqi;
  opacity: .82;
}

.apiary-print .reel-shop-tile--clothes .reel-shop-tile__surface {
  background-image: url("/examples/apiary/assets/material-primary/linen-veil.webp");
  background-position: 50% 7%;
}

.apiary-print .reel-shop-tile__specimen {
  position: relative;
  display: block;
  grid-area: 1 / 2;
  min-height: 0;
}

.apiary-print .reel-shop-tile__photo {
  position: absolute;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 1.2cqi .8cqi rgb(56 49 37 / 16%));
}

.apiary-print .reel-shop-tile--hives .reel-shop-tile__photo {
  left: -3%;
  top: 5.6cqi;
  width: 95%;
  height: calc(100% - 5.6cqi);
}

.apiary-print .reel-shop-tile--frames .reel-shop-tile__photo {
  left: -6%;
  top: 6.8cqi;
  width: 98%;
  height: calc(100% - 6.8cqi);
  filter: contrast(1.16) brightness(.93) drop-shadow(.4cqi .8cqi .4cqi rgb(120 91 60 / 38%));
}

.apiary-print .reel-shop-tile--clothes .reel-shop-tile__photo {
  left: 2%;
  top: 7%;
  width: 89%;
  height: 93%;
  overflow: hidden;
}

.apiary-print .reel-shop-tile__name {
  position: relative;
  display: block;
  grid-area: 1 / 1;
  align-self: end;
  margin: 0;
  padding: 4.8cqi 0 0 5.6cqi;
  color: #262d28;
  font: 550 7.2cqi/1.13 ApiaryPrintGolos, Arial, sans-serif;
  letter-spacing: -.025em;
  overflow-wrap: normal;
  text-wrap: wrap;
  text-transform: none;
}

.apiary-print .reel-shop-tile__caption {
  position: relative;
  display: block;
  grid-area: 2 / 1 / 3 / -1;
  align-self: start;
  margin: 0;
  padding: 2cqi 5.2cqi 0 5.6cqi;
  color: #495047;
  font: 400 5.6cqi/1.3 ApiaryPrintGolos, Arial, sans-serif;
  letter-spacing: normal;
  text-transform: none;
}

.apiary-print .reel-shop-tile__arrow {
  position: absolute;
  right: 5.2cqi;
  top: 4.4cqi;
  display: block;
  width: 6cqi;
  height: 6cqi;
  color: #3e483e;
  opacity: .78;
}

.apiary-print .reel-shop-tile__arrow svg {
  display: block;
  width: 100%;
  height: 100%;
}

.apiary-print .reel-shop-tile--hives .reel-shop-tile__art::before {
  position: absolute;
  z-index: 1;
  top: -3.2cqi;
  left: 17%;
  width: 14.4cqi;
  aspect-ratio: 39 / 18;
  background: url("/examples/apiary/assets/catalog/marks/hive-bees.svg") center / contain no-repeat;
  content: "";
}

@container apiary-print (min-aspect-ratio: 1.35) {
  .apiary-print .apiary-print__tiles > .reel-shop-tile {
    aspect-ratio: 2.25;
  }
}

@container apiary-print (max-aspect-ratio: 1.1) {
  .apiary-print .apiary-print__tiles > .reel-shop-tile:last-child {
    display: none;
  }
}
