:root {
  --navy: #062640;
  --navy-2: #0b3854;
  --ink: #10202b;
  --muted: #62717c;
  --gold: #d5a02e;
  --gold-2: #f1c45d;
  --cream: #f7f2e8;
  --paper: #fffaf0;
  --mist: #e8eef0;
  --teal: #2f7f7a;
  --green: #7a9b52;
  --clay: #b66143;
  --white: #ffffff;
  --shadow: 0 18px 42px rgba(6, 38, 64, 0.16);
  --soft-shadow: 0 12px 28px rgba(6, 38, 64, 0.1);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7f7;
  line-height: 1.55;
  overflow-x: clip;
}

p,
h1,
h2,
h3,
h4,
a,
strong,
small {
  overflow-wrap: break-word;
}

a {
  color: inherit;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 10px 0;
  background: rgba(255, 250, 240, 0.94);
  border-bottom: 1px solid rgba(6, 38, 64, 0.12);
  backdrop-filter: blur(16px);
}

.site-header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 2.8vw, 34px);
  width: min(1120px, calc(100% - 40px));
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-width: 238px;
  text-decoration: none;
}

.brand-lockup {
  width: 238px;
  height: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 9px 11px;
  border-radius: 6px;
  color: #274252;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--navy);
  background: rgba(213, 160, 46, 0.14);
}

.menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(6, 38, 64, 0.14);
  border-radius: 8px;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
}

.page {
  min-height: calc(100vh - 200px);
}

.hero {
  position: relative;
  min-height: min(640px, calc(100vh - 150px));
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #051724;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 18, 30, 0.94) 0%, rgba(4, 20, 34, 0.78) 35%, rgba(4, 20, 34, 0.12) 70%),
    url("./assets/generated/hero-prison-exit.webp") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, #f4f7f7 0%, rgba(244, 247, 247, 0) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 42px 0 56px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow i {
  width: 17px;
  height: 17px;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--navy);
  line-height: 1.02;
}

h1 {
  max-width: 790px;
  color: var(--white);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(3.3rem, 7vw, 6rem);
  text-transform: uppercase;
  text-wrap: balance;
}

h2 {
  max-width: 980px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(2.5rem, 4.7vw, 4.7rem);
  text-transform: uppercase;
  text-wrap: balance;
}

h3 {
  font-size: 1.24rem;
}

h4 {
  font-size: 1rem;
}

.hero p {
  max-width: 680px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero-actions,
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.button i {
  width: 18px;
  height: 18px;
}

.button.primary {
  color: #082235;
  background: var(--gold-2);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}

.button.light {
  color: var(--navy);
  border-color: rgba(6, 38, 64, 0.12);
  background: var(--white);
}

.button.dark {
  color: var(--white);
  background: var(--navy);
}

.section {
  padding: clamp(64px, 8vw, 108px) clamp(18px, 4vw, 56px);
}

.section.alt {
  background: var(--cream);
}

.section.dark {
  color: rgba(255, 255, 255, 0.88);
  background: linear-gradient(135deg, var(--navy), #0b3f5a 64%, #124b4d);
}

.section.dark h1,
.section.dark h2,
.section.dark h3,
.section.dark h4 {
  color: var(--white);
}

.section.dark .section-kicker,
.section.dark .lead,
.section.dark p {
  color: rgba(255, 255, 255, 0.78);
}

.container {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.75fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-kicker {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  color: #50616d;
  font-size: 1.08rem;
  text-wrap: pretty;
}

.grid {
  display: grid;
  gap: 18px;
}

.grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.card.pad {
  padding: 24px;
}

.feature {
  background:
    radial-gradient(circle at 14% 22%, rgba(47, 127, 122, 0.13), transparent 28%),
    linear-gradient(180deg, #f4f7f7 0%, #eef3f1 100%);
}

.mission-system {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.72fr);
  gap: clamp(34px, 6vw, 78px);
  align-items: center;
}

.mission-copy {
  max-width: 720px;
}

.readiness-board {
  position: relative;
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(6, 38, 64, 0.12);
  border-radius: 8px;
  background: linear-gradient(145deg, #fffaf0 0%, #ffffff 100%);
  box-shadow: var(--shadow);
}

.readiness-board::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 34px;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--teal), var(--green));
}

.readiness-step {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  z-index: 1;
}

.readiness-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  color: var(--navy);
  background: var(--gold-2);
  font-weight: 900;
}

.readiness-step h3 {
  margin-top: 2px;
}

.readiness-step p {
  margin: 5px 0 0;
  color: #52636e;
}

.pressure-map {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.pressure-item {
  min-height: 270px;
  padding: 26px;
  border-right: 1px solid rgba(6, 38, 64, 0.1);
}

.pressure-item:last-child {
  border-right: 0;
}

.pressure-item .icon-box {
  margin-bottom: 18px;
}

.pressure-item h3 {
  line-height: 1.15;
}

.pressure-item p {
  margin: 10px 0 0;
  color: #52636e;
}

.readiness-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.readiness-node {
  position: relative;
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid rgba(6, 38, 64, 0.1);
}

.readiness-node:last-child {
  border-right: 0;
}

.readiness-node::before {
  content: attr(data-step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: #f4d07a;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
}

.readiness-node h3 {
  line-height: 1.14;
}

.readiness-node p {
  margin: 10px 0 0;
  color: #52636e;
}

.pathway-map {
  display: grid;
  gap: 18px;
}

.pathway-map .pathway-card {
  display: grid;
  grid-template-columns: minmax(220px, 0.44fr) minmax(0, 0.78fr) minmax(0, 0.9fr);
  gap: 26px;
  align-items: start;
  border-top: 5px solid var(--teal);
}

.pathway-map .pathway-card:nth-child(2n) {
  border-top-color: var(--gold);
}

.pathway-map .pathway-card > p {
  margin-top: 0;
}

.course-rail {
  display: grid;
  grid-template-columns: repeat(7, minmax(130px, 1fr));
  gap: 18px;
  align-items: start;
  padding: 10px 0 20px;
}

.course-rail .course-card {
  position: relative;
}

.course-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 12px;
  border: 1px solid rgba(6, 38, 64, 0.12);
  border-radius: 8px;
  color: var(--navy);
  background: var(--paper);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.course-rail .book {
  transform: perspective(1100px) rotateY(-5deg) rotateZ(-1deg);
}

.program-roadmap {
  border-radius: 8px;
}

.program-roadmap .program-row {
  grid-template-columns: 280px minmax(0, 1fr);
}

.program-roadmap .program-tag {
  position: relative;
  color: var(--navy);
  background: #eef6f2;
}

.program-roadmap .program-row:nth-child(even) .program-tag {
  background: #f7efd9;
}

.outcome-dashboard {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.outcome-panel {
  position: relative;
  overflow: hidden;
}

.outcome-panel::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  margin-top: 22px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), rgba(213, 160, 46, 0.18));
}

.outcome-panel:nth-child(2)::after {
  background: linear-gradient(90deg, var(--teal), rgba(47, 127, 122, 0.16));
}

.outcome-panel:nth-child(3)::after {
  background: linear-gradient(90deg, var(--green), rgba(122, 155, 82, 0.16));
}

.outcome-panel:nth-child(4)::after {
  background: linear-gradient(90deg, var(--clay), rgba(182, 97, 67, 0.16));
}

.partner-routes .support-card {
  display: grid;
  align-content: start;
  min-height: 300px;
  border-top: 5px solid var(--gold);
}

.partner-routes .support-card:nth-child(2) {
  border-top-color: var(--teal);
}

.partner-routes .support-card:nth-child(3) {
  border-top-color: var(--green);
}

.card p,
.timeline p,
.program-row p,
.outcome-panel p,
.resource-panel p {
  margin: 10px 0 0;
  color: #52636e;
}

.need-card .icon-box {
  margin-bottom: 18px;
}

.need-card h3,
.pathway-card h3,
.support-card h3 {
  line-height: 1.15;
}

.pathway-card p strong,
.program-copy strong,
.support-bridge,
.course-bridge {
  color: var(--navy);
  font-weight: 900;
}

.support-bridge,
.course-bridge {
  display: block;
  margin-top: 12px;
}

.insight-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.insight-list p {
  margin: 0;
  padding: 16px 18px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  color: #465965;
  background: rgba(255, 255, 255, 0.72);
}

.insight-list.compact p {
  background: #f7f9f9;
}

.icon-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.icon-heading .icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--white);
  background: var(--navy);
}

.icon-box.gold {
  color: #10202b;
  background: var(--gold-2);
}

.icon-box.teal {
  background: var(--teal);
}

.icon-box.green {
  background: var(--green);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.photo-panel {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--navy);
}

.photo-panel img {
  width: 100%;
  height: 100%;
  max-height: 620px;
  object-fit: cover;
}

.promise-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 38, 64, 0) 52%, rgba(6, 38, 64, 0.24) 100%);
  pointer-events: none;
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.58fr);
  gap: 30px;
  align-items: center;
  padding: clamp(30px, 5vw, 54px);
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, #062640 0%, #0b3854 64%, #123f52 100%);
  box-shadow: var(--shadow);
}

.statement h2 {
  color: var(--white);
}

.statement p {
  color: rgba(255, 255, 255, 0.82);
}

.timeline {
  counter-reset: step;
  display: grid;
  gap: 16px;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 18px;
  padding: 22px;
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.timeline-item::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  color: var(--navy);
  background: #f4d07a;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  padding: 12px 4px 26px;
}

.course-card {
  min-width: 0;
}

.book {
  position: relative;
  aspect-ratio: 0.74;
  transform: perspective(1100px) rotateY(-7deg) rotateZ(-1deg);
  transform-origin: center;
  border-radius: 7px 4px 4px 7px;
  background: #0b2233;
  box-shadow:
    0 20px 30px rgba(6, 38, 64, 0.22),
    10px 12px 0 rgba(6, 38, 64, 0.08);
}

.book::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  z-index: 2;
  width: 9%;
  border-radius: 7px 0 0 7px;
  background: linear-gradient(90deg, rgba(6, 38, 64, 0.36), rgba(6, 38, 64, 0.08) 50%, rgba(255, 255, 255, 0.1));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.book::after {
  content: "";
  position: absolute;
  inset: 2.5% -4% 2.5% auto;
  z-index: -1;
  width: 8%;
  border-radius: 0 5px 5px 0;
  background: linear-gradient(90deg, #123348 0%, #f3eadb 16%, #fff9ed 48%, #cabfae 100%);
  box-shadow:
    inset 6px 0 12px rgba(6, 38, 64, 0.16),
    8px 10px 20px rgba(6, 38, 64, 0.12);
}

.book img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 7px 4px 4px 7px;
  object-fit: cover;
}

.course-card h3 {
  margin-top: 18px;
  font-size: 1.02rem;
}

.course-card p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.course-detail-list {
  display: grid;
  gap: 22px;
}

.course-detail {
  display: grid;
  grid-template-columns: minmax(160px, 0.34fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
}

.course-detail-cover {
  max-width: 250px;
}

.course-detail h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
}

.course-detail p:not(.section-kicker) {
  margin: 12px 0 0;
  color: #52636e;
  font-size: 1.02rem;
}

.program-table {
  overflow: hidden;
  border: 1px solid rgba(6, 38, 64, 0.1);
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.program-row {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  padding: 0;
  border-top: 1px solid rgba(6, 38, 64, 0.1);
}

.program-row:first-child {
  border-top: 0;
}

.program-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 100%;
  padding: 24px 26px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  background: #eef6f2;
  border-right: 1px solid rgba(6, 38, 64, 0.08);
}

.program-row:nth-child(even) .program-tag {
  background: #f6f1e6;
}

.program-tag i {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

.program-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  padding: 24px 28px;
  background: #ffffff;
}

.program-copy p {
  margin: 0;
  padding: 0;
  background: transparent;
}

.program-row:nth-child(even) .program-copy {
  background: #fbfaf5;
}

.program-status {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--navy);
  background: #eaf0d9;
  font-size: 0.84rem;
  font-weight: 800;
  text-align: center;
}

.outcome-panel {
  padding: 26px;
  border-left: 5px solid var(--gold);
}

.outcome-panel:nth-child(2) {
  border-left-color: var(--teal);
}

.outcome-panel:nth-child(3) {
  border-left-color: var(--green);
}

.outcome-panel:nth-child(4) {
  border-left-color: var(--clay);
}

.resource-panel {
  overflow: hidden;
}

.resource-panel img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.resource-panel .pad {
  padding: 22px;
}

.contact-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(330px, 0.65fr);
  gap: 24px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.field {
  display: grid;
  gap: 6px;
}

.field label {
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 800;
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid rgba(6, 38, 64, 0.16);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fbfcfc;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  min-height: 1.35rem;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.success {
  color: #167245;
}

.form-status.error {
  color: #9f1d20;
}

.notice {
  padding: 18px;
  border: 1px solid rgba(213, 160, 46, 0.36);
  border-radius: 8px;
  color: #473817;
  background: #fff5d8;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 38px clamp(18px, 4vw, 56px);
  color: rgba(255, 255, 255, 0.72);
  background: #061d2d;
}

.site-footer strong {
  color: var(--white);
}

.site-footer p {
  margin: 8px 0 0;
}

.footer-links {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
  text-decoration: none;
}

.policy-nav {
  flex: 0 1 auto;
}

.policy-hero h1 {
  color: var(--white);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(3.2rem, 6vw, 5.5rem);
}

.policy-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.78fr);
  gap: 24px;
  align-items: start;
}

.policy-summary {
  position: sticky;
  top: 100px;
}

.policy-summary h2,
.policy-content h2 {
  font-size: clamp(1.55rem, 3vw, 2.2rem);
}

.policy-content h2:not(:first-child) {
  margin-top: 34px;
}

.policy-content p,
.policy-content li {
  color: #314856;
  font-size: 1rem;
}

.policy-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.policy-content a {
  color: var(--navy-2);
  font-weight: 800;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.how-it-works-hero .section-heading {
  align-items: center;
  margin-bottom: 0;
}

.how-it-works-hero h1 {
  max-width: 780px;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: clamp(3.2rem, 6.4vw, 5.8rem);
  line-height: 0.96;
  text-transform: uppercase;
  text-wrap: balance;
}

.section-jump-nav {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(6, 38, 64, 0.12);
  background: var(--paper);
  box-shadow: 0 8px 18px rgba(6, 38, 64, 0.06);
}

.section-jump-nav .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 0;
}

.section-jump-nav a {
  padding: 9px 15px;
  border-radius: 7px;
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 800;
  text-decoration: none;
}

.section-jump-nav a:hover {
  background: rgba(213, 160, 46, 0.16);
}

.how-section {
  scroll-margin-top: 96px;
}

.how-section:focus {
  outline: none;
}

.system-equation {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.system-element {
  min-height: 220px;
  padding: 28px;
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-top: 5px solid var(--teal);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
}

.system-element:last-child {
  border-top-color: var(--gold);
}

.system-element .icon-box {
  margin-bottom: 22px;
}

.system-element p {
  margin: 10px 0 0;
  color: #52636e;
}

.equation-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
}

.course-cluster-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.course-cluster {
  overflow: hidden;
}

.course-cluster-heading {
  min-height: 180px;
  padding: 26px;
  border-top: 5px solid var(--teal);
  background: var(--white);
}

.course-cluster:nth-child(2) .course-cluster-heading {
  border-top-color: var(--gold);
}

.course-cluster:nth-child(3) .course-cluster-heading {
  border-top-color: var(--green);
}

.course-cluster-heading .section-kicker {
  margin-bottom: 10px;
}

.course-cluster-heading > p:last-child {
  margin: 0;
  color: #52636e;
}

.course-disclosure {
  border-top: 1px solid rgba(6, 38, 64, 0.1);
  background: #fbfaf5;
}

.course-disclosure summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 19px 22px;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
}

.course-disclosure summary::-webkit-details-marker {
  display: none;
}

.course-disclosure summary span,
.course-disclosure summary strong,
.course-disclosure summary small {
  display: block;
}

.course-disclosure summary strong {
  line-height: 1.2;
}

.course-disclosure summary small {
  margin-top: 5px;
  color: #61727d;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.45;
}

.course-disclosure summary svg {
  width: 19px;
  height: 19px;
  color: var(--teal);
  transition: transform 160ms ease;
}

.course-disclosure[open] summary svg {
  transform: rotate(45deg);
}

.course-disclosure-detail {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  padding: 0 22px 22px;
}

.course-disclosure-detail img {
  width: 78px;
  aspect-ratio: 0.74;
  border-radius: 5px;
  object-fit: cover;
  box-shadow: 5px 8px 16px rgba(6, 38, 64, 0.18);
}

.course-disclosure-detail p {
  margin: 8px 0 0;
  color: #52636e;
  font-size: 0.88rem;
}

.course-disclosure-detail .course-bridge {
  margin-top: 0;
  color: var(--navy);
}

.delivery-continuum {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(6, 38, 64, 0.1);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--soft-shadow);
  list-style: none;
}

.delivery-continuum li {
  position: relative;
  min-height: 300px;
  padding: 28px 24px;
  border-left: 1px solid rgba(6, 38, 64, 0.1);
}

.delivery-continuum li:first-child {
  border-left: 0;
}

.delivery-continuum li::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--teal);
}

.delivery-continuum li:nth-child(even)::before {
  background: var(--gold);
}

.delivery-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  color: var(--navy);
  background: #f4d07a;
  font-family: "Barlow Condensed", Inter, sans-serif;
  font-size: 1.7rem;
  font-weight: 800;
}

.delivery-continuum h3 {
  font-size: 1.02rem;
  line-height: 1.18;
}

.delivery-continuum p {
  margin: 10px 0 0;
  color: #52636e;
  font-size: 0.9rem;
}

.outputs-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 76px);
  align-items: center;
}

.output-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.output-list li {
  position: relative;
  padding: 14px 16px 14px 42px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.06);
}

.output-list li::before {
  content: "✓";
  position: absolute;
  left: 16px;
  color: var(--gold-2);
  font-weight: 900;
}

.current-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.current-work-grid .card {
  min-height: 250px;
  border-top: 5px solid var(--teal);
}

.current-work-grid .card:nth-child(2) {
  border-top-color: var(--gold);
}

.current-work-grid .card:nth-child(3) {
  border-top-color: var(--green);
}

.how-it-works-cta .button-row {
  align-content: center;
  justify-content: flex-start;
}

@media (max-width: 1220px) {
  .site-header-inner {
    justify-content: space-between;
    width: min(1240px, calc(100% - 40px));
  }

  .menu-button {
    display: inline-flex;
    flex: 0 0 auto;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    padding: 12px 18px 18px;
    background: var(--paper);
    border-bottom: 1px solid rgba(6, 38, 64, 0.12);
    box-shadow: var(--soft-shadow);
  }

  .site-nav.open {
    display: flex;
    justify-content: flex-start;
  }
}

@media (max-width: 1040px) {
  .system-equation,
  .course-cluster-grid,
  .outputs-layout {
    grid-template-columns: 1fr;
  }

  .equation-symbol {
    min-height: 34px;
  }

  .system-element {
    min-height: auto;
  }

  .course-cluster-heading {
    min-height: auto;
  }

  .delivery-continuum {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delivery-continuum li {
    min-height: auto;
    border-bottom: 1px solid rgba(6, 38, 64, 0.1);
  }

  .delivery-continuum li:nth-child(odd) {
    border-left: 0;
  }

  .delivery-continuum li:last-child {
    grid-column: 1 / -1;
    border-bottom: 0;
    border-left: 0;
  }

  .mission-system,
  .pathway-map .pathway-card {
    grid-template-columns: 1fr;
  }

  .pressure-map,
  .readiness-map,
  .outcome-dashboard {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pressure-item,
  .readiness-node {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(6, 38, 64, 0.1);
  }

  .pressure-item:nth-child(odd),
  .readiness-node:nth-child(odd) {
    border-right: 1px solid rgba(6, 38, 64, 0.1);
  }

  .pressure-item:nth-last-child(-n + 2),
  .readiness-node:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .grid.four,
  .course-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .course-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .split,
  .statement,
  .contact-shell,
  .policy-layout {
    grid-template-columns: 1fr;
  }

  .policy-summary {
    position: static;
  }

  .program-row {
    grid-template-columns: 1fr;
  }

  .program-roadmap .program-row {
    grid-template-columns: 1fr;
  }

  .program-tag {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 38, 64, 0.08);
  }

  .course-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .section-jump-nav .container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 10px 18px;
  }

  .section-jump-nav a {
    text-align: center;
  }

  .how-it-works-hero h1 {
    font-size: clamp(2.75rem, 14vw, 3.5rem);
  }

  .delivery-continuum,
  .output-list,
  .current-work-grid {
    grid-template-columns: 1fr;
  }

  .delivery-continuum li,
  .delivery-continuum li:nth-child(odd),
  .delivery-continuum li:last-child {
    grid-column: auto;
    border-left: 0;
    border-bottom: 1px solid rgba(6, 38, 64, 0.1);
  }

  .delivery-continuum li:last-child {
    border-bottom: 0;
  }

  .course-disclosure-detail {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 14px;
    padding: 0 18px 20px;
  }

  .course-disclosure-detail img {
    width: 62px;
  }

  .site-header,
  .hero,
  .section,
  .site-footer {
    width: 100%;
    max-width: 100vw;
  }

  .container,
  .hero-content,
  .split,
  .section-heading,
  .grid,
  .photo-panel,
  .statement,
  .contact-shell,
  .policy-layout {
    min-width: 0;
    max-width: 100%;
  }

  .brand {
    min-width: 0;
  }

  .brand-lockup {
    width: min(220px, 58vw);
  }

  .hero {
    min-height: auto;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 18, 30, 0.95) 0%, rgba(4, 20, 34, 0.82) 58%, rgba(4, 20, 34, 0.36) 100%),
      url("./assets/generated/hero-prison-exit.webp") center / cover no-repeat;
  }

  .hero-content {
    width: 100%;
    padding: 54px 20px 78px;
  }

  .hero p,
  .lead,
  .card p,
  .program-copy p,
  .insight-list p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 3.5rem);
  }

  h2 {
    font-size: clamp(2.1rem, 11vw, 3rem);
  }

  .section-heading {
    gap: 18px;
  }

  .section {
    padding: 58px 18px;
  }

  .policy-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.2rem);
  }

  .hero-actions,
  .button-row {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .course-grid,
  .course-rail,
  .pressure-map,
  .readiness-map,
  .outcome-dashboard {
    grid-template-columns: 1fr;
  }

  .pressure-item,
  .pressure-item:nth-child(odd),
  .readiness-node,
  .readiness-node:nth-child(odd) {
    border-right: 0;
    border-bottom: 1px solid rgba(6, 38, 64, 0.1);
  }

  .pressure-item:last-child,
  .readiness-node:last-child {
    border-bottom: 0;
  }

  .readiness-board {
    padding: 22px;
  }

  .readiness-board::before {
    left: 22px;
  }

  .readiness-step {
    grid-template-columns: 40px minmax(0, 1fr);
  }

  .readiness-step span {
    width: 40px;
    height: 40px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .course-detail {
    padding: 18px;
  }

  .course-detail-cover {
    max-width: 220px;
  }

  .book,
  .course-rail .book {
    transform: none;
  }

  .book::after {
    inset: 2.5% 0 2.5% auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
