[data-prop-bento-hero] {
  width: 100%;
  min-width: 0;
}

.prop-bento-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  align-items: end;
}

.prop-bento-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.prop-bento-card {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  background-color: #0d0d0d;
  background-image: var(--prop-bento-overlay, none), var(--prop-bento-bg);
  background-repeat: no-repeat;
  background-size: var(--prop-bento-bg-size, 150%);
  background-position: var(--prop-bento-bg-pos, center);
  box-sizing: border-box;
}

.prop-bento-card__label {
  position: absolute;
  left: 50px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  margin: 0;
  max-width: calc(100% - 70px);
}

.prop-bento-card__label--bottom {
  bottom: 48px;
}

.prop-bento-card__label--top {
  top: 50px;
}

.prop-bento-card__stat {
  position: absolute;
  left: 50px;
  top: 44px;
  color: #ffffff;
}

.prop-bento-card__stat-num {
  display: block;
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  margin: 0;
}

.prop-bento-card__stat-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  margin: 13px 0 0;
}

/* Column heights: proportional shares of the 547px reference skyline (top 426px -> bottom 973px) */
.prop-bento-col-1 {
  justify-content: flex-end;
}
.prop-bento-col-1 .prop-bento-card {
  height: 0;
  padding-bottom: 67.82%; /* 371/547 */
}

.prop-bento-col-2 .prop-bento-card--upper {
  height: 0;
  padding-bottom: 61.43%; /* 336/547 */
}
.prop-bento-col-2 .prop-bento-card--lower {
  height: 0;
  padding-bottom: 36.38%; /* 199/547 */
}

.prop-bento-col-3 .prop-bento-card--upper {
  height: 0;
  padding-bottom: 32.72%; /* 179/547 */
}
.prop-bento-col-3 .prop-bento-card--lower {
  height: 0;
  padding-bottom: 47.71%; /* 261/547 */
}

.prop-bento-col-4 .prop-bento-card--upper {
  height: 0;
  padding-bottom: 61.43%; /* 336/547 */
}
.prop-bento-col-4 .prop-bento-card--lower {
  height: 0;
  padding-bottom: 29.62%; /* 162/547 */
}

.prop-bento-col-5 {
  justify-content: flex-end;
}
.prop-bento-col-5 .prop-bento-card {
  height: 0;
  padding-bottom: 67.82%; /* 371/547 */
}

.prop-bento-card > * {
  position: relative;
}

/* padding-bottom aspect trick needs an inner absolute-fill wrapper for content */
.prop-bento-card {
  display: block;
}
.prop-bento-card__inner {
  position: absolute;
  inset: 0;
}

@media (max-width: 1024px) {
  .prop-bento-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .prop-bento-col-1 .prop-bento-card,
  .prop-bento-col-5 .prop-bento-card {
    padding-bottom: 80%;
  }
  .prop-bento-col-2 .prop-bento-card--upper,
  .prop-bento-col-4 .prop-bento-card--upper {
    padding-bottom: 70%;
  }
  .prop-bento-col-2 .prop-bento-card--lower,
  .prop-bento-col-4 .prop-bento-card--lower {
    padding-bottom: 45%;
  }
  .prop-bento-col-3 .prop-bento-card--upper {
    padding-bottom: 40%;
  }
  .prop-bento-col-3 .prop-bento-card--lower {
    padding-bottom: 55%;
  }
}

@media (max-width: 640px) {
  .prop-bento-grid {
    grid-template-columns: 1fr;
  }
  .prop-bento-col {
    gap: 12px;
  }
  .prop-bento-col-1 .prop-bento-card,
  .prop-bento-col-5 .prop-bento-card,
  .prop-bento-col-2 .prop-bento-card--upper,
  .prop-bento-col-2 .prop-bento-card--lower,
  .prop-bento-col-3 .prop-bento-card--upper,
  .prop-bento-col-3 .prop-bento-card--lower,
  .prop-bento-col-4 .prop-bento-card--upper,
  .prop-bento-col-4 .prop-bento-card--lower {
    padding-bottom: 60%;
  }
  .prop-bento-card__label {
    font-size: 17px;
    left: 24px;
    max-width: calc(100% - 48px);
  }
  .prop-bento-card__label--bottom {
    bottom: 24px;
  }
  .prop-bento-card__label--top {
    top: 24px;
  }
  .prop-bento-card__stat {
    left: 24px;
    top: 24px;
  }
  .prop-bento-card__stat-num {
    font-size: 44px;
  }
}

/* Hero header */
.prop-bento-hero-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
}

.prop-bento-hero-title {
  margin: 0;
  color: #111111;
  font-size: 52px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.2px;
  max-width: 700px;
}

.prop-bento-hero-desc {
  margin: 25px 0 0;
  color: #8a8a85;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  max-width: 545px;
}

.prop-bento-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 33px 0 0;
  padding: 0 28px;
  height: 58px;
  background: #e3b174;
  color: #ffffff;
  border: 0;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.prop-bento-hero-cta:hover {
  background: #dba766;
}

.prop-bento-hero-cta:focus-visible {
  outline: 2px solid #111111;
  outline-offset: 2px;
}

@media (max-width: 640px) {
  .prop-bento-hero-title {
    font-size: 38px;
    letter-spacing: -0.6px;
  }
  .prop-bento-hero-desc {
    max-width: 100%;
  }
}
