/* Psych Safety site chrome: header, breadcrumb row and footer, after
   measure.psychsafety.com (failure-lab's Learning Lab pages reuse the same).
   One file for both halves of the Field Guide: the map app imports it into its
   bundle, and generate-node-pages copies it to /chrome.css for the static pages
   and the 404. Hard-coded colours rather than tokens, so it stands alone; it
   assumes the host page declares the Jost font. Change the nav here once.
   See docs/reports/2026-10-08-styling-alignment.md. */

.skip { position: absolute; left: -9999px; top: 0; }
.skip:focus { left: 12px; top: 12px; background: #fff; color: #0A0A0A; padding: 10px 14px; border: 2px solid #00796B; z-index: 100; }
.sitehead, .sitefoot { font-family: "Jost", "Century Gothic", "Futura", system-ui, sans-serif; }
.sitehead { background: #000; color: #fff; }
.sitehead .in { max-width: 1180px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.wordmark { display: inline-block; text-decoration: none; line-height: 0; }
.wordmark img { height: 52px; width: auto; display: block; }
.sitefoot .wordmark img { height: 64px; margin-bottom: 14px; }
@media (max-width: 640px) { .wordmark img { height: 42px; } }
.sitenav { display: flex; align-items: center; gap: 22px; font-size: 14px; font-weight: 500; }
.sitenav a { color: #fff; text-decoration: none; }
.sitenav a:hover, .sitenav a[aria-current] { color: #00A892; }
.sitenav .cta { background: #00A892; color: #0A0A0A; padding: 11px 18px; font-weight: 700; font-size: 13.5px; }
.sitenav .cta:hover { background: #fff; color: #0A0A0A; }
.burger { display: none; background: none; border: 0; color: #fff; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; padding: 8px; }
.burger:hover { color: #00A892; }
@media (max-width: 880px) {
  .sitehead .in { flex-wrap: wrap; gap: 12px; }
  .sitenav { display: none; order: 3; }
  .sitenav.open { display: flex; flex-direction: column; align-items: flex-start; width: 100%; gap: 16px; padding: 6px 0 10px; font-size: 16px; }
  .sitenav.open .cta { width: 100%; text-align: center; padding: 13px 18px; }
  .burger { display: block; margin-left: auto; order: 2; }
}
.crumbs { background: #000; color: #fff; padding: 0 clamp(16px, 4vw, 40px) 12px; font-size: 13.5px;
          display: flex; justify-content: space-between; align-items: center; gap: 6px 12px; flex-wrap: wrap; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; padding: 0; }
.crumbs li { display: flex; align-items: center; gap: 8px; margin: 0; }
.crumbs li + li::before { content: "\203A"; color: #7A7A7A; }
.crumbs li a { color: #C9C9C9; text-decoration: none; }
.crumbs li a:hover { color: #00A892; text-decoration: underline; }
.crumbs li [aria-current] { color: #fff; font-weight: 500; }
.sitefoot { background: #000; color: #fff; font-size: 16px; line-height: 1.6; }
.sitefoot .in { max-width: 1180px; margin: 0 auto; padding: 56px 24px 28px; }
.fcols { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; padding-bottom: 36px; border-bottom: 1px solid #2E2E2E; }
@media (max-width: 760px) { .fcols { grid-template-columns: 1fr 1fr; } }
.fcols h4 { margin: 0 0 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; color: #fff; }
.fcols ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.fcols li { margin: 0; }
.fcols a { color: #8A8A8A; text-decoration: none; font-size: 14.5px; }
.fcols a:hover { color: #fff; }
.fcols p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: #8A8A8A; max-width: 32ch; }
.fbase { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 22px; }
.fbase p { margin: 0; font-size: 13px; color: #9A9A9A; }
.fbase p a { color: #D0D0D0; }
.fbase p a:hover { color: #00A892; }

/* Compact, for full-screen tools (the map): full width, smaller wordmark,
   tighter rows, so the header costs the map as little height as it can. */
.sitehead.compact .in { max-width: none; padding: 10px 24px; }
.sitehead.compact .wordmark img { height: 40px; }
.sitehead.compact .crumbs { padding: 0 24px 8px; min-height: 40px; }
@media (max-width: 640px) {
  .sitehead.compact .in { padding: 10px 16px; }
  .sitehead.compact .wordmark img { height: 36px; }
}

@media print { .sitehead, .crumbs, .sitefoot, .skip { display: none !important; } }
