/* Kinoward Mini on the public site: two finished films, a gently sliding strip of Mini posters and the three steps. */

.mini-films {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.mini-film figcaption {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 18px;
}
.mini-film h3 { font-size: 30px; }
.mini-facts {
  display: flex;
  gap: 28px;
  margin: 0;
}
.mini-facts > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-facts dt {
  order: 1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mini-facts dd {
  margin: 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: 24px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
}

.mini-poster-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-top: 80px;
  margin-bottom: 22px;
}
.mini-poster-head p:last-child {
  display: flex;
  align-items: baseline;
  gap: 18px;
  color: var(--copy);
  font-size: 17px;
}
.mini-slide-toggle {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--control-line);
  background: none;
  color: var(--paper);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.mini-slide-toggle:hover { border-color: var(--paper); }

/* Every poster is the same size. Without the slide (no script, or reduced motion) the strip scrolls sideways. */
.mini-posters {
  --poster-width: 270px;
  --poster-gap: 14px;
  display: flex;
  gap: var(--poster-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mini-posters li { flex: 0 0 var(--poster-width); }
.mini-posters img {
  aspect-ratio: 720 / 1084;
  object-fit: cover;
  background: var(--media-bg);
}
.mini-marquee {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}
.mini-marquee li { scroll-snap-align: start; }

/* The slide: the nine posters are shown twice in a row. A script moves the row slowly to the left and wraps it
   by exactly one set, so the loop has no seam. People can drag it either way; it glides on, then eases back. */
.mini-marquee.is-sliding {
  overflow: hidden;
  scroll-snap-type: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.mini-marquee.is-dragging { cursor: grabbing; }
.mini-marquee.is-sliding .mini-posters {
  width: max-content;
  will-change: transform;
}
.mini-marquee.is-sliding img {
  pointer-events: none;
  -webkit-user-drag: none;
}

.mini-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.mini-steps p {
  margin-top: 10px;
  color: var(--copy);
  font-size: 18px;
}

@media (max-width: 1100px) {
  .mini-posters { --poster-width: 220px; }
}
@media (max-width: 820px) {
  .mini-films { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .mini-poster-head { display: block; margin-top: 64px; }
  .mini-poster-head p:last-child { margin-top: 10px; font-size: 16px; justify-content: space-between; }
}
@media (max-width: 560px) {
  .mini-film figcaption { display: block; }
  .mini-facts { margin-top: 12px; }
  .mini-posters { --poster-width: 160px; --poster-gap: 10px; }
  .mini-steps { grid-template-columns: minmax(0, 1fr); gap: 18px; margin-top: 40px; padding-top: 22px; }
  .mini-steps p { font-size: 16px; margin-top: 4px; }
}

/* Product page: copy beside three posters. */
.mini-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 80px;
  align-items: center;
}
.mini-product-copy h2 { margin-top: 20px; }
.mini-product-copy > p:not(.eyebrow) {
  max-width: 460px;
  margin-top: 24px;
  color: var(--copy);
  font-size: 17px;
}
.mini-product-copy .text-action { margin-top: 25px; }
.mini-product .mini-posters {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.mini-product .mini-posters li { flex: none; }
@media (max-width: 1100px) {
  .mini-product { gap: 45px; }
}
@media (max-width: 820px) {
  .mini-product { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .mini-product .mini-posters { gap: 8px; }
}
