.sp-video-file {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--ink);
}

.sp-video-file[hidden] {
  display: none;
}

.ref-block {
  position: relative;
  padding: var(--cap-pad) 0;
  color: var(--text-main);
  border-top: 1px solid var(--border-light);
}

.ref-block::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 56px;
  height: 3px;
  background: var(--accent);
}

.ref-head {
  max-width: 64ch;
}

.ref-block--end::before {
  left: auto;
  right: 0;
}

.ref-block--end .ref-head {
  max-width: none;
  margin-left: auto;
  text-align: right;
}

.ref-block--end .ref-text {
  max-width: none;
  margin-left: auto;
}

.ref-head .num {
  display: block;
  color: var(--accent);
}

.ref-title {
  margin: 0.6rem 0 0;
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.ref-text {
  max-width: 60ch;
  margin: 1rem 0 0;
  text-wrap: balance;
  font-size: clamp(1rem, 1.4vw, 1.05rem);
  color: var(--text-muted);
}

.ref-featured {
  margin-top: clamp(1.5rem, 4vh, 2.25rem);
}

.ref-featured .ref-case:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
