/* THE END OF A CASE STUDY: the next one, the email with its copy button, and the links home. */

.fin {
  position: relative;
  margin-top: 96px;
  padding-top: 34px;
}
.fin::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.1' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.22  0 0 0 0 0.22  0 0 0 0 0.2  1.4 0 0 0 -0.45'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E")
      0 0 / 120px 120px,
    #dcdcd7;
}
.fin-next {
  display: flex;
  width: fit-content;
  margin-left: auto;
  align-items: center;
  gap: 10px;
  font: 500 18px/24px Inter;
  color: var(--tertiary);
  text-decoration: none;
  transition: color 0.2s;
}
.fin-next svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s;
}
.fin-next:hover {
  color: var(--primary);
}
.fin-next:hover svg {
  transform: translateX(3px);
}
.fin-bar {
  margin-top: 104px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    500 16px/20px 'Geist Mono',
    monospace;
}
.fin-mail {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.fin-mail a {
  color: var(--tertiary);
  text-decoration: none;
  transition: color 0.2s;
}
.fin-mail a:hover {
  color: var(--primary);
}
.fin-copy {
  display: inline-flex;
  padding: 4px;
  border: 0;
  border-radius: 4px;
  background: none;
  color: var(--placeholder);
  cursor: pointer;
  transition: color 0.2s;
}
.fin-copy:hover,
.fin-copy.done {
  color: var(--primary);
}
.fin-copy svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fin-bar nav {
  display: flex;
  gap: 32px;
}
.fin-bar nav a {
  text-decoration: none;
  color: var(--tertiary);
}
.fin-bar nav a.on {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-thickness: 8%;
  text-underline-offset: 4px;
}
@media (max-width: 820px) {
  .fin-bar {
    margin-top: 72px;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}
