/*
 * The feature and team pages (/features/*, /solutions/*): the home page's own
 * hero, films and sections, plus the three things only these pages have.
 * DESIGN.md §9, "The public site's menus and feature pages".
 */

/* ---------- A narrated film: its poster until a click, then sound and controls ---------- */

.crux-film-169 video {
  aspect-ratio: 16 / 9;
}

.feat-play {
  position: relative;
}

.feat-play button {
  position: absolute;
  bottom: 24px;
  left: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: 450 15px/1 var(--font);
  box-shadow: 0 8px 24px rgb(17 17 17 / 0.08);
  cursor: pointer;
}

.feat-play button i {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ink);
}

.feat-play button i::after {
  margin-left: 2px;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid #fff;
  content: "";
}

.feat-play button small {
  color: var(--muted);
  font-size: 13px;
}

/* ---------- What it shows: the feature's parts, two to a row ---------- */

.feat-kinds {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr);
  gap: 64px;
}

.feat-kinds dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  margin: 0;
}

.feat-kinds dl div {
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.feat-kinds dt {
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
}

.feat-kinds dt a {
  text-decoration: none;
}

.feat-kinds dt a::after {
  color: var(--muted);
  content: " →";
}

.feat-kinds dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

/* ---------- Works with: three other pages ---------- */

.feat-related {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.feat-related a {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
}

.feat-related img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.feat-related b {
  color: var(--ink);
  font-size: 17px;
  font-weight: 500;
}

.feat-related span {
  color: var(--muted);
  font-size: 15px;
}

@media (max-width: 960px) {
  .feat-kinds {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .feat-kinds dl,
  .feat-related {
    grid-template-columns: 1fr;
  }

  .feat-play button {
    bottom: 12px;
    left: 12px;
    padding: 6px 14px 6px 6px;
    font-size: 14px;
  }

  .feat-play button small {
    display: none;
  }
}
