body[data-page="home"] {
  --home-ink: #f8fbf7;
  --home-muted: #b8c7c2;
  --home-dark: #030707;
  --home-panel: #081112;
  --home-panel-2: #10201d;
  --home-line: rgba(248, 251, 247, 0.14);
  --home-teal: #1de2cc;
  --home-lime: #a9ff68;
  --home-amber: #ffd166;
  --home-coral: #ff7a66;
  background:
    linear-gradient(180deg, #020505 0%, #081112 48%, #030707 100%) !important;
}

body[data-page="home"] .ai-overlay,
body[data-page="home"] .ai-grid,
body[data-page="home"] .ai-nodes {
  opacity: 0.16;
}

body[data-page="home"] main.home-rebuild {
  max-width: none;
  padding: 0 0 84px;
}

.home-rebuild [hidden] {
  display: none !important;
}

.home-hero {
  position: relative;
  min-height: 620px;
  height: calc(100svh - 104px);
  max-height: 760px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--home-dark);
  isolation: isolate;
}

.home-hero__image,
.home-hero__shade {
  position: absolute;
  inset: 0;
}

.home-hero__image {
  z-index: -3;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  filter: saturate(0.92) contrast(1.08);
}

.home-hero__shade {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(2, 5, 5, 0.96) 0%, rgba(2, 5, 5, 0.8) 42%, rgba(2, 5, 5, 0.2) 72%),
    linear-gradient(180deg, rgba(2, 5, 5, 0.04) 0%, rgba(2, 5, 5, 0.92) 100%);
}

.home-hero__shade::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--home-teal), var(--home-lime), var(--home-amber), var(--home-coral));
}

.home-hero__content {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 76px 24px 54px;
}

.home-eyebrow {
  margin: 0 0 12px;
  color: var(--home-teal);
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.home-hero h2 {
  max-width: 820px;
  margin: 0;
  color: var(--home-ink);
  font-size: 4.75rem;
  line-height: 0.96;
  text-wrap: balance;
}

.home-hero__lede {
  max-width: 650px;
  margin: 22px 0 0;
  color: var(--home-muted);
  font-size: 1.12rem;
}

.home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.home-signal-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 760px;
  margin-top: 34px;
}

.home-signal-strip span {
  border: 1px solid rgba(248, 251, 247, 0.18);
  border-radius: 8px;
  padding: 10px 14px;
  background: rgba(3, 7, 7, 0.58);
  color: rgba(248, 251, 247, 0.86);
  backdrop-filter: blur(14px);
}

.home-section {
  max-width: 1160px;
  margin: 0 auto;
  padding: 84px 24px 0;
}

.home-section__header {
  max-width: 720px;
  margin-bottom: 24px;
}

.home-section__header h3,
.recruit-band h3,
.home-cta h3 {
  margin: 0;
  color: var(--home-ink);
  font-size: 2.3rem;
  line-height: 1.08;
  text-wrap: balance;
}

.home-section__header--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.home-inline-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(248, 251, 247, 0.22);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.04);
}

.home-paths {
  max-width: none;
  margin-top: 0;
  padding: 72px 24px;
  background: #f2efe4;
  color: #081112;
}

.home-paths .home-section__header,
.path-grid {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
}

.home-paths .home-eyebrow {
  color: #08665e;
}

.home-paths h3 {
  color: #081112;
}

.path-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.path-card {
  min-height: 252px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(8, 17, 18, 0.12);
  border-radius: 8px;
  padding: 22px;
  color: #081112;
  background: rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.path-card:hover {
  transform: translateY(-4px);
  border-color: rgba(8, 102, 94, 0.34);
  box-shadow: 0 18px 42px rgba(8, 17, 18, 0.12);
}

.path-card span,
.home-cta-card span {
  color: #08665e;
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
}

.path-card h4 {
  margin: 0;
  font-size: 1.25rem;
}

.path-card p {
  margin: 0;
  color: rgba(8, 17, 18, 0.72);
}

.path-card strong {
  color: #064f49;
}

.path-card--recruit {
  background: #101d1c;
  color: var(--home-ink);
}

.path-card--recruit p {
  color: rgba(248, 251, 247, 0.72);
}

.path-card--recruit span,
.path-card--recruit strong {
  color: var(--home-lime);
}

.home-proof {
  max-width: 1160px;
  margin: 48px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.proof-item,
.proof-quote {
  min-height: 132px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.045);
}

.proof-item {
  display: grid;
  align-content: center;
  gap: 8px;
}

.proof-item strong {
  color: var(--home-teal);
  font-size: 1.55rem;
  line-height: 1;
}

.proof-item span,
.proof-quote cite {
  color: var(--home-muted);
  font-style: normal;
}

.proof-quote {
  margin: 0;
  display: grid;
  align-content: center;
  gap: 8px;
}

.proof-quote p {
  margin: 0;
  color: var(--home-ink);
  font-size: 1.2rem;
  font-weight: 700;
}

.solution-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 16px;
  align-items: stretch;
}

.solution-tabs {
  display: grid;
  gap: 10px;
}

.solution-tab {
  min-height: 82px;
  width: 100%;
  display: grid;
  align-content: center;
  gap: 4px;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  padding: 14px;
  color: var(--home-muted);
  background: rgba(255, 255, 255, 0.035);
  font: inherit;
  text-align: left;
}

.solution-tab span {
  color: var(--home-teal);
  font-family: "Space Mono", "SFMono-Regular", Consolas, monospace;
  font-size: 0.76rem;
  text-transform: uppercase;
}

.solution-tab strong {
  color: var(--home-ink);
  font-size: 1.02rem;
}

.solution-tab:hover,
.solution-tab.is-active {
  border-color: rgba(29, 226, 204, 0.58);
  background:
    linear-gradient(135deg, rgba(29, 226, 204, 0.14), rgba(169, 255, 104, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.solution-panel {
  min-height: 450px;
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 8px;
  background: var(--home-panel);
}

.solution-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.05);
}

.solution-panel__body {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px;
}

.solution-panel h4 {
  margin: 0;
  color: var(--home-ink);
  font-size: 2rem;
  line-height: 1.1;
  text-wrap: balance;
}

.solution-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--home-muted);
}

.solution-panel li {
  display: grid;
  grid-template-columns: 12px 1fr;
  gap: 10px;
  align-items: baseline;
}

.solution-panel li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--home-amber);
}

.recruit-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.role-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.role-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(248, 251, 247, 0.2);
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--home-ink);
  background: rgba(255, 255, 255, 0.045);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.role-link:hover {
  transform: translateY(-2px);
  border-color: rgba(169, 255, 104, 0.56);
  background: rgba(169, 255, 104, 0.1);
}

.home-cta {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  gap: 22px;
  align-items: stretch;
}

.home-cta__copy {
  align-self: center;
}

.home-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.home-cta-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  gap: 12px;
  border: 1px solid rgba(29, 226, 204, 0.26);
  border-radius: 8px;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(29, 226, 204, 0.18), rgba(255, 209, 102, 0.08)),
    rgba(255, 255, 255, 0.04);
  transition: transform 180ms ease, border-color 180ms ease;
}

.home-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(169, 255, 104, 0.58);
}

.home-cta-card strong {
  color: var(--home-ink);
  font-size: 1.35rem;
  line-height: 1.15;
}

@media (max-width: 1040px) {
  .home-hero h2 {
    font-size: 3.6rem;
  }

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

  .solution-layout,
  .solution-panel,
  .recruit-band,
  .home-cta {
    grid-template-columns: 1fr;
  }

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

  .solution-panel img {
    height: 280px;
  }
}

@media (max-width: 700px) {
  .home-hero {
    height: auto;
    min-height: 650px;
  }

  .home-hero__image {
    object-position: 62% center;
  }

  .home-hero__shade {
    background:
      linear-gradient(90deg, rgba(2, 5, 5, 0.92) 0%, rgba(2, 5, 5, 0.72) 100%),
      linear-gradient(180deg, rgba(2, 5, 5, 0.12) 0%, rgba(2, 5, 5, 0.96) 100%);
  }

  .home-hero__content {
    padding: 86px 20px 38px;
  }

  .home-hero h2 {
    font-size: 2.65rem;
    line-height: 1.02;
  }

  .home-hero__lede {
    font-size: 1rem;
  }

  .home-actions,
  .home-section__header--split {
    align-items: stretch;
    flex-direction: column;
  }

  .home-actions .button,
  .home-inline-link {
    width: 100%;
  }

  .home-section,
  .home-paths {
    padding-left: 20px;
    padding-right: 20px;
  }

  .home-section {
    padding-top: 64px;
  }

  .home-paths {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .home-section__header h3,
  .recruit-band h3,
  .home-cta h3 {
    font-size: 1.95rem;
  }

  .path-grid,
  .home-proof,
  .solution-tabs,
  .home-cta-grid {
    grid-template-columns: 1fr;
  }

  .home-signal-strip {
    display: none;
  }

  .path-card {
    min-height: 220px;
  }

  .solution-panel__body {
    padding: 24px;
  }

  .solution-panel h4 {
    font-size: 1.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .path-card,
  .solution-tab,
  .role-link,
  .home-cta-card {
    transition: none;
  }
}
