.bento {
  width: 100%;
  padding: 0.75rem;
  background: var(--bg);
}

.bento__intro {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  max-width: 28rem;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(0.75rem, 2.5vw, 2rem)
    clamp(1.75rem, 3vw, 2.5rem);
}

.bento__label {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: lowercase;
  color: rgba(20, 20, 20, 0.42);
}

.bento__heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.bento__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: minmax(9.5rem, auto);
  gap: 0.75rem;
}

.bento__cell {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  background: #ecece8;
  min-height: 9.5rem;
}

.bento__cell--tall {
  grid-row: span 2;
  min-height: 20rem;
}

.bento__cell--wide {
  grid-column: span 2;
}

.bento__cell--span2 {
  grid-column: span 2;
  grid-row: span 2;
  min-height: 20rem;
}

.bento__cell--ink {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.65rem;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  background: #141414;
  color: #f4f4f2;
}

.bento__cell--soft {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  background: #e6e6e2;
}

.bento__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bento__cell--span2 .bento__media {
  object-fit: cover;
  object-position: center top;
  width: 88%;
  height: 118%;
  inset: auto;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.bento__cell--tall .bento__media {
  inset: auto;
  top: auto;
  left: auto;
  right: 0;
  bottom: 0;
  width: 118%;
  height: 72%;
  max-width: none;
  object-fit: cover;
  object-position: right bottom;
}

.bento__cell--wide {
  min-height: 12rem;
}

.bento__cell--wide .bento__media {
  inset: auto;
  top: 50%;
  left: 50%;
  right: auto;
  bottom: auto;
  width: auto;
  height: 260%;
  max-width: none;
  object-fit: unset;
  transform: translate(-50%, -50%) rotate(-90deg);
  transform-origin: center center;
}

.bento__ph {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(20, 20, 20, 0.28);
  background:
    linear-gradient(135deg, rgba(20, 20, 20, 0.03), transparent 55%),
    #ecece8;
}

.bento__kicker {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  color: rgba(20, 20, 20, 0.42);
}

.bento__cell--ink .bento__kicker {
  color: rgba(244, 244, 242, 0.42);
}

.bento__title {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.bento__text {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.55;
  color: rgba(20, 20, 20, 0.58);
  max-width: 16rem;
}

.bento__text--lead {
  max-width: none;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.6;
  color: rgba(20, 20, 20, 0.72);
}

.bento__cell--ink .bento__text {
  color: rgba(244, 244, 242, 0.58);
}

.bento__cell--ink .bento__title {
  max-width: 9.5rem;
}

.bento__lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0;
  padding: 0;
}

.bento__lines li {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(244, 244, 242, 0.82);
}

.bento__stat-block {
  margin-top: auto;
}

.bento__stat {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.25rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  margin-top: auto;
}

.bento__stat-label {
  font-family: var(--font);
  font-size: 0.82rem;
  color: rgba(20, 20, 20, 0.52);
}

@media (max-width: 900px) {
  .bento {
    padding: 0.55rem;
  }

  .bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
  }

  .bento__cell--span2 {
    grid-column: span 2;
    grid-row: span 1;
    min-height: 14rem;
  }

  .bento__cell--tall {
    grid-row: span 1;
    min-height: 14rem;
  }

  .bento__cell--tall .bento__media {
    inset: 0;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: right center;
  }

  .bento__cell--wide {
    grid-column: span 2;
  }

  .bento__cell {
    border-radius: 0.9rem;
  }
}

@media (max-width: 520px) {
  .bento__grid {
    grid-template-columns: 1fr;
  }

  .bento__cell--span2,
  .bento__cell--wide,
  .bento__cell--tall {
    grid-column: span 1;
    grid-row: span 1;
  }
}
