.dictionary-page {
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
}

.dictionary-page .site-header {
  position: absolute;
}

.dictionary-page .site-nav a.is-active {
  color: #fff;
  text-shadow: 0 0 14px rgba(164, 153, 255, .48);
}

.dictionary-page .site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.dictionary-main {
  min-height: 72vh;
}

.dictionary-shell {
  width: var(--shell);
  margin: 0 auto;
}

.dictionary-hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 156px 0 104px;
  background:
    radial-gradient(ellipse at 72% 112%, rgba(48, 103, 115, .48), transparent 42%),
    radial-gradient(circle at 18% 4%, rgba(95, 129, 147, .18), transparent 28rem),
    linear-gradient(180deg, #07131d, #061722 58%, #08202a);
  color: var(--paper-bright);
}

.dictionary-hero::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 24%, rgba(244, 238, 228, .38) 0 1px, transparent 1.5px),
    radial-gradient(circle at 66% 19%, rgba(185, 196, 197, .30) 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 72%, rgba(240, 170, 123, .20) 0 1px, transparent 1.5px);
  background-size: 260px 280px, 330px 360px, 390px 410px;
  content: "";
  opacity: .38;
  pointer-events: none;
}

.dictionary-hero::after {
  position: absolute;
  right: -10%;
  bottom: 70px;
  left: 45%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(185, 196, 197, .24), transparent);
  box-shadow:
    0 24px 0 rgba(185, 196, 197, .06),
    0 52px 0 rgba(185, 196, 197, .035);
  content: "";
  transform: rotate(-2deg);
}

.dictionary-hero .dictionary-shell {
  position: relative;
  z-index: 1;
}

.dictionary-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 42px;
  color: rgba(185, 196, 197, .50);
  font-size: 12px;
}

.dictionary-breadcrumbs a {
  color: rgba(244, 238, 228, .72);
  text-decoration: none;
  transition: color .2s ease;
}

.dictionary-breadcrumbs a:hover {
  color: #fff;
}

.dictionary-eyebrow {
  margin: 0 0 24px;
  color: var(--copper-bright);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.dictionary-title {
  max-width: 900px;
  margin: 0;
  color: var(--paper-bright);
  font-family: var(--display);
  font-size: clamp(72px, 8.5vw, 124px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .82;
}

.dictionary-title em {
  color: var(--copper-bright);
  font-weight: 400;
}

.dictionary-lead {
  max-width: 710px;
  margin: 38px 0 0;
  color: rgba(244, 238, 228, .76);
  font-family: var(--display);
  font-size: clamp(19px, 2vw, 25px);
  line-height: 1.42;
}

.dictionary-catalog {
  padding: clamp(105px, 13vw, 180px) 0;
  background: #dcd5c9;
}

.dictionary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.dictionary-card {
  position: relative;
  min-height: 300px;
  display: grid;
  grid-template-rows: 156px auto 1fr;
  align-content: start;
  padding: 32px 34px 36px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: transparent;
  transition: background-color .22s ease;
}

.dictionary-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.dictionary-card__link:focus-visible {
  outline: 2px solid #9d5d3d;
  outline-offset: -3px;
}

.dictionary-card:hover {
  background: rgba(244, 238, 228, .34);
}

.dictionary-card__art {
  display: block;
  width: 150px;
  height: 136px;
  align-self: start;
  margin: -4px 0 0 -10px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(7, 19, 29, .10));
}

.dictionary-card h2 {
  margin: 18px 0 14px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 31px;
  font-weight: 400;
  line-height: 1;
}

.dictionary-card p {
  max-width: 270px;
  margin: 0;
  color: rgba(7, 19, 29, .62);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 900px) {
  .dictionary-hero {
    min-height: 600px;
    padding-bottom: 84px;
  }

  .dictionary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .dictionary-hero {
    min-height: 570px;
    padding: 116px 0 72px;
  }

  .dictionary-breadcrumbs {
    margin-bottom: 38px;
    font-size: 10px;
  }

  .dictionary-eyebrow {
    margin-bottom: 18px;
  }

  .dictionary-title {
    font-size: clamp(58px, 17vw, 72px);
    line-height: .88;
  }

  .dictionary-lead {
    margin-top: 28px;
    font-size: 19px;
  }

  .dictionary-catalog {
    padding: 76px 0;
  }

  .dictionary-grid {
    grid-template-columns: 1fr;
  }

  .dictionary-card {
    min-height: 0;
    grid-template-columns: 124px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    gap: 6px 18px;
    padding: 24px 22px;
  }

  .dictionary-card__art {
    grid-row: 1 / 3;
    width: 124px;
    height: 112px;
    align-self: center;
    margin: 0;
  }

  .dictionary-card h2 {
    grid-column: 2;
    align-self: end;
    margin: 0;
    font-size: 27px;
  }

  .dictionary-card p {
    grid-column: 2;
    align-self: start;
  }

}
