/* Sweep — the first app study that tells the UX story: problem, strategy, flow
   and design system before the screens. It sits on lull.css (hero, meta,
   alternating screen blocks) and only adds the full-width figures and the
   two-column story blocks. */

.sw-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(28px, 4vw, 44px);
}

.sw-story h3 {
  margin: 0 0 14px;
  color: var(--text-light-1);
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-semibold);
  letter-spacing: -.02em;
  line-height: 1.2;
}

.sw-story p {
  margin: 0 0 14px;
  color: var(--text-light-2);
  font-size: var(--text-m);
  line-height: 1.65;
}

.sw-story p:last-child { margin-bottom: 0; }

/* full-width sheets exported from Figma (colours, type, icons, components, flow) */
.sw-figure {
  margin: clamp(32px, 4vw, 52px) 0 0;
}

.sw-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg, 16px);
}

.sw-figure figcaption {
  margin-top: 14px;
  color: var(--text-light-2);
  font-size: var(--text-s);
  line-height: 1.5;
}

/* a titled sheet: heading + paragraph, then the figure */
.sw-sheet { margin-top: clamp(32px, 4vw, 52px); }

.sw-sheet + .sw-sheet {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 4.5vw, 64px);
  border-top: 1px solid var(--border-soft, #efefef);
}

.sw-sheet h3 {
  margin: 0 0 12px;
  color: var(--text-light-1);
  font-family: var(--font-display);
  font-size: var(--h5);
  font-weight: var(--fw-semibold);
  letter-spacing: -.02em;
}

.sw-sheet > p {
  max-width: 720px;
  margin: 0;
  color: var(--text-light-2);
  font-size: var(--text-m);
  line-height: 1.65;
}

/* the screen notes get a second, smaller "detail" paragraph */
.ll-screen-copy .sw-detail {
  margin-top: 14px;
  padding-left: 14px;
  border-left: 2px solid var(--border-soft, #efefef);
  color: var(--text-light-2);
  font-size: var(--text-s);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .sw-story { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  .sw-story p, .sw-sheet > p { font-size: var(--text-r, 16px); }
}
