/* Lab Life page (/lab-life). Kept out of style.css, which is hand-edited. */
.ll-photo { margin: 0; }
.ll-photo img { width: 100%; height: auto; display: block; border-radius: 4px; }
.ll-photo-tall img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 560px; }

/* Core values: compact two-column list on hairlines */
.ll-values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 64px; }
.ll-value { padding: 20px 0 18px; border-top: 1px solid var(--line); }
.ll-value h3 {
  font-family: var(--font-display); font-size: var(--fs-2); font-weight: var(--fw-med);
  letter-spacing: var(--tr-snug); color: var(--ink); margin: 0 0 6px;
}
.ll-value p { font-size: var(--fs-0); color: var(--muted); line-height: 1.65; margin: 0; }

.sec-head .ll-list { margin: 6px 0 0; }
.ll-list li { padding-bottom: 16px; }
.ll-list li:last-child { padding-bottom: 0; }

/* Full-width bullet list below each section head. */
.ll-list.ll-wide { margin: 4px 0 0; }
.ll-list.ll-wide li { padding-bottom: 18px; }

/* Four captioned photos under Community. Static, nothing moves on hover. */
.ll-moments { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.ll-moments figure { margin: 0; }
.ll-moments img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; display: block; border-radius: 4px; }
.ll-moments figcaption { font-size: var(--fs--1); color: var(--muted); line-height: 1.5; margin-top: 10px; }

.ll-more { margin-top: 22px; }
.ll-nw { white-space: nowrap; }  /* keep a hyphenated word from splitting across lines */

/* Tighter bands than the site default; this page has many short sections. */
.ll-page section.block.loose { padding: 64px 0; }

/* Three photos in a row under a section's bullets. Static. */
.ll-row3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 36px; }
.ll-row3 img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 30%; display: block; border-radius: 4px; }

/* One shared title column for every section on this page. site.js sizes each
   .sec-head to hug its own title, which on a page of stacked sections made the
   copy column start at a different x in every band. */
@media (min-width: 901px) {
  .ll-page .sec-head { grid-template-columns: 280px minmax(0, 1fr) !important; column-gap: 44px; }
}
@media (max-width: 900px) {
  .lede-split.ll-intro { grid-template-columns: 1fr; gap: 32px; }
  .ll-photo-tall img { max-height: 520px; }
  .ll-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .ll-values { grid-template-columns: 1fr; }
  .ll-page section.block.loose { padding: 44px 0; }
  .ll-row3 { grid-template-columns: 1fr 1fr; }
  .ll-row3 img:nth-child(3) { display: none; }
}
