// Chapter — Every body. One outfit on six models with different body shapes,
// in one scene, then the same idea as a single group frame.
function ExEveryBody() {
  const six = [1, 2, 3, 4, 5, 6];
  const label = { fontFamily: '"La Villa", sans-serif', fontSize: 11, letterSpacing: '0.24em', textTransform: 'uppercase', color: 'var(--fg-2)', margin: '0 0 16px' };
  return (
    <ExSection
      id="every-body"
      chapter="New · Every body"
      title={<>One outfit,<br />six bodies.</>}
      kicker="Upload one outfit and see it on six models across a range of body shapes, in the same scene. Each model gets her own pose, so the set reads as one shoot. Every image here came straight out of Creative Studio."
      tone="deep"
    >
      {/* Set one: the library photo it started from, then the six */}
      <div className="ex-eb-grid" style={{ display: 'grid', gridTemplateColumns: 'minmax(0, 0.85fr) minmax(0, 2fr)', gap: 28, alignItems: 'start' }}>
        <div>
          <p style={label}>The scene</p>
          <ExFrame src="assets/everybody/cs-blue-scene.jpg" alt="The library photograph the shoot was set in" ratio="2/3" shadow="lg" />
        </div>
        <div>
          <p style={label}>One outfit, six models</p>
          <div className="ex-eb-cast" style={{ display: 'grid', gridTemplateColumns: 'repeat(3, minmax(0, 1fr))', gap: 12 }}>
            {six.map((n) => (
              <ExFrame key={n} src={`assets/everybody/cs-blue-${n}.jpg`} alt="The same outfit on a different model, in the same scene" ratio="2/3" shadow="md" />
            ))}
          </div>
        </div>
      </div>

      {/* Set two: a different outfit and scene, as one row */}
      <div style={{ marginTop: 96 }}>
        <p style={label}>Another outfit, another scene</p>
        <div className="ex-eb-row" style={{ display: 'grid', gridTemplateColumns: 'repeat(6, minmax(0, 1fr))', gap: 10 }}>
          {six.map((n) => (
            <ExFrame key={n} src={`assets/everybody/cs-volvo-${n}.jpg`} alt="A second outfit on six models, in one scene" ratio="2/3" shadow="md" />
          ))}
        </div>
      </div>

      <style>{`
        @media (max-width: 900px) {
          .ex-eb-grid { grid-template-columns: minmax(0, 1fr) !important; gap: 22px !important; }
          .ex-eb-grid > div:first-child { width: 50%; margin: 0 auto; }
          .ex-eb-cast { gap: 8px !important; }
          .ex-eb-row { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
        }
      `}</style>
    </ExSection>
  );
}

Object.assign(window, { ExEveryBody });
