/* Loop Parade */

/* as wide as the text and the sections under it */
.lp-hero { width: calc(100% - 40px); aspect-ratio: 3.63758; border-radius: 10px; overflow: hidden; }

/* Chapters: a big heading, the text */
.lp-ch .case-text { gap: 14px; }
.lp-prose { max-width: 760px; }
.lp-prose p { line-height: 1.45em; }
.lp-prose p + p { margin-top: 1em; }
.lp-last { box-shadow: none; }

/* The 31 days on album paper (the Loop Parade album's grid), each loop a white-edged card */
.lp-alb { display: flex; flex-direction: column; gap: 16px; width: 100%; margin: 0; padding: 22px; border: 1px solid #e4e1da; border-radius: 16px; background-color: #f6f6f6; background-image: linear-gradient(#e4e1da 1px, transparent 1px), linear-gradient(90deg, #e4e1da 1px, transparent 1px); background-size: 22px 22px; background-position: -1px -1px; }
.lp-alb-head { font: 700 20px/1.2em "Satoshi", sans-serif; color: var(--ink); }
.lp-alb-grid { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.lp-alb-grid li { position: relative; padding: 5px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 3px 0 rgba(0, 0, 0, .06); transition: transform .45s var(--spring-a); }
.lp-alb-face { aspect-ratio: 1; border-radius: 10px; background: #f5f5f5; overflow: hidden; }
.lp-alb-face video { display: block; width: 100%; height: 100%; object-fit: cover; }
.lp-alb-no { position: absolute; top: 12px; left: 13px; font: 600 12px/1 "Inter", sans-serif; color: rgba(26, 26, 26, .5); }
.lp-alb-halloween .lp-alb-no { color: rgba(255, 255, 255, .8); }
/* the 32nd place: on to the site */
.lp-alb-grid li.lp-alb-more { padding: 0; background: var(--yellow); }
.lp-alb-more a { display: flex; flex-direction: column; justify-content: center; height: 100%; padding: 12px; border-radius: 14px; overflow: hidden; text-decoration: none; white-space: nowrap; color: var(--ink); }
.lp-alb-more b { font: 700 34px/1 "Satoshi", sans-serif; }
.lp-alb-more span { font: 500 12px/1.3em "Inter", sans-serif; }
.lp-alb-more .lp-alb-go { margin-top: 6px; font-weight: 700; }
@media (hover: hover) {
  .lp-alb-grid li:hover { z-index: 1; transform: translateY(-4px); }
}

/* loopparade.com: the album in a browser window and the loop maker on a phone, the same height side by side */
.lp-site { display: grid; grid-template-columns: 2.81fr 1fr; align-items: end; gap: 20px; width: 100%; }
.lp-site figure { margin: 0; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08), 0 10px 30px rgba(0, 0, 0, .06); }
.lp-site img { display: block; width: 100%; height: auto; }
.lp-browser { border-radius: 12px; }
.lp-browser-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-bottom: 1px solid #ecebe6; background: #fafaf8; }
.lp-browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #dedcd6; }
.lp-browser-bar span { margin-left: 10px; font: 500 12px/1 "Inter", sans-serif; color: rgba(26, 26, 26, .45); }
.lp-phone { border-radius: 24px; }

/* The world */
.lp-world { width: 100%; aspect-ratio: 1600 / 700; border-radius: 10px; overflow: hidden; }

@media (max-width: 809.98px) {
  .lp-hero { width: 100%; }
  .lp-site { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .lp-browser { width: 100%; }
  .lp-phone { width: 62%; border-radius: 20px; }
  /* phones: four to a row, eight rows */
  .lp-alb { padding: 12px; border-radius: 12px; }
  .lp-alb-head { font-size: 17px; }
  .lp-alb-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .lp-alb-grid li { padding: 3px; border-radius: 10px; }
  .lp-alb-face { border-radius: 7px; }
  .lp-alb-no { top: 8px; left: 9px; font-size: 10px; }
  .lp-alb-more a { padding: 8px; border-radius: 10px; }
  .lp-alb-more b { font-size: 24px; }
  .lp-alb-more span { font-size: 10px; }
  .lp-alb-more .lp-alb-go { display: none; }
}
