@font-face { font-family: "Lilita One"; src: url(/fonts/LilitaOne-Regular.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 600; src: url(/fonts/Poppins-SemiBold.ttf) format("truetype"); font-display: swap; }
@font-face { font-family: "Poppins"; font-weight: 700; src: url(/fonts/Poppins-Bold.ttf) format("truetype"); font-display: swap; }

:root { --blue: #1e4f8f; --blue-l: #e3edf8; --ink: #14202e; --koi: #f08a24; --koi-l: #ffa94d; --paper: #fbf8f2; --card: #ffffff;
  --muted: #5d6877; --rule: #e6e0d4; --r: 20px; }
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); font: 600 16px/1.5 Poppins, system-ui, sans-serif; -webkit-font-smoothing: antialiased;
  background: var(--paper); }
/* a faint drafting grid behind the top of the page only */
body::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 520px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(30,79,143,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(30,79,143,.07) 1px, transparent 1px);
  background-size: 28px 28px; -webkit-mask-image: linear-gradient(#000, transparent); mask-image: linear-gradient(#000, transparent); }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
h1, h2, h3 { font-family: "Lilita One", Poppins, sans-serif; font-weight: 400; line-height: 1.08; margin: 0; letter-spacing: .005em; }
.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }

.top { display: flex; align-items: center; justify-content: space-between; padding: 22px 0 4px; }
.logo img { width: 186px; height: auto; }
.yt { text-decoration: none; font-size: 14px; color: var(--ink); background: #fff; border: 2px solid var(--ink); border-radius: 99px; padding: 6px 16px; }
.yt:hover { background: var(--ink); color: #fff; }

.intro { padding: 34px 0 30px; }
.intro h1 { font-size: clamp(38px, 5.6vw, 62px); }
.hl { color: var(--blue); }
.intro p { margin: 12px 0 0; color: var(--muted); font-size: 18px; }

/* video cards: one frame holds the short and its links */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 18px; }
.card { display: grid; grid-template-columns: 104px 1fr; gap: 16px; align-items: center; padding: 12px; text-decoration: none; color: var(--ink);
  background: #fff; border: 2px solid var(--ink); border-radius: 22px; box-shadow: 0 10px 24px -16px rgba(20,32,46,.6);
  transition: transform .15s, box-shadow .15s; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 16px 30px -16px rgba(20,32,46,.65); }
.poster { position: relative; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--blue); border: 2px solid var(--ink); }
.poster img, .poster video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.poster video { opacity: 0; transition: opacity .2s; }
.card.playing .poster video { opacity: 1; }
.pbtn { position: absolute; left: 50%; top: 80%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff;
  border: 2px solid var(--ink); transition: opacity .2s; }
.pbtn::after { content: ""; position: absolute; left: 14px; top: 10px; border-style: solid; border-width: 8px 0 8px 12px; border-color: transparent transparent transparent var(--koi); }
.card.playing .pbtn { opacity: 0; }
.tag { display: inline-block; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; background: var(--blue-l); color: var(--blue);
  border-radius: 99px; padding: 3px 11px; }
.card h3 { font-size: 22px; margin: 8px 0 12px; }
.count { display: inline-block; background: var(--koi); color: var(--ink); border-radius: 99px; padding: 6px 15px; font-size: 14px; font-weight: 700; }
a.card:hover .count { background: var(--koi-l); }
/* not built yet: still a blueprint */
.card.soon { background: transparent; border: 2px dashed #c4bdaf; box-shadow: none; }
.poster.bp { display: grid; place-items: center; border: 2px dashed rgba(30,79,143,.45); background-color: #eaf1f9;
  background-image: linear-gradient(rgba(30,79,143,.13) 1px, transparent 1px), linear-gradient(90deg, rgba(30,79,143,.13) 1px, transparent 1px);
  background-size: 12px 12px; }
.poster.bp span { font-family: "Lilita One"; font-size: 18px; color: var(--blue); }
.card.soon h3 { color: var(--muted); }
.count.off { background: transparent; color: var(--muted); border: 1.5px dashed #b9b2a4; font-weight: 600; font-size: 13px; }
.ask { margin: 34px 0 0; color: var(--muted); }

/* setup page */
.back { display: inline-block; margin: 14px 0 20px; text-decoration: none; color: var(--muted); }
.back:hover { color: var(--ink); }
.build { display: grid; grid-template-columns: 320px 1fr; gap: 44px; align-items: start; }
.media { position: sticky; top: 20px; }
.media video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; border-radius: var(--r); background: var(--ink);
  box-shadow: 0 20px 40px -20px rgba(20,32,46,.6); }
.watch { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; text-decoration: none; color: #fff;
  background: var(--ink); border-radius: 99px; padding: 10px 14px; }
.watch:hover { background: var(--blue); }
.play { position: relative; display: inline-block; width: 22px; height: 22px; border-radius: 50%; background: var(--koi); }
.play::after { content: ""; position: absolute; left: 8px; top: 6px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.info .tag { background: var(--blue-l); color: var(--blue); }
.info h1 { font-size: clamp(34px, 4.6vw, 52px); margin: 12px 0 10px; }
.lead { color: var(--muted); font-size: 17px; margin: 0 0 30px; max-width: 620px; }
.info h2 { font-size: 24px; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.info h2 small { font-family: Poppins; font-size: 13px; background: var(--ink); color: #fff; border-radius: 99px; padding: 1px 10px; }
.parts { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.part { position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 16px; align-items: center; background: var(--card);
  border-radius: 16px; padding: 10px 14px 10px 10px; box-shadow: 0 1px 0 rgba(20,32,46,.06), 0 8px 20px -14px rgba(20,32,46,.45); }
.part > img { width: 76px; height: 76px; border-radius: 11px; object-fit: cover; }
.n { position: absolute; left: 4px; top: 4px; display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 99px;
  background: var(--ink); color: #fff; font-size: 12px; }
.pt b { display: block; font-size: 16px; line-height: 1.3; }
.pt span { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.shop { white-space: nowrap; text-decoration: none; background: var(--koi); color: var(--ink); border-radius: 99px; padding: 9px 16px; font-size: 14px; font-weight: 700; }
.shop:hover { background: var(--koi-l); }
.more { font-size: 30px; margin: 64px 0 18px; }

.foot { margin: 56px 0 34px; padding-top: 18px; border-top: 1.5px solid var(--rule); font-size: 13px; color: var(--muted); max-width: 760px; }
.foot p { margin: 0 0 6px; } .foot b { color: var(--ink); }

@media (max-width: 800px) {
  .build { grid-template-columns: 1fr; gap: 26px; }
  .info { order: 1; }
  .media { order: 2; position: relative; top: 0; width: min(260px, 100%); margin: 0 auto; }   /* on a phone the parts come first */
  .part { grid-template-columns: 64px 1fr; }
  .part > img { width: 64px; height: 64px; }
  .shop { grid-column: 2; justify-self: start; padding: 7px 14px; }
  .card { grid-template-columns: 92px 1fr; }
  .card h3 { font-size: 20px; }
  .logo img { width: 150px; }
}
