.culture-feature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 88px 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 213, 94, .23), transparent 28%),
    radial-gradient(circle at 84% 78%, rgba(240, 93, 71, .32), transparent 29%),
    #2f1638;
  color: #fff8ef;
}

/* The Culture Lounge call-to-action stays completely still in every state. */
.culture-book figcaption a,
.culture-book figcaption a:hover,
.culture-book figcaption a:focus-visible,
.culture-book figcaption a:active,
.culture-book figcaption a *,
.culture-book figcaption a:hover * {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

.culture-feature::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 18px;
  border: 1px solid rgba(255, 248, 239, .14);
  pointer-events: none;
}

.culture-feature-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(210px, .78fr) minmax(360px, 1.4fr) minmax(190px, .68fr);
  align-items: center;
  gap: clamp(34px, 5vw, 76px);
}

.culture-video,
.culture-book {
  margin: 0;
}

.culture-video {
  position: relative;
  align-self: end;
  transform: rotate(-3.5deg);
  transform-origin: 50% 70%;
}

.culture-video::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 9% -10% 13% 8%;
  border-radius: 50% 42% 45% 38%;
  background: rgba(255, 213, 94, .16);
  transform: rotate(8deg);
}

.culture-video-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 4 / 5;
  border: 5px solid #fff8ef;
  border-radius: 48% 48% 12px 12px;
  background: #1d1022;
  box-shadow: 11px 13px 0 #f05d47, 20px 24px 42px rgba(0, 0, 0, .28);
}

.culture-video video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
  object-position: center;
}

.culture-video figcaption {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 18px;
}

.culture-video figcaption b {
  font: 600 21px 'Playfair Display', serif;
}

.culture-video figcaption span,
.culture-book figcaption span {
  color: #d8c9dc;
  font: 500 9px 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.culture-kicker {
  margin: 0 0 18px;
  color: #ffd55e;
  font: 500 10px 'DM Mono', monospace;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.culture-copy h2 {
  max-width: 560px;
  margin: 0 0 24px;
  font-size: clamp(42px, 4.4vw, 66px);
  line-height: .98;
}

.culture-copy h2 em {
  color: #ff9b70;
}

.culture-copy > p:not(.culture-kicker) {
  max-width: 545px;
  margin: 0;
  color: #e4dae6;
  font-size: 15px;
  line-height: 1.67;
}

.culture-stats {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 248, 239, .2);
  border-bottom: 1px solid rgba(255, 248, 239, .2);
}

.culture-stats span {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #d8c9dc;
  font-size: 11px;
}

.culture-stats b {
  color: #ffd55e;
  font: 600 28px 'Playfair Display', serif;
}

.culture-copy > a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  color: #fff8ef;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.culture-copy > a span {
  color: #ffd55e;
  font-size: 19px;
}

.culture-book {
  transform: rotate(2deg);
}

.culture-book img {
  display: block;
  width: 100%;
  aspect-ratio: 1545 / 1999;
  border: 5px solid #fff8ef;
  object-fit: cover;
  box-shadow: 10px 12px 0 rgba(0, 0, 0, .3);
}

.culture-book figcaption {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 19px;
  text-align: center;
}

.culture-book figcaption b {
  font: 600 18px 'Playfair Display', serif;
}

.culture-book figcaption a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 7px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 248, 239, .5);
  border-radius: 999px;
  background: #fff8ef;
  color: #2f1638;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  transform: rotate(-2deg);
  transition: transform .2s ease, background .2s ease;
}

.culture-book figcaption a:hover {
  background: #ffd55e;
  transform: rotate(0deg);
}

.culture-book figcaption a i {
  color: #f05d47;
  font-size: 15px;
  font-style: normal;
}

.culture-words {
  position: absolute;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  color: #fff8ef;
  font: 500 18px 'DM Mono', monospace;
  pointer-events: none;
  user-select: none;
}

.culture-words span {
  position: absolute;
  opacity: .065;
  white-space: nowrap;
  will-change: translate, opacity;
  animation: culture-word-drift 18s ease-in-out infinite alternate;
  transition: opacity 1.15s ease, filter 1.15s ease;
}

.culture-words span:nth-child(3n + 1) { animation-duration: 22s; animation-delay: -7s; }
.culture-words span:nth-child(3n + 2) { animation-duration: 27s; animation-delay: -14s; animation-direction: alternate-reverse; }
.culture-words span:nth-child(3n) { animation-duration: 24s; animation-delay: -4s; }

.culture-words span.is-changing {
  opacity: 0;
  filter: blur(4px);
}

@keyframes culture-word-drift {
  0% { translate: -8px 5px; }
  35% { translate: 13px -10px; }
  68% { translate: -3px -18px; }
  100% { translate: 18px 9px; }
}

.culture-words span:nth-child(1) { top: 6%; left: 3%; font-size: 50px; transform: rotate(-8deg); }
.culture-words span:nth-child(2) { top: 13%; right: 5%; font-size: 27px; transform: rotate(6deg); }
.culture-words span:nth-child(3) { bottom: 7%; left: 38%; font-size: 54px; }
.culture-words span:nth-child(4) { bottom: 20%; right: -2%; font-size: 38px; transform: rotate(-5deg); }
.culture-words span:nth-child(5) { top: 45%; left: 1%; font-size: 28px; }
.culture-words span:nth-child(6) { top: 4%; left: 48%; font-size: 34px; }
.culture-words span:nth-child(7) { bottom: 3%; right: 20%; font-size: 25px; transform: rotate(5deg); }
.culture-words span:nth-child(8) { top: 53%; right: 4%; font-size: 62px; }
.culture-words span:nth-child(9) { bottom: 29%; left: 22%; font-size: 21px; transform: rotate(-9deg); }
.culture-words span:nth-child(10) { top: 30%; left: 28%; font-size: 29px; transform: rotate(4deg); }
.culture-words span:nth-child(11) { bottom: 4%; left: -3%; font-size: 31px; }
.culture-words span:nth-child(12) { top: 70%; left: 43%; font-size: 24px; transform: rotate(-4deg); }

@media (prefers-reduced-motion: reduce) {
  .culture-words span {
    animation: none;
    transition-duration: .01ms;
  }
}

@media (max-width: 900px) {
  .culture-feature-inner {
    grid-template-columns: minmax(170px, .65fr) 1.35fr;
  }

  .culture-book {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: 150px 1fr;
    align-items: center;
    justify-self: center;
    gap: 22px;
    width: min(410px, 100%);
    transform: none;
  }

  .culture-book figcaption {
    margin: 0;
    text-align: left;
  }
}

@media (max-width: 650px) {
  .culture-feature {
    padding: 64px 0;
  }

  .culture-feature::before {
    inset: 10px;
  }

  .culture-feature-inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .culture-copy {
    grid-row: 1;
  }

  .culture-copy h2 {
    font-size: 42px;
  }

  .culture-copy > p:not(.culture-kicker) {
    font-size: 14px;
  }

  .culture-video {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 21px;
    transform: rotate(-2deg);
  }

  .culture-video figcaption {
    margin: 0;
  }

  .culture-stats {
    gap: 17px;
  }

  .culture-stats span {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .culture-book {
    grid-column: auto;
    width: 100%;
  }
}
