.kh-nav :focus-visible, .kh-hero :focus-visible, .kh-sig-story :focus-visible, .kh-facts :focus-visible, .kh-sched :focus-visible, .kh-footer :focus-visible, .kh-cookie :focus-visible { outline-color: #fff; }

/* Hero: the finished cover photo and the scrim, a plain photo with no depth or reveal; the tag, the headline and the button rise in order. */
/* With JavaScript off, photos held back by the loader show their noscript copy and the placeholder hides. */

/* Finished: five rooms from post 191 in one justified row, each frame as wide as its photo's shape. */
.kh-gal li { flex: var(--kh-ar) 1 0; min-width: 0; }

/* The strip's rules sit in strip.css, shared with the Keystone page; the rail counts this page's twelve cards. */
.kh-sig-story{--kh-sig-steps:12}

/* What went into it: the job's ledger on the ink band, one line per part, with a customer's words after it. */
.kh-facts { background: var(--kh-ink); color: var(--kh-on-ink); padding: 88px 0 96px; }
.kh-facts-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px 64px; align-items: start; }

/* The job grid: a deck, an addition and a roof from the projects page, the whole card the link. */
@media (max-width: 900px) {
  .kh-head, .kh-sched-grid, .kh-facts-grid { grid-template-columns: minmax(0, 1fr); }
  .kh-foot-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  /* Phones get cottage-hero-phone, cut from Ben's upright corner photo of the finished cottage (A45) around the porch. */
  .kh-hero-pic img { object-position: 50% 50%; }
  .kh-done, .kh-facts, .kh-more, .kh-sched { padding: 64px 0; }
  /* Phones: a wide shot takes a row of its own, and upright shots share a row in pairs. */
  /* An upright with no partner in its row takes the full width, so the row leaves no gap. A kh-solo photo takes data-s="gl", since it spans the full width on phones. */
  .kh-gal .kh-solo { grid-column: 1 / -1; }
}
