/* ===========================================================================
   Our System — page-specific layout only.

   The page opens on the scrubbed build (its rules are in site.css), then the
   head, then the client's four parts of the system, each a heading and its
   paragraphs beside a photograph, then the figures, the root protection
   drawing and the process (all site.css's), then what it means for the
   reader, then the close. Everything here builds on site.css; nothing in it
   is overridden except the three things named below, which are this page's
   alone.
   =========================================================================== */

/* The seam under the build. The track's natural height is fractional on a
   phone (720vh of 844px is 6076.8px), and until the hero clock has written a
   height in whole 8px steps its foot lands between two pixels, which showed
   a hairline of the light page ground where the track met the head under it.
   The track takes the head's own ground, so there is nothing light to show. */
#track { background: var(--charcoal); }

/* The page head is not the first thing on the page now: the build is, and the
   bar's clearance the head kept above its heading was a tall band of bare
   green under a stage that had just finished. It keeps the room of a section
   top and not of a page top. */
.page-head.about { padding-top: clamp(3.5rem, 7vw, 6rem); }

/* The client's strapline, between the heading and the paragraph. It is three
   short claims, so it is set as a line of its own in the brand green rather
   than as a second paragraph: .page-head.dark p would make it pale, so the
   class is said under .about .copy to outrank it. The bright green is 5.8:1 on
   the head's ground. */
.about .copy .tagline {
  margin: 1.1rem 0 0; max-width: none;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 400;
  line-height: 1.3; letter-spacing: -0.01em;
  color: var(--kevin-bright);
}
.about .tagline + .lede { margin-top: 1.5rem; }

/* --- the four parts: words one side, a photograph the other ----------------
   Each row is its words and a photograph, and the photograph takes the other
   side from the row above: right, left, right, left. The words are first in
   the source on all four (the reading order does not swap with the sides),
   so the swap is the photograph's `order` and the column widths, not a
   second layout. A hairline over each row after the first is the register
   the study on the projects page and the applications list use for parts of
   one account. */
.sys { padding: var(--pad) 0; }
.sys-row {
  display: grid; gap: clamp(1.7rem, 4vw, 2.4rem);
  padding: clamp(2.6rem, 5vw, 4.2rem) 0; border-top: 1px solid var(--rule);
}
.sys-row:first-child { padding-top: 0; border-top: 0; }
.sys-row:last-child { padding-bottom: 0; }
@media (min-width: 900px) {
  .sys-row {
    grid-template-columns: minmax(0, 1fr) clamp(16rem, 38%, 28rem);
    column-gap: clamp(3rem, 6vw, 5.5rem); align-items: center;
  }
  .sys-row:nth-child(even) { grid-template-columns: clamp(16rem, 38%, 28rem) minmax(0, 1fr); }
  .sys-row:nth-child(even) .sys-photo { order: -1; }
}
.sys-words .d { font-size: clamp(1.7rem, 3vw, 2.5rem); max-width: 18ch; text-wrap: balance; }
.sys-words p {
  margin: 1.1rem 0 0; max-width: 54ch; text-wrap: pretty;   /* no one-word last line */
  font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.65;
}
.sys-words .d + p { margin-top: 1.5rem; }
/* The four photographs are portrait, three by four, and are shown whole at
   that shape, so the frame takes its own height from its width and the row
   is the right size before the file arrives. The corner and the slight
   desaturation are the figures strip's. Held to the column's width on a
   phone, so a picture is never taller than the words beside it would be. */
.sys-photo {
  aspect-ratio: 3 / 4; max-width: 28rem; border-radius: 8px; overflow: hidden;
  background: var(--l1);
}
.sys-photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.9); }

/* --- what it means: the seven points ---------------------------------------
   The head and the list are the site's .split (site.css); this is the list.
   The section has no top padding of its own: the strip above it ends on a
   full rhythm of its own bottom padding. Each point is a hairline row with
   the site's tick in front of it, white in a filled green round (the mark
   .job-study .ticks uses on the projects page), sized to the first line of
   the point and held there however the point wraps. The lead-in is bold in
   the ink and the sentence after it is the soft ink the page's running text
   is set in. */
.means { padding: 0 0 var(--pad); }
.means .head > p:not(.eyebrow) {
  max-width: 30ch; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.55;
}
.points { --row: clamp(1.1rem, 1.8vw, 1.4rem); list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.points li {
  position: relative; padding: var(--row) 0 var(--row) 2.9rem;
  border-bottom: 1px solid var(--rule);
}
.points .tick {
  position: absolute; left: 0; top: calc(var(--row) + .1rem);
  width: 1.6rem; height: 1.6rem; padding: .27rem;
  border-radius: 50%; background: var(--kevin); color: #fff;
}
.points p { margin: 0; max-width: 56ch; text-wrap: pretty; font-size: clamp(1rem, 1.2vw, 1.1rem); line-height: 1.6; }
.points strong { font-weight: 600; color: var(--ink); }

/* --- the close ------------------------------------------------------------
   The client's closing words, which are longer than "Discuss your project".
   The heading's measure is in em so it holds at every size the heading is
   set at: wide enough for "One System. One Contractor." and not for the word
   after it, so a wide screen breaks between two of his sentences and not in
   the middle of the third. On a phone the lines balance. The paragraph has
   a measure to match. */
.close .d { max-width: 15em; text-wrap: balance; }
.close p { max-width: 58ch; }
