:root {
  --paper: #f4f2ed;
  --ink: #111;
  --muted: #5d5c57;
  --line: #191919;
  --signal: #e1261c;
  --white: #fff;
  --lime: #dff24a;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); }
a { color: inherit; }
button, select { font: inherit; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: var(--white);
}
.skip-link:focus { top: 1rem; }

.topbar {
  min-height: 84px;
  border-bottom: 2px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  align-items: center;
  padding: 0 2rem;
  background: var(--paper);
  position: relative;
  z-index: 5;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  color: var(--white);
  background: var(--signal);
  font-weight: 900;
  font-size: 1.2rem;
}
.brand-copy { font-size: .68rem; text-transform: uppercase; font-weight: 800; line-height: 1.25; }
nav { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 3rem); }
nav a { text-decoration: none; font-size: .78rem; text-transform: uppercase; font-weight: 800; }
nav a:hover { color: var(--signal); }
.status { justify-self: end; font-size: .7rem; text-transform: uppercase; font-weight: 700; }
.status i { display: inline-block; width: 8px; height: 8px; margin-right: .4rem; background: var(--signal); border-radius: 50%; }

.hero {
  position: relative;
  min-height: min(780px, calc(100vh - 84px));
  border-bottom: 2px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: relative; z-index: 1; width: min(760px, 58vw); padding: 4.5rem 3rem; }
.eyebrow, .section-number {
  margin: 0 0 1.25rem;
  color: var(--signal);
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}
h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(3.3rem, 7vw, 7.4rem);
  line-height: .88;
  text-transform: uppercase;
  letter-spacing: 0;
}
.lede { max-width: 630px; margin: 2rem 0; font-size: clamp(1rem, 1.5vw, 1.28rem); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.button {
  min-height: 48px;
  padding: 0 1rem;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  text-decoration: none;
  font-weight: 800;
}
.button.primary { background: var(--ink); color: var(--white); }
.button.primary:hover { background: var(--signal); }
.button.secondary { background: var(--paper); }
.hero-index {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  background: rgba(244, 242, 237, .94);
  border: 2px solid var(--line);
}
.hero-index span, .hero-index strong { padding: .7rem .85rem; border-bottom: 1px solid var(--line); }
.hero-index span { color: var(--signal); font-size: .7rem; font-weight: 900; }
.hero-index strong { font-size: .72rem; text-transform: uppercase; }

.band { padding: 5.5rem 3rem; border-bottom: 2px solid var(--line); }
.statement { display: grid; grid-template-columns: 1fr 3fr; background: var(--ink); color: var(--white); }
.statement h2, .section-heading h2, .sources h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 5.2rem);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: 0;
}
.statement > div > p { max-width: 850px; margin: 1.5rem 0 0; color: #c9c8c2; font-size: 1.3rem; line-height: 1.5; }
.section-heading { max-width: 980px; margin-bottom: 3rem; }
.muted { color: var(--muted); max-width: 700px; line-height: 1.55; }

.loop { display: grid; grid-template-columns: repeat(5, 1fr); border: 2px solid var(--line); }
.loop div { min-height: 190px; padding: 1.2rem; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.loop div:last-child { border-right: 0; background: var(--signal); color: var(--white); }
.loop span { font-size: .7rem; font-weight: 900; color: var(--signal); }
.loop div:last-child span { color: var(--white); }
.loop strong { margin-top: auto; font-size: 1.15rem; text-transform: uppercase; }
.loop small { margin-top: .6rem; line-height: 1.4; }
.department-grid { margin-top: 1rem; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.department-grid article { min-height: 240px; padding: 1.25rem; border: 1px solid var(--line); background: var(--white); }
.department-grid b { color: var(--signal); font-size: .7rem; }
.department-grid h3 { margin-top: 4rem; font-size: 1.3rem; }
.department-grid p { color: var(--muted); line-height: 1.5; }

.roles { background: var(--white); }
.roles-heading { max-width: none; display: flex; justify-content: space-between; align-items: end; }
.count { font-size: 1rem; font-weight: 800; text-transform: uppercase; }
.filters { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-top: 2px solid var(--line); border-bottom: 2px solid var(--line); }
.filter-group { display: flex; flex-wrap: wrap; gap: .5rem; }
.filter { min-height: 42px; padding: 0 .8rem; border: 1px solid var(--line); background: var(--white); cursor: pointer; font-weight: 800; }
.filter.active, .filter:hover { background: var(--ink); color: var(--white); }
.filters label { display: flex; align-items: center; gap: .7rem; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
select { min-height: 42px; max-width: 220px; border: 1px solid var(--line); border-radius: 0; background: var(--white); padding: 0 2rem 0 .7rem; }
.role-grid { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.role-card { min-height: 350px; border: 1px solid var(--line); display: flex; flex-direction: column; background: var(--paper); }
.role-card header { padding: 1rem; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: .5rem; }
.role-card header span { font-size: .65rem; font-weight: 900; text-transform: uppercase; }
.role-card .card-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.role-card h3 { margin: 0; font-size: 1.65rem; text-transform: uppercase; }
.role-card p { color: var(--muted); line-height: 1.5; }
.tags { margin-top: auto; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags span { padding: .35rem .5rem; border: 1px solid var(--line); font-size: .66rem; font-weight: 800; }
.role-card a { margin-top: 1.2rem; padding-top: .8rem; border-top: 1px solid var(--line); display: flex; justify-content: space-between; text-decoration: none; font-weight: 900; }
.role-card a:hover { color: var(--signal); }
.fine-print { color: var(--muted); font-size: .75rem; }

.stages { background: var(--lime); }
.stage-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--line); }
.stage-grid article { padding: 1.5rem; min-height: 300px; border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.stage-grid article:last-child { border: 0; }
.stage-code { width: 50px; height: 50px; display: grid; place-items: center; background: var(--ink); color: var(--white); font-weight: 900; }
.stage-grid h3 { margin: 4rem 0 1rem; font-size: 2rem; text-transform: uppercase; }
.stage-grid p { line-height: 1.5; }
.stage-grid strong { margin-top: auto; text-transform: uppercase; }

.benchmark { background: #e9e7e0; }
.benchmark-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; }
.benchmark-list { border-top: 2px solid var(--line); }
.benchmark-list div { display: grid; grid-template-columns: 160px 1fr 2fr; align-items: center; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.benchmark-list span { font-weight: 900; text-transform: uppercase; }
.benchmark-list b { font-size: .8rem; }
meter { width: 100%; height: 18px; accent-color: var(--signal); }
.north-star-card { padding: 1.5rem; background: var(--signal); color: var(--white); display: flex; flex-direction: column; }
.north-star-card > p { margin: 0; font-size: .7rem; font-weight: 900; text-transform: uppercase; }
blockquote { margin: 4rem 0; font-size: 1.8rem; line-height: 1.25; }
.system-links { margin-top: auto; display: grid; gap: .4rem; font-size: .75rem; font-weight: 900; }

.signals ol { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--line); }
.signals li { display: grid; grid-template-columns: 80px 1fr; padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 2vw, 1.8rem); font-weight: 800; }
.signals li span { color: var(--signal); font-size: .7rem; }
.sources { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; background: var(--ink); color: var(--white); }
.source-copy { align-self: end; }
.source-copy p { color: #c9c8c2; line-height: 1.6; }
.text-link { display: flex; justify-content: space-between; padding: 1rem 0; border-top: 1px solid #777; text-decoration: none; font-weight: 800; }
.text-link:hover { color: var(--lime); }

footer { padding: 2rem 3rem; display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 1rem; }
footer strong { color: var(--signal); font-size: 2rem; }
footer p { font-size: .75rem; text-align: center; }
footer a { justify-self: end; font-weight: 800; text-decoration: none; }

:focus-visible { outline: 3px solid var(--signal); outline-offset: 3px; }

@media (max-width: 1000px) {
  .topbar { grid-template-columns: 1fr auto; }
  .topbar nav { display: none; }
  .status { display: none; }
  .hero-overlay { width: 75vw; }
  .loop, .department-grid { grid-template-columns: repeat(2, 1fr); }
  .loop div { border-bottom: 1px solid var(--line); }
  .role-grid { grid-template-columns: repeat(2, 1fr); }
  .benchmark-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .topbar { min-height: 72px; padding: 0 1rem; }
  .brand-copy { display: none; }
  .hero { min-height: 700px; align-items: start; }
  .hero > img { object-position: 57% center; opacity: .42; }
  .hero-overlay { width: 100%; padding: 4rem 1rem 12rem; }
  h1 { font-size: clamp(3.1rem, 15vw, 5rem); }
  .hero-index { left: 1rem; right: 1rem; bottom: 1rem; }
  .band { padding: 4rem 1rem; }
  .statement, .sources { grid-template-columns: 1fr; }
  .loop, .department-grid, .role-grid, .stage-grid { grid-template-columns: 1fr; }
  .loop div, .stage-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .roles-heading, .filters { align-items: stretch; flex-direction: column; }
  .filters label { justify-content: space-between; }
  .benchmark-list div { grid-template-columns: 1fr; }
  footer { padding: 2rem 1rem; grid-template-columns: 1fr; }
  footer p { text-align: left; }
  footer a { justify-self: start; }
}

