/* 04c · Who it's for, the crowd (owner, 16 Nov 2026; sketched in sketches/who-walk/, replaces the photo gallery).
   Twelve everyday PYRA people (Higgsfield cut-outs, Blender-files/Who_People) fade in together as the section scrolls
   up, in three rows. Once it pins, the scroll pulls the focus: the crowd blurs where it stands and the words come up
   sharp over it. On phones the people are oversized, cropped by the screen edges. who-crowd.js drives it all. */

section.crowd { position: relative; height: 260svh; padding: 0; }   /* full bleed: none of the page's section padding */
.crowd-pin { position: sticky; top: 0; height: 100svh; min-height: 600px; overflow: hidden; isolation: isolate;
  background: radial-gradient(120% 85% at 50% 28%, rgba(239,232,220,.9) 0%, rgba(230,221,206,0) 55%, rgba(206,193,172,.45) 100%); }
.crowd-pin::before { content: ""; position: absolute; inset: 0; z-index: -1;            /* a soft studio floor */
  background: linear-gradient(180deg, rgba(120,98,70,0) 58%, rgba(120,98,70,.07) 80%, rgba(120,98,70,.12) 100%); }

.crowd-people { position: absolute; inset: 0; transform-origin: 50% 45%; opacity: 0; will-change: opacity, filter, transform; }
.crowd-p { position: absolute; will-change: transform; }
.crowd-p i { position: absolute; left: 6%; right: 6%; bottom: -2.4%; height: 4.8%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(52,40,26,.3), rgba(52,40,26,0)); }
.crowd-p img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; filter: blur(var(--b0, 0px)); }
.crowd-p.flip img { transform: scaleX(-1); }

/* a soft sand glow behind the words, so they read over the blurred crowd */
.crowd-veil { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(56% 40% at 50% 46%, rgba(239,232,220,.62), rgba(239,232,220,0) 100%),
              linear-gradient(180deg, rgba(230,221,206,0) 70%, rgba(230,221,206,.6) 88%, rgba(230,221,206,.75) 100%); }

/* the words, over the crowd: the statement in the middle of the frame, the four kinds of morning along the bottom */
.crowd-over { position: absolute; z-index: 3; inset: var(--nav-h) 0 0; display: grid; grid-template-rows: 1fr auto; gap: 24px;
  padding-bottom: clamp(28px, 7vh, 80px); }
.crowd-copy { align-self: center; display: grid; justify-items: center; gap: 20px; padding: 0 var(--gutter); text-align: center; }
.crowd-eye { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--ink-soft); }
.crowd-statement { font-size: clamp(36px, 5.6vw, 84px); font-weight: 300; letter-spacing: -.035em; line-height: 1.02; color: var(--ink); text-wrap: balance; }
.crowd-statement span { color: var(--ink-soft); }
.crowd-lead { font-size: clamp(17px, 1.25vw, 18px); font-weight: 300; line-height: 1.5; color: var(--ink-soft); max-width: 44ch; text-wrap: balance; }
.crowd-lead b { font-weight: 400; color: var(--ink); }

.crowd-row { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; width: min(87.5vw, 1180px); margin: 0 auto; }
.crowd-row li { display: grid; gap: 10px; align-content: start; padding-top: 16px; border-top: 1px solid rgba(22,19,15,.2); }
.crowd-row h3 { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; line-height: 1.4; color: var(--ink); }
.crowd-row p { font-size: 15px; font-weight: 300; line-height: 1.5; color: var(--ink-soft); max-width: 28ch; }
.crowd-copy > *, .crowd-row li { opacity: 0; will-change: opacity, transform, filter; }

@media (max-width: 699px) {
  .crowd-over { padding-bottom: 24px; gap: 18px; }
  .crowd-copy { gap: 14px; }
  .crowd-statement { font-size: 38px; }
  /* the site's own sizes on phones (owner, 17 Nov 2026: the words were smaller and thinner than everywhere else):
     a 17px lead, as Why PYRA and Technology use, and 15px under each label, as the Hub and the Deactivator use */
  .crowd-lead { font-size: 17px; max-width: 34ch; }
  .crowd-row { grid-template-columns: 1fr 1fr; gap: 20px 18px; width: auto; margin: 0 var(--gutter); }
  .crowd-row li { gap: 8px; padding-top: 12px; }
  .crowd-row p { font-size: 15px; line-height: 1.45; }
  .crowd-veil { background: radial-gradient(95% 34% at 50% 42%, rgba(239,232,220,.7), rgba(239,232,220,0) 100%),
                            linear-gradient(180deg, rgba(230,221,206,0) 62%, rgba(230,221,206,.7) 78%, rgba(230,221,206,.82) 100%); }
}

/* desktop: the four kinds of morning sit just under the words (owner, 17 Nov 2026: they felt cut off at the foot of
   the frame), the two centred together as one block */
@media (min-width: 900px) {
  .crowd-over { grid-template-rows: auto auto; align-content: center; gap: 72px; padding-bottom: 4vh; }
  .crowd-copy { align-self: auto; }
}

/* no motion: the settled picture, words on */
@media (prefers-reduced-motion: reduce) {
  section.crowd { height: auto; }
  .crowd-pin { position: relative; }
}
