/* The newdistribution callout (pages/_newdistribution_callout): the series
   in its own navy, red and cream, at the foot of the homepage and the news.
   Self-contained: it sits in the marketing layout and in the learn one. */
.nd-callout {
  position: relative;
  background: #132644;
  color: #f1ede3;
  border-top: none;
  padding: clamp(72px, 8vw, 112px) 0;
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}
.nd-callout-grid {
  display: grid;
  gap: clamp(40px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .nd-callout-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
}
.nd-callout-eyebrow {
  margin-top: 0;
  font-family: "JetBrains Mono", monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a9b1c0;
  margin-bottom: 18px;
}
.nd-callout-title {
  font-family: "Archivo", sans-serif;
  color: #f1ede3;
  font-weight: 900;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 0.88;
  letter-spacing: -0.05em;
  margin-bottom: 22px;
}
.nd-callout-title span { color: #ec5a62; }
.nd-callout-thesis {
  font-weight: 700;
  font-size: clamp(18px, 1.8vw, 22px);
  margin-bottom: 10px;
}
.nd-callout-copy {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: #a9b1c0;
  max-width: 52ch;
  margin-bottom: clamp(28px, 3.5vw, 36px);
}
.nd-callout-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  color: #ffffff;
  background: #d43d44;
  padding: 15px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s, transform 0.15s cubic-bezier(0.22, 0.8, 0.27, 1);
}
.nd-callout-btn::after { content: "→"; }
.nd-callout-btn:hover { background: #b9323a; transform: translateY(-2px); }
.nd-callout-btn:focus-visible { outline: 2px solid #f1ede3; outline-offset: 3px; }
.nd-callout-wave {
  display: flex;
  align-items: center;
  gap: 6px;
  height: clamp(140px, 18vw, 220px);
}
/* Each bar breathes on its own beat, staggered along the line, so the
   wave rolls like the newdistribution film's. */
.nd-callout-wave span {
  flex: 1;
  border-radius: 3px;
  background: rgba(241, 237, 227, 0.16);
  transform-origin: center;
  animation: nd-wave 2.8s ease-in-out infinite alternate;
  animation-delay: calc(var(--i) * -0.18s);
}
.nd-callout-wave span.hot { background: rgba(212, 61, 68, 0.7); }
@keyframes nd-wave {
  from { transform: scaleY(0.35); }
  to   { transform: scaleY(1); }
}
@media (prefers-reduced-motion: reduce) {
  .nd-callout-wave span { animation: none; }
}

/* As a card in a page's own column (the news, under the featured article). */
.nd-callout--card {
  border-radius: 16px;
  overflow: hidden;
  padding: clamp(32px, 4vw, 48px);
}
.nd-callout--card .nd-callout-title { font-size: clamp(40px, 4.6vw, 64px); }
.nd-callout--card .nd-callout-copy { margin-bottom: 24px; }
.nd-callout--card .nd-callout-wave { height: clamp(110px, 12vw, 170px); }
