.home-routes {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 140, 0, 0.05) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #ffffff 0%, #f6f3ed 100%);
  background-size: 96px 100%, auto;
}

.home-routes .section__inner {
  position: relative;
}

.home-routes__grid {
  counter-reset: route-card;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.08fr) minmax(0, 0.96fr);
  align-items: stretch;
  gap: clamp(0.9rem, 2vw, 1.25rem);
}

.home-routes .path-card {
  counter-increment: route-card;
  grid-template-columns: 1fr;
  min-height: 0;
  border-radius: 10px;
  border-color: rgba(16, 21, 27, 0.16);
  color: #ffffff;
  background:
    linear-gradient(180deg, rgba(255, 140, 0, 0.1), rgba(255, 140, 0, 0) 34%),
    #10161d;
  box-shadow: 0 22px 54px rgba(14, 18, 24, 0.15);
}

.home-routes .path-card::before {
  position: absolute;
  z-index: 3;
  top: 1rem;
  right: 1rem;
  content: "0" counter(route-card);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(5, 8, 11, 0.68);
  color: #ff9a18;
  font-size: 0.78rem;
  font-weight: 900;
}

.home-routes .path-card--featured {
  border-color: rgba(255, 140, 0, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 140, 0, 0.2), rgba(255, 140, 0, 0) 38%),
    #111922;
}

.home-routes .path-card .route-card__media {
  height: auto;
  aspect-ratio: 16 / 11;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.home-routes .path-card .route-card__media::after {
  background:
    linear-gradient(180deg, rgba(7, 10, 13, 0.06), rgba(7, 10, 13, 0.64)),
    linear-gradient(90deg, rgba(255, 140, 0, 0.22), transparent 42%);
}

.home-routes .path-card__body {
  min-height: 16.5rem;
  padding: 1.35rem;
  align-content: start;
}

.home-routes .path-card__body h3 {
  color: #ffffff;
  font-size: 1.62rem;
  line-height: 1.04;
}

.home-routes .card-copy {
  color: rgba(255, 255, 255, 0.7);
}

.home-routes .card-kicker {
  color: #ff9a18;
}

.home-routes .button--light {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.home-routes .path-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 140, 0, 0.5);
  box-shadow: 0 28px 70px rgba(14, 18, 24, 0.22);
}

.home-routes .path-card--featured:hover {
  transform: translateY(-5px);
}

.home-signal-strip {
  padding: 1.25rem 0;
  background: #0a0f14;
}

.home-signal-strip__grid {
  margin: 0;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
}

.home-signal-strip .stat-card {
  position: relative;
  min-height: 8.2rem;
  padding: 1.15rem;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
    #111820;
  color: #ffffff;
  box-shadow: none;
}

.home-signal-strip .stat-card::before {
  position: absolute;
  top: 0;
  left: 1.15rem;
  width: 3rem;
  height: 3px;
  content: "";
  background: #ff8c00;
}

.home-signal-strip .stat-card strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #ffffff;
  font-size: 1.34rem;
}

.home-signal-strip .stat-card span {
  color: rgba(255, 255, 255, 0.66);
}

.home-workflow {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(17, 22, 29, 0.055) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #faf8f4, #f1ede5);
  background-size: 92px 100%, auto;
}

.home-workflow__steps {
  position: relative;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(29, 24, 18, 0.09);
}

.home-workflow__steps::before {
  position: absolute;
  z-index: 0;
  top: 3.2rem;
  left: 2rem;
  right: 2rem;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, #ff8c00, rgba(17, 22, 29, 0.12));
}

.home-workflow .flow-step {
  z-index: 1;
  min-height: 18rem;
  padding: 1.65rem;
  border: 0;
  border-right: 1px solid rgba(17, 22, 29, 0.1);
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), #ffffff),
    #ffffff;
  box-shadow: none;
}

.home-workflow .flow-step:last-child {
  border-right: 0;
}

.home-workflow .flow-step span {
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 2.05rem;
  border: 5px solid #ffffff;
  border-radius: 999px;
  background: #ff8c00;
  color: #ffffff;
  box-shadow: 0 0 0 1px rgba(255, 140, 0, 0.28), 0 12px 26px rgba(255, 140, 0, 0.18);
  letter-spacing: 0;
}

.home-workflow .flow-step h3 {
  font-size: 1.28rem;
}

.home-evidence {
  position: relative;
  overflow: hidden;
  color: #ffffff;
  background:
    linear-gradient(90deg, rgba(255, 140, 0, 0.14) 0 1px, transparent 1px 100%),
    linear-gradient(180deg, #0b1117, #121a23);
  background-size: 92px 100%, auto;
}

.home-evidence h2,
.home-evidence h3 {
  color: #ffffff;
}

.home-evidence .eyebrow,
.home-evidence .card-kicker {
  color: #ff9a18;
}

.home-evidence .section-copy {
  color: rgba(255, 255, 255, 0.7);
}

.home-evidence__grid {
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.13);
}

.home-evidence .collection-card--visual {
  border: 0;
  border-radius: 0;
  background: #111820;
  color: #ffffff;
  box-shadow: none;
}

.home-evidence .collection-card--visual::before {
  background: #ff8c00;
}

.home-evidence .collection-card--visual:hover {
  transform: none;
  box-shadow: none;
}

.home-evidence .collection-card--visual:hover .route-card__media img {
  transform: scale(1.04);
}

.home-evidence .route-card__body {
  min-height: 11rem;
  padding: 1.25rem;
}

.home-evidence .button--light {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.home-video-library {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #fff, #f6f2ea);
}

.home-video-library .video-case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-video-library .video-case-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  min-height: 100%;
  border: 1px solid rgba(17, 22, 29, 0.12);
  border-radius: 10px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(21, 25, 30, 0.08);
}

.home-video-library .video-case-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #0f141a;
}

.home-video-library .video-case-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.28s ease;
}

.home-video-library .video-case-card:hover .video-case-card__media img {
  transform: scale(1.035);
}

.home-video-library .video-case-card__status {
  position: absolute;
  top: 0.85rem !important;
  right: auto !important;
  bottom: auto !important;
  left: 0.85rem !important;
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  width: auto !important;
  height: 1.8rem !important;
  min-height: 1.8rem;
  padding: 0 0.62rem;
  border-radius: 999px;
  background: rgba(7, 10, 13, 0.76) !important;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-video-library .video-case-card__status::before {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  content: "";
  background: #ff8c00;
}

.home-video-library .video-case-card__status.is-ready::before {
  background: #22c55e;
}

.home-video-library .video-case-card__body {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
}

.home-video-library .video-case-card__topline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: #ff8c00;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-video-library .video-case-card h3 {
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.18;
}

.home-video-library .video-case-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.5;
}

.home-video-library .video-case-card__meta {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(17, 22, 29, 0.1);
}

.home-video-library .video-case-card__meta div {
  display: grid;
  gap: 0.18rem;
}

.home-video-library .video-case-card__meta dt {
  color: var(--ink-faint);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}

.home-video-library .video-case-card__meta dd {
  margin: 0;
  color: var(--ink);
  font-weight: 750;
}

.home-video-library .video-case-card__action {
  align-self: end;
  justify-self: start;
  margin-top: 0.2rem;
}

.home-final-cta {
  padding-top: 2.5rem;
  background:
    linear-gradient(180deg, #f6f2ea, #ffffff);
}

.home-final-cta__band {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  padding: clamp(1.7rem, 4vw, 3rem);
  background:
    linear-gradient(90deg, rgba(255, 140, 0, 0.18) 0 1px, transparent 1px 100%),
    linear-gradient(135deg, #0a0f14, #151d25);
  background-size: 92px 100%, auto;
  box-shadow: 0 24px 64px rgba(10, 14, 18, 0.2);
}

.home-final-cta__band::before {
  position: absolute;
  top: 0;
  left: clamp(1.4rem, 3vw, 2.2rem);
  width: clamp(4rem, 7vw, 7rem);
  height: 4px;
  content: "";
  background: #ff8c00;
}

.home-final-cta__band .button--secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  color: #ffffff;
}

@media (max-width: 1100px) {
  .home-routes__grid,
  .home-video-library .video-case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .home-workflow__steps::before {
    display: none;
  }

  .home-workflow .flow-step:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 760px) {
  .home-routes__grid,
  .home-video-library .video-case-grid,
  .home-workflow__steps {
    grid-template-columns: 1fr;
  }

  .home-routes .path-card__body,
  .home-evidence .route-card__body {
    min-height: auto;
  }

  .home-signal-strip__grid {
    grid-template-columns: 1fr;
  }

  .home-workflow .flow-step,
  .home-workflow .flow-step:nth-child(2) {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(17, 22, 29, 0.1);
  }

  .home-workflow .flow-step:last-child {
    border-bottom: 0;
  }

  .home-workflow .flow-step span {
    margin-bottom: 1rem;
  }

  .home-final-cta__band .button-group {
    width: 100%;
  }

  .home-final-cta__band .button {
    justify-content: center;
    width: 100%;
  }
}
