/* ============ HOME SHOWCASE (11-04u) ============
   The ten "new feature" sections on the front page.
   Bodies: content/home/00-intro.html .. 10-*.html, pulled into
   content/index.html with <!--#include --> (build.py expand_includes).
   Screenshots: Website/home/*.png. Until a shot exists, its slot shows
   the dashed placeholder with the shot description (see SHOTLIST.md). */

.show-intro {
  max-width: 1180px;
  margin: clamp(30px, 5vw, 60px) auto 0;
  padding: 0 clamp(16px, 5vw, 64px);
  text-align: center;
}

.show-intro h2 {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1;
}

.show-intro p {
  max-width: 760px;
  margin: 16px auto 0;
  color: var(--text-mid);
  font-size: 17px;
}

.show-jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
  list-style: none;
}

.show-jump a {
  display: inline-block;
  padding: 7px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--text-mid);
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .03em;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}

.show-jump a:hover { border-color: var(--accent); color: var(--text); }
.show-jump b { color: var(--accent); font-weight: 600; margin-right: 6px; }

/* ---------- one section ---------- */

.show {
  padding: clamp(56px, 8vw, 104px) clamp(16px, 5vw, 64px);
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 70px;
}

.show-alt { background: var(--bg-alt); }

.show-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(26px, 4vw, 60px);
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.show-flip .show-copy { order: 2; }
.show-flip .show-media { order: 1; }

.show-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2.5px;
  color: var(--show-c, var(--accent));
  margin-bottom: 12px;
}

.show-kicker .show-num {
  padding: 2px 8px;
  border: 1px solid currentColor;
  border-radius: 6px;
}

.show-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.12;
}

.show-lede {
  margin-top: 14px;
  color: var(--text-mid);
  font-size: 16.5px;
}

.show-points {
  list-style: none;
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

.show-points li {
  position: relative;
  padding-left: 20px;
  color: var(--text-mid);
  font-size: 15px;
  line-height: 1.5;
}

.show-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--show-c, var(--accent));
}

.show-points strong { color: var(--text); font-weight: 600; }

.show-brag {
  margin-top: 20px;
  padding: 14px 16px;
  border-left: 3px solid var(--show-c, var(--accent));
  background: var(--panel);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--text-mid);
  font-size: 14.5px;
}

.show-brag strong { color: var(--text); }

.show-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.show-stat {
  flex: 1 1 140px;
  padding: 12px 14px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.show-stat b {
  display: block;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--show-c, var(--accent));
}

.show-stat span { color: var(--text-dim); font-size: 12.5px; line-height: 1.4; }

.show-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- screenshots ---------- */

.show-media { display: grid; gap: 12px; }

.shot {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  overflow: hidden;
  background:
    repeating-linear-gradient(45deg, transparent 0 14px, rgba(255,255,255,.025) 14px 28px),
    var(--panel);
  border: 1px dashed var(--line);
  box-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shot:has(img) { border-style: solid; }

.shot-need {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 18px;
  text-align: center;
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.45;
}

.shot-need b { color: var(--show-c, var(--accent)); letter-spacing: 1.5px; }

.shot-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.shot-strip .shot { aspect-ratio: 4 / 3; box-shadow: none; }
.shot-strip .shot-need { font-size: 10.5px; padding: 8px; }

.shot-cap {
  display: block;
  margin-top: 6px;
  color: var(--text-dim);
  font-size: 12.5px;
  text-align: center;
}

/* ---------- small screens ---------- */

@media (max-width: 900px) {
  .show-row { grid-template-columns: 1fr; }
  .show-flip .show-copy, .show-copy { order: 2; }
  .show-flip .show-media, .show-media { order: 1; }
}

@media (max-width: 520px) {
  .shot-strip { grid-template-columns: 1fr 1fr; }
  .shot-strip figure:nth-child(3) { display: none; }
}
