/* Homepage "The DAVZON standard" promise cards.
   Same markup and scroll arc (main.js); only the card look changes, to
   match the photo cards in "Start here": a crisp photo inset at the top,
   number pill and icon on the photo, clean white card, the card in the
   middle turns solid Saffron. */

.standard--arc .promise,
.standard--arc .promise:nth-child(3n + 2) {
  --inset: calc(var(--card-w) * 0.028);
  --photo-h: calc(var(--card-w) * 0.34);
  --pad-x: calc(var(--card-w) * 0.065);
  padding: calc(var(--inset) + var(--photo-h) + var(--card-w) * 0.05) var(--pad-x) calc(var(--card-w) * 0.06);
  border-radius: var(--r-card);
  background: var(--white);
  box-shadow: 0 40px 70px -44px rgba(12, 27, 42, 0.28);
}
.standard--arc .promise.is-active { box-shadow: 0 50px 90px -40px rgba(12, 27, 42, 0.55); }

/* Photo: crisp, rounded, inset at the top (no blur, no wash) */
.standard--arc .promise::before {
  inset: var(--inset) var(--inset) auto;
  z-index: 0;
  height: var(--photo-h);
  border-radius: calc(var(--r-card) - 10px);
  background: var(--bg) center / cover no-repeat;
  filter: none;
}
.standard--arc .promise::after { display: none; }

/* Middle card: solid Saffron, like the Staffing card in Start here */
.standard--arc .promise__glow { background: var(--saffron); }

/* Number: small white pill on the photo */
.standard--arc .promise__num {
  position: absolute;
  z-index: 1;
  top: calc(var(--inset) + 14px);
  left: calc(var(--inset) + 14px);
  display: inline-grid;
  place-items: center;
  min-width: 46px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--ink);
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.04em;
}

/* Icon: white circle on the photo; Ink in the middle card */
.standard--arc .promise__icon {
  z-index: 1;
  top: calc(var(--inset) + 14px);
  right: calc(var(--inset) + 14px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
}
.standard--arc .promise.is-active .promise__icon { background: var(--ink); color: var(--white); }

/* Kicker-style title and body, same scale as the Start here cards */
.standard--arc .promise h3 {
  margin-top: 0;
  font-size: clamp(22px, calc(var(--card-w) * 0.062), 34px);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.standard--arc .promise__vis { margin-top: calc(var(--card-w) * 0.03); }
.standard--arc .promise p {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(12, 27, 42, 0.12);
  color: var(--slate);
  font-size: clamp(14px, calc(var(--card-w) * 0.036), 17px);
  line-height: 1.5;
}
.standard--arc .promise.is-active p { color: var(--ink); border-top-color: rgba(12, 27, 42, 0.18); }

/* Phones: a shorter photo leaves room for the mini visual */
@media (max-width: 760px) {
  .standard--arc .promise,
  .standard--arc .promise:nth-child(3n + 2) {
    --photo-h: calc(var(--card-w) * 0.3);
    height: calc(var(--card-w) * 1.2);
  }
  .standard--arc .promise h3 { font-size: 21px; }
}

/* ---------- Dark photo panel behind the arc, like How it works ----------
   The pinned stage gets a rounded Ink panel: an unused sunset photo of a
   glass office under an Ink wash, a soft Saffron glow, and the two sweep
   lines. The heading and progress bar turn light to match. */
.standard--arc .standard__bg {
  inset: 12px;
  border-radius: var(--r-panel);
  -webkit-mask-image: none;
  mask-image: none;
  background:
    radial-gradient(45% 55% at 50% 100%, color-mix(in srgb, var(--saffron) 22%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(12, 27, 42, 0.86) 0%, rgba(12, 27, 42, 0.7) 45%, rgba(12, 27, 42, 0.82) 100%),
    url("../img/sections/why-building.jpg") center 72% / cover no-repeat,
    var(--ink);
}
.standard--arc .standard__bg::before,
.standard--arc .standard__bg::after { opacity: 0.55; }
.standard--arc .standard__sweeps { opacity: 0.6; }

.standard--arc .standard__head .eyebrow { background: rgba(255, 255, 255, 0.1); color: var(--white); }
.standard--arc .standard__head .section-title { color: var(--white); }
.standard--arc .standard__lede { color: var(--ink-muted); }
.standard--arc .standard__progress { color: var(--ink-muted); }
.standard--arc .standard__count b { color: var(--white); }
.standard--arc .standard__bar { background: rgba(255, 255, 255, 0.18); }

/* Room inside the panel above the heading */
.standard--arc .standard__pin { padding-top: calc(clamp(36px, calc(2.6 * var(--vw)), 56px) + 12px); }
@media (max-width: 1020px) {
  .standard--arc .standard__bg { inset: 8px; border-radius: var(--r-card); }
  .standard--arc .standard__pin { padding-top: 92px; }
}
