/* "what it does": a plain-words lede, the demo reel in a taped sticker frame, and a packing slip of features + downloads. */

.what { padding: 104px 0 30px; }
.what-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  grid-template-areas: "reel lede" "reel pack";
  grid-template-rows: auto 1fr;
  gap: 28px 56px;
  align-items: start;
}
.what-lede { grid-area: lede; font-size: var(--t-lede); line-height: 1.5; max-width: 44ch; }
.what-lede b { font-weight: 600; background: linear-gradient(transparent 58%, var(--butter) 58%); }

/* ---------- the demo reel ---------- */

.reel { grid-area: reel; position: relative; margin: 0; rotate: -1deg; }
.reel-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: var(--line);
  border-radius: 22px;
  background:
    linear-gradient(var(--mat-line) 1px, transparent 1px) 0 0 / 25px 25px,
    linear-gradient(90deg, var(--mat-line) 1px, transparent 1px) 0 0 / 25px 25px,
    var(--mat);
  box-shadow: 8px 8px 0 var(--ink);
}
.reel-tape {
  position: absolute;
  top: -13px;
  left: 50%;
  z-index: 2;
  width: 110px;
  height: 28px;
  translate: -50% 0;
  rotate: 3deg;
  background: rgba(246, 184, 200, 0.88);
  border: 2px solid var(--ink);
}
/* sits under the video: shows until the poster paints, and stays if the video file isn't there */
.reel-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 10px;
  color: var(--cream);
  text-align: center;
}
.reel-cap {
  display: grid;
  place-items: center;
  width: clamp(64px, 9vw, 92px);
  aspect-ratio: 1.15;
  border: var(--line);
  border-radius: 14px;
  background: var(--butter);
  box-shadow: 0 6px 0 var(--ink);
  color: var(--ink);
  font-size: clamp(22px, 3vw, 32px);
  padding-left: 0.15em;
}
.reel-ph b { font: 400 clamp(26px, 3.4vw, 40px) / 1 var(--display); color: var(--butter); text-shadow: 3px 3px 0 var(--ink); }
.reel-soon { display: none; font: 400 24px/1 var(--hand); color: var(--mint-soft); }
.reel-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: transparent; }
.reel.is-missing .reel-video { display: none; }
.reel.is-missing .reel-soon { display: block; }
.reel figcaption { margin-top: 18px; color: var(--red-ink); }

/* ---------- packing slip ---------- */

.packing {
  grid-area: pack;
  padding: 18px 22px 24px;
  border: var(--line);
  border-radius: 18px;
  background: var(--cream);
  box-shadow: 6px 6px 0 var(--ink);
  rotate: 0.6deg;
}
.packing-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  margin-bottom: 6px;
  border-bottom: 2px dashed var(--red-ink);
  color: var(--red-ink);
}
.what-list { list-style: none; }
.what-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  column-gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dashed rgba(30, 27, 24, 0.22);
}
.what-list li::before {
  content: "✓";
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-top: 1px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--mint-soft);
  font: 700 14px/1 var(--ui);
}
.what-list b { font-weight: 600; font-size: 17px; line-height: 1.3; }
.what-list span { font-size: 15px; line-height: 1.4; color: var(--ink-soft); }

.get { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 22px; }
.get .fine { flex-basis: 100%; }
.get .btn-dl { font-size: 17px; padding: 13px 20px 14px; }
.btn-win { background: var(--mat); }
.dl-pair { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.dl-pair .btn-dl { text-align: center; }

/* ---------- responsive ---------- */

@media (max-width: 960px) {
  .what { padding-top: 84px; }
  .what-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "lede" "reel" "pack"; grid-template-rows: none; gap: 34px; }
  .what-lede { max-width: 52ch; }
  .packing { max-width: 640px; }
}
@media (max-width: 599px) {
  .what { padding-top: 72px; }
  .reel { rotate: -0.6deg; }
  .reel-frame { border-radius: 16px; box-shadow: 5px 5px 0 var(--ink); }
  .reel-tape { width: 84px; height: 22px; top: -10px; }
  .reel figcaption { margin-top: 14px; }
  .packing { padding: 14px 16px 20px; rotate: 0deg; }
  .get .btn-dl { flex: 1 1 100%; text-align: center; }
  .dl-pair { width: 100%; }
  .what-list li { padding: 7px 0; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .reel { width: min(100%, (100dvh - 90px) * 16 / 9); margin-inline: auto; } /* keep the whole frame on one short screen */
}
