/* build.css: "ככה נבנית ציפורן". A plum band: close-up video beside three short facts.
   A plain lively loop; all facts always visible. (The old scroll-driven version
   the stage is pinned for 250vh, the scroll drives the video and the facts land one by one and stay. */
.build { background: var(--plum); color: var(--white); --fill-color: var(--white); }
.build .kicker { color: var(--lilac-deep); }
.build .h2 { color: var(--white); }

.build__stage { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.build__head { grid-column: 2; align-self: end; }
.build__media {
  grid-column: 1; grid-row: 1 / span 2; position: relative; overflow: hidden;
  width: min(100%, 460px); justify-self: center; aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius); background: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .6);
}
.build__media img { width: 100%; height: 100%; object-fit: cover; }

.build__facts { grid-column: 2; align-self: start; display: grid; gap: 1.1rem; counter-reset: fact; }
.build__facts li {
  display: flex; align-items: baseline; gap: 1rem; padding-block: 1rem; border-top: 1px solid rgba(255, 255, 255, .22);
  font-size: clamp(1.1rem, 1rem + .5vw, 1.4rem); line-height: 1.35;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.build__facts li::before {
  counter-increment: fact; content: "0" counter(fact);
  flex: none; font: 300 .85rem/1 var(--font-body); color: var(--lilac-deep); letter-spacing: .1em;
}
.build__facts b { font: 200 clamp(2.4rem, 1.8rem + 2vw, 3.6rem)/1 var(--font-body); color: var(--lilac); }

/* scrubbed version: pinned stage, facts arrive one by one */
.build--scrub { padding-block: 0; }
.build--scrub .build__track { height: 250vh; }
.build--scrub .build__stage { position: sticky; top: 0; min-height: 100svh; padding-block: 6rem 3rem; align-content: center; }
.build--scrub .build__media { width: min(100%, 520px); max-height: 78svh; }
.build--scrub .build__facts li:not(.is-on) { opacity: 0; transform: translateY(18px); }

@media (max-width: 900px) {
  .build__stage { grid-template-columns: 1fr; }
  .build__head, .build__media, .build__facts { grid-column: 1; grid-row: auto; }
  .build__media { width: min(86%, 360px); }
}

/* 2026-11-09 upgrade: three steps (01-03) with a short title each, an intro under the heading and a closing line */
.build__intro { margin-top: 1rem; max-width: 34rem; color: #E7DEF3; }
.build__body { grid-column: 2; align-self: start; }
.build__step { display: block; margin-bottom: .25rem; font: 400 clamp(1.25rem, 1.05rem + .7vw, 1.6rem)/1.2 var(--font-display); color: var(--lilac); }
.build__facts li { font-size: 1rem; line-height: 1.6; }
.build__facts li > span { color: #E7DEF3; }
.build__outro { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .22); font-weight: 500; color: var(--white); max-width: 34rem; }
@media (max-width: 900px) { .build__body { grid-column: 1; } }
/* the bold step title on its own line, a little air before the text */
.build__facts li > span { display: block; }
.build__facts .build__step { display: block; margin-bottom: .35rem; }
