/* Delivery history, replacing the city and principles blocks on the local home. */
.tricon-history {
  padding-block: clamp(80px, 9vw, 136px);
  background: var(--paper, #f3ecdf);
  color: var(--navy, #0d182e);
}

.history-inner {
  width: min(1120px, calc(100% - 2 * var(--page-gutter)));
  margin-inline: auto;
}

.history-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.history-heading .eyebrow {
  margin: 0 0 24px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 1.6px;
}

.history-title {
  margin: 0;
  max-width: 470px;
  font-size: clamp(30px, 2.8vw, 42px);
  font-weight: 300;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: inherit;
}

.history-copy { padding-top: 37px; }
.history-copy p { max-width: 470px; margin: 0 0 27px; font-size: 17px; line-height: 1.85; color: var(--ink); }
.history-copy .text-link { gap: 34px; border-bottom-color: var(--line); }

.history-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 64px 0 0;
  padding: 34px 0 0;
  border-top: 1px solid var(--line);
}

.history-stat { min-width: 0; }
.history-stat dt { margin: 0; font-size: 11px; line-height: 1.7; letter-spacing: .35px; color: #68685d; }
.history-stat dd { margin: 14px 0 0; font-size: clamp(21px, 1.9vw, 27px); font-weight: 300; line-height: 1.4; letter-spacing: -.025em; white-space: nowrap; }
.history-stat dd span { font-variant-numeric: tabular-nums; }
.history-stat-featured { display: flex; flex-direction: column; }
.history-stat-featured dd { order: -1; margin: -3px 0 0; font-size: clamp(58px, 5.4vw, 78px); line-height: 1; font-weight: 300; }
.history-stat-featured dt { margin-top: 15px; font-size: 12px; letter-spacing: 0; }
.history-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.tricon-history.history-motion [data-history-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 750ms cubic-bezier(.22, 1, .36, 1), transform 750ms cubic-bezier(.22, 1, .36, 1);
  transition-delay: var(--history-delay, 0ms);
}

.tricon-history.history-motion.is-visible [data-history-reveal] { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .history-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 36px; row-gap: 36px; }
  .history-stat dd { font-size: 25px; }
  .history-stat-featured dd { font-size: 64px; }
}

@media (max-width: 600px) {
  .tricon-history { padding-block: 72px; }
  .history-heading { grid-template-columns: 1fr; gap: 28px; }
  .history-heading .eyebrow { margin-bottom: 19px; font-size: 10px; }
  .history-title { font-size: 32px; max-width: 350px; }
  .history-copy { padding-top: 0; }
  .history-copy p { margin-bottom: 23px; font-size: 16px; }
  .history-metrics { margin-top: 42px; padding-top: 28px; column-gap: 22px; row-gap: 32px; }
  .history-stat dt { font-size: 10px; }
  .history-stat dd { font-size: clamp(18px, 5.4vw, 24px); margin-top: 10px; white-space: normal; }
  .history-stat-featured dd { font-size: 58px; margin-top: -3px; }
  .history-stat-featured dt { font-size: 11px; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  .tricon-history.history-motion [data-history-reveal] { opacity: 1; transform: none; transition: none; }
}
