.hero-actions .lounge-button {
  background: var(--sun);
  color: var(--ink);
  border: 2px solid var(--ink);
  box-shadow: 4px 4px 0 var(--ink);
  padding-top: 13px;
  padding-bottom: 13px;
}

.hero-actions .lounge-button em {
  color: inherit;
  font-family: 'Playfair Display', serif;
  font-style: italic;
}

.hero-actions .lounge-button span {
  color: var(--coral);
  font-size: 20px;
}

.hero-actions .primary,
.hero-actions .lounge-button {
  transition: transform .18s ease, box-shadow .18s ease;
}

.hero-actions .primary:hover,
.hero-actions .lounge-button:hover {
  transform: translate(-1px, -1px);
  box-shadow: 6px 6px 0 var(--ink);
}

@media (max-width: 760px) {
  .hero-actions {
    align-items: stretch;
    flex-wrap: wrap;
    gap: 16px;
  }
}

.student-dots i {
  background-color: #eadfd4;
  background-repeat: no-repeat;
  border-color: var(--cream);
  box-shadow: 0 1px 3px rgba(36, 18, 43, .18);
}

.student-dots i:nth-child(1) {
  background-image: url('assets/students/student-14.jpg');
  background-position: 91% 34%;
  background-size: 205%;
}

.student-dots i:nth-child(2) {
  background-image: url('assets/students/student-24.jpg');
  background-position: 31% 28%;
  background-size: 175%;
}

.student-dots i:nth-child(3) {
  background-image: url('assets/students/student-20.jpg');
  background-position: 9% 30%;
  background-size: 205%;
}

.note-grid figure {
  position: relative;
  margin: 0;
  transition: transform .25s;
}

.note-grid figure img {
  height: auto;
}

.note-grid figure img:hover {
  transform: none;
}

.note-grid figure:nth-child(2),
.note-grid figure:nth-child(6) {
  transform: translateY(29px);
}

.note-grid figure:nth-child(5) {
  transform: translateY(-10px);
}

.note-grid figure:hover {
  transform: translateY(-9px) rotate(1deg);
}

.note-grid figure:nth-child(2):hover,
.note-grid figure:nth-child(6):hover {
  transform: translateY(20px) rotate(-1deg);
}

.note-grid figcaption {
  position: absolute;
  top: 12px;
  right: -4px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px 7px 9px;
  border-left: 3px solid var(--sun);
  background: rgba(36, 18, 43, .72);
  color: #fff;
  box-shadow: 3px 3px 0 rgba(240, 93, 71, .72);
  backdrop-filter: blur(3px);
  font: 600 10px 'DM Sans', sans-serif;
}

.note-grid figcaption span {
  font-size: 16px;
  line-height: 1;
}

@media (max-width: 760px) {
  .note-grid figure {
    flex: 0 0 195px;
    width: 195px;
    scroll-snap-align: start;
  }

  .note-grid figure img {
    width: 100%;
    min-width: 0;
  }

  .note-grid figure:nth-child(2),
  .note-grid figure:nth-child(5),
  .note-grid figure:nth-child(6),
  .note-grid figure:hover,
  .note-grid figure:nth-child(2):hover,
  .note-grid figure:nth-child(6):hover {
    transform: none;
  }

  .note-grid figcaption {
    top: 10px;
    right: -2px;
    padding: 6px 9px 6px 7px;
    font-size: 9px;
  }
}
