/* Ingress, Roof works index: the area between the panel and "The works", 21 November 2026.
   Loaded after ingress.css, ingress-build.css and ingress-finish.css. Existing tokens only; page ground, no bands. */

.wb-block { padding-top: var(--space-8); }
.wb-block.wb-last { padding-bottom: var(--space-8); }
.wb-lead { grid-column: 1 / -1; margin: 0; font-size: var(--title-size); line-height: var(--title-line); max-width: 40em; }   /* the only sentences at this size */
.wb-head { margin-bottom: var(--space-4); }
.wb-head .s-title { grid-column: 1 / span 9; }
.wb-head .wb-sub { grid-column: 1 / span 8; margin: var(--space-1) 0 0; color: var(--grey-caption); }
.wb-after { margin: var(--space-3) 0 0; }

/* Tenant or owner: two cards in the doors card style, equal height */
.wb-cards { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gutter); align-items: stretch; }
.wb-card { display: flex; flex-direction: column; gap: var(--space-2); padding: var(--space-4); background: var(--paper); border-top: 4px solid var(--ink); }
.wb-card h3 { margin: 0; font-weight: 400; font-size: var(--title-size); line-height: var(--title-line); }
.wb-card p { margin: 0; }

/* What decides the system: three examples, each a framed drawing over one paragraph */
.wb-examples { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gutter); }
.wb-example { display: flex; flex-direction: column; gap: var(--space-2); margin: 0; }
.wb-frame { padding: 26px 24px; background: var(--paper); border: 1px solid var(--grey-rule); }   /* the section fills the width with 24px clear either side; the height follows the drawing */
.wb-frame svg { display: block; width: 100%; height: auto; }
/* Line weight at this scale: old sheet and new profile must read as two lines */
/* The drawing is at about half size here, so these widths draw at about 1.5px (existing) and 2px (new work) */
.wb-frame .rd-section path, .wb-frame .rd-fix path.rd-ex { stroke-width: 2.8; }
.wb-frame .rd-fix path { stroke-width: 3.6; }
.wb-example p { margin: 0; }

/* Static here: the drawings already draw in the panel above. Nothing animates. */
.wb-frame .rd path { animation: none !important; }

@media (max-width: 1023px) {
  .wb-examples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 639px) {
  .wb-block { padding-top: var(--space-7); }
  .wb-block.wb-last { padding-bottom: var(--space-7); }
  .wb-lead { font-size: var(--title-size); line-height: var(--title-line); }
  .wb-cards, .wb-examples { grid-template-columns: 1fr; gap: var(--space-2); }
  .wb-examples { gap: var(--space-5); }
  .wb-card { padding: var(--space-3); }
  .wb-frame { padding: 14px 24px; }
}
