/* What We Build page — layout additions only.
   All design tokens, utilities, and animations come from front-page.css (loaded globally). */

/* ---- Hero ---- */
.wb-hero {
  padding-top: clamp(7rem, 20vw, 11rem);
  text-align: center;
}
.wb-hero .display-xl {
  max-width: 22ch;
  margin-inline: auto;
  margin-bottom: 1.25rem;
}
.wb-hero .lede {
  max-width: 56ch;
  margin-inline: auto;
}

/* ---- Jump strip ---- */
.wb-jump {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-top: clamp(2rem, 6vw, 3rem);
}
.wb-jump-pill {
  display: flex;
  align-items: center;
  gap: .55rem;
  padding: .65rem 1rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition: border-color .25s, background-color .25s, transform var(--dur) var(--ease);
  white-space: nowrap;
}
@media (hover:hover) {
  .wb-jump-pill:hover {
    border-color: var(--accent);
    background: var(--glass-bg-2);
    transform: translateY(-3px);
  }
}
.wb-jump-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .85rem;
  color: var(--accent);
}
.wb-jump-label {
  font-size: .88rem;
  font-weight: 500;
  color: var(--text-muted);
}
.wb-jump-arrow {
  color: var(--text-dim);
  font-size: .9rem;
  display: none;
}

/* ---- Service sections ---- */
.wb-service { position: relative; }
.wb-service--alt {
  background: linear-gradient(
    180deg,
    transparent,
    color-mix(in oklab, var(--surface) 45%, transparent) 20%,
    color-mix(in oklab, var(--surface) 45%, transparent) 80%,
    transparent
  );
}

/* ---- 2-column layout ---- */
.wb-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 8vw, 3.5rem);
  align-items: center;
}

/* ---- Content column ---- */
.wb-badge {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}
.wb-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1;
  letter-spacing: -.025em;
}
.wb-tag {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
  font-weight: 600;
}
.wb-content h2 { margin-bottom: 1.25rem; }

.wb-body {
  color: var(--text-muted);
  font-size: clamp(.97rem, 2.4vw, 1.06rem);
  line-height: 1.78;
  margin: 0 0 1rem;
}
.wb-body:last-of-type { margin-bottom: 0; }

.wb-checklist { margin: 1.5rem 0 2rem; }

.wb-service-cta { align-self: flex-start; }

/* ---- Visual column ---- */
.wb-visual-wrap {
  position: relative;
}
.wb-visual-wrap::before {
  content: "";
  position: absolute;
  inset: -12% -10% -16% -10%;
  z-index: 0;
  border-radius: 44px;
  background: radial-gradient(
    60% 60% at 50% 40%,
    color-mix(in oklab, var(--accent) 20%, transparent),
    transparent 75%
  );
  filter: blur(44px);
  opacity: .55;
  pointer-events: none;
}
/* Ensure build-visual sits above the glow */
.wb-visual-wrap .build-visual { position: relative; z-index: 1; }

/* ---- Use cases section ---- */
.wb-usecases { position: relative; }

/* ---- CTA ---- */
.wb-cta-inner {
  text-align: center;
  padding: clamp(2.5rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  max-width: 700px;
  margin-inline: auto;
}
.wb-cta-inner .eyebrow { display: flex; }
.wb-cta-inner h2 { margin: .75rem 0 1.25rem; }
.wb-cta-inner .lede { margin-bottom: 2rem; }
.wb-cta-btns {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.wb-cta-btns .btn {
  width: 100%;
  justify-content: center;
}

/* ---- Responsive ---- */
@media (min-width: 540px) {
  .wb-jump-arrow { display: block; }
}

@media (min-width: 768px) {
  .wb-layout {
    grid-template-columns: 1fr 1fr;
    gap: clamp(2.5rem, 6vw, 4.5rem);
  }
  .wb-layout--reverse .wb-visual-wrap { order: -1; }

  .wb-cta-btns {
    flex-direction: row;
    justify-content: center;
  }
  .wb-cta-btns .btn { width: auto; }
}

@media (min-width: 1100px) {
  .wb-layout { gap: clamp(3.5rem, 7vw, 6rem); }
}
