.home-page {
  overflow-x: hidden;
}

.home-hero {
  min-height: calc(100vh - var(--header-height));
  display: grid;
  align-items: center;
  padding: 72px 0 88px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.home-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
}

.home-hero-copy {
  max-width: 730px;
}

.home-hero h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(54px, 5.7vw, 82px);
  font-weight: 840;
  letter-spacing: -0.055em;
  line-height: 0.99;
}

.home-hero-lines {
  margin: 28px 0 0;
  color: var(--brand-blue-deep);
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 760;
  letter-spacing: -0.015em;
}

.home-hero-support {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button-outline {
  color: var(--brand-blue-deep);
  border-color: var(--brand-blue-deep);
  background: var(--white);
  box-shadow: none;
}

.button-outline:hover {
  color: var(--white);
  border-color: var(--brand-blue-deep);
  background: var(--brand-blue-deep);
  box-shadow: 0 14px 34px rgb(4 62 137 / 18%);
}

.home-evidence-frame {
  position: relative;
  min-height: 470px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #c9d5e2;
  background:
    linear-gradient(90deg, transparent 49.85%, rgb(7 84 160 / 8%) 50%, transparent 50.15%),
    linear-gradient(transparent 49.85%, rgb(7 84 160 / 8%) 50%, transparent 50.15%),
    var(--soft);
}

.home-evidence-frame::before,
.home-evidence-frame::after {
  content: "";
  position: absolute;
  width: 46px;
  height: 46px;
  border-color: var(--orange);
  pointer-events: none;
}

.home-evidence-frame::before {
  top: 14px;
  left: 14px;
  border-top: 2px solid var(--orange);
  border-left: 2px solid var(--orange);
}

.home-evidence-frame::after {
  right: 14px;
  bottom: 14px;
  border-right: 2px solid var(--orange);
  border-bottom: 2px solid var(--orange);
}

.home-evidence-code {
  color: var(--brand-blue-deep);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.home-evidence-frame > div {
  align-self: center;
  display: grid;
  gap: 10px;
  padding: 44px;
  text-align: center;
}

.home-evidence-frame strong {
  color: var(--navy);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.2;
}

.home-evidence-frame div span,
.home-evidence-frame figcaption {
  color: var(--muted);
  font-size: 13px;
}

.home-evidence-frame figcaption {
  padding-top: 16px;
  border-top: 1px solid #c9d5e2;
}

.home-evidence-frame.has-image {
  background: var(--navy-soft);
}

.home-evidence-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02) brightness(0.78);
}

.home-evidence-frame.has-image .home-evidence-code,
.home-evidence-frame.has-image > div,
.home-evidence-frame.has-image figcaption {
  position: relative;
  z-index: 1;
}

.home-evidence-frame.has-image .home-evidence-code {
  width: fit-content;
  padding: 8px 10px;
  color: var(--brand-blue-deep);
  background: rgb(255 255 255 / 92%);
}

.home-evidence-frame.has-image > div {
  align-self: end;
  margin: 0 -24px;
  padding: 130px 24px 20px;
  background: linear-gradient(transparent, rgb(2 18 41 / 88%));
  text-align: left;
}

.home-evidence-frame.has-image strong,
.home-evidence-frame.has-image div span,
.home-evidence-frame.has-image figcaption {
  color: var(--white);
}

.home-evidence-frame.has-image figcaption {
  margin: 0 -24px -24px;
  padding: 13px 24px 16px;
  border-top-color: rgb(255 255 255 / 22%);
  background: rgb(2 18 41 / 88%);
}

.home-section {
  padding: 108px 0;
}

.home-section-heading {
  max-width: 680px;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(42px, 4vw, 58px);
  font-weight: 830;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.home-section-heading p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.home-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.home-heading-light h2,
.home-heading-light p {
  color: var(--white);
}

.home-heading-light p {
  color: rgb(255 255 255 / 70%);
}

.category-section {
  background: var(--white);
}

.category-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 58px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.category-rail article {
  min-width: 0;
  padding: 38px 38px 42px;
  border-right: 1px solid var(--line);
}

.category-rail article:first-child {
  padding-left: 0;
}

.category-rail article:last-child {
  padding-right: 0;
  border-right: 0;
}

.category-rail article > span,
.application-list article > span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.14em;
}

.category-rail h3,
.application-list h3,
.work-rail h3 {
  margin: 18px 0 0;
  color: var(--navy);
  font-size: 24px;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

.category-rail p,
.application-list p,
.work-rail p {
  margin: 12px 0 0;
  color: var(--muted);
}

.category-rail a {
  display: inline-flex;
  margin-top: 22px;
  color: var(--brand-blue-deep);
  font-size: 14px;
  font-weight: 800;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.featured-section {
  background: var(--navy);
}

.machine-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 58px;
  border-top: 1px solid rgb(255 255 255 / 24%);
  border-bottom: 1px solid rgb(255 255 255 / 24%);
}

.machine-entry {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding: 30px 28px 34px;
  border-right: 1px solid rgb(255 255 255 / 24%);
}

.machine-entry:first-child {
  padding-left: 0;
}

.machine-entry:last-child {
  padding-right: 0;
  border-right: 0;
}

.machine-media-placeholder {
  min-height: 168px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px dashed #b8c7d7;
  color: #526173;
  background: var(--white);
  text-align: center;
}

.machine-media-placeholder span {
  max-width: 150px;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.machine-media {
  position: relative;
  min-height: 168px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 24%);
  background: #e8eef4;
}

.machine-media-image {
  width: 100%;
  height: 190px;
  display: block;
  object-fit: cover;
}

.machine-media-image-contain {
  object-fit: contain;
}

.machine-media figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 34px 14px 12px;
  color: var(--white);
  background: linear-gradient(transparent, rgb(2 18 41 / 92%));
  font-size: 10px;
  font-weight: 750;
  line-height: 1.35;
}

.machine-entry-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.machine-family {
  color: #ff9b4d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.machine-entry h3 {
  margin: 12px 0 0;
  color: var(--white);
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.machine-entry dl {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
}

.machine-entry dl > div {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 14px;
  padding: 10px 0;
  border-top: 1px solid rgb(255 255 255 / 16%);
}

.machine-entry dt {
  color: rgb(255 255 255 / 58%);
  font-size: 12px;
}

.machine-entry dd {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.machine-entry-copy > p {
  margin: 18px 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: 13px;
}

.machine-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 24px;
  color: #ff9b4d;
  font-size: 13px;
  font-weight: 820;
  text-decoration: none;
}

.machine-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-split-heading {
  display: grid;
  grid-template-columns: 0.68fr 1.32fr;
  gap: clamp(60px, 8vw, 120px);
}

.application-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
}

.application-list article {
  min-width: 0;
  padding: 30px 32px 34px 0;
  border-bottom: 1px solid var(--line);
}

.application-list article:nth-child(odd) {
  padding-right: 38px;
  border-right: 1px solid var(--line);
}

.application-list article:nth-child(even) {
  padding-left: 38px;
}

.application-list h3 {
  margin-top: 12px;
  font-size: 22px;
}

.why-section {
  background: var(--soft);
}

.why-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(60px, 8vw, 120px);
  align-items: start;
}

.why-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #c9d5e2;
}

.why-list li {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 18px;
  align-items: center;
  padding: 21px 0;
  border-bottom: 1px solid #c9d5e2;
}

.why-list span {
  color: var(--brand-blue-deep);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.why-list strong {
  color: var(--navy);
  font-size: 18px;
}

.proof-section {
  background: var(--navy-soft);
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  align-items: center;
  gap: clamp(60px, 8vw, 120px);
}

.proof-slots {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid rgb(255 255 255 / 24%);
}

.proof-slots > div {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 0 0 28px;
  overflow: hidden;
  border-right: 1px solid rgb(255 255 255 / 24%);
  background: rgb(255 255 255 / 4%);
}

.proof-slots img {
  width: 100%;
  height: 180px;
  display: block;
  object-fit: cover;
}

.proof-slots img.proof-image-contain {
  object-fit: contain;
  background: #e8eef4;
}

.proof-slots span,
.proof-slots strong {
  margin-right: 26px;
  margin-left: 26px;
}

.proof-slots > div:last-child {
  border-right: 0;
}

.proof-slots span {
  color: #ff9b4d;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.proof-slots strong {
  color: var(--white);
  font-size: 20px;
  line-height: 1.3;
}

.work-section {
  background: var(--white);
}

.work-rail {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 58px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.work-rail li {
  min-width: 0;
  padding: 30px 24px 34px;
  border-right: 1px solid var(--line);
}

.work-rail li:first-child {
  padding-left: 0;
}

.work-rail li:last-child {
  padding-right: 0;
  border-right: 0;
}

.work-rail li > span {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--brand-blue);
  font-size: 11px;
  font-weight: 850;
}

.work-rail h3 {
  font-size: 18px;
}

.work-rail p {
  font-size: 13px;
}

.home-contact {
  border-top: 4px solid var(--orange);
}

@media (max-width: 1040px) {
  .home-page .header-inner {
    grid-template-columns: 184px 1fr auto;
  }

  .home-page .site-nav {
    gap: 14px;
  }

  .home-page .site-nav a {
    font-size: 13px;
  }

  .home-hero {
    min-height: auto;
  }

  .home-hero-grid {
    grid-template-columns: 1fr;
  }

  .home-hero-copy {
    max-width: 850px;
  }

  .home-evidence-frame {
    min-height: 390px;
  }

  .machine-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .machine-entry:nth-child(2) {
    padding-right: 0;
    border-right: 0;
  }

  .machine-entry:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid rgb(255 255 255 / 24%);
  }

  .machine-entry:nth-child(4) {
    border-top: 1px solid rgb(255 255 255 / 24%);
  }

  .work-rail {
    grid-template-columns: repeat(3, 1fr);
  }

  .work-rail li:nth-child(3) {
    border-right: 0;
  }

  .work-rail li:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 820px) {
  .home-page .header-inner {
    grid-template-columns: 1fr auto;
  }

  .home-page .site-nav {
    gap: 0;
  }

  .home-page .site-nav a {
    font-size: 16px;
  }

  .home-hero {
    padding: 58px 0 72px;
  }

  .home-hero h1 {
    font-size: clamp(46px, 11vw, 66px);
  }

  .home-section {
    padding: 84px 0;
  }

  .category-rail,
  .home-split-heading,
  .why-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .category-rail article,
  .category-rail article:first-child,
  .category-rail article:last-child {
    padding: 30px 0 34px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .category-rail article:last-child {
    border-bottom: 0;
  }

  .home-split-heading,
  .why-grid,
  .proof-grid {
    gap: 48px;
  }

  .application-list {
    grid-template-columns: 1fr;
  }

  .application-list article,
  .application-list article:nth-child(odd),
  .application-list article:nth-child(even) {
    padding: 26px 0 30px;
    border-right: 0;
  }

  .proof-slots {
    grid-template-columns: 1fr;
  }

  .proof-slots > div {
    min-height: 180px;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 24%);
  }

  .proof-slots > div:last-child {
    border-bottom: 0;
  }

  .work-rail {
    grid-template-columns: 1fr;
  }

  .work-rail li,
  .work-rail li:first-child,
  .work-rail li:last-child,
  .work-rail li:nth-child(n + 4) {
    padding: 26px 0 30px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .work-rail li:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 620px) {
  .home-hero h1 {
    font-size: clamp(42px, 12.2vw, 56px);
  }

  .home-hero-lines {
    font-size: 18px;
  }

  .home-hero-support {
    font-size: 16px;
  }

  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .home-evidence-frame {
    min-height: 330px;
    padding: 18px;
  }

  .home-evidence-frame > div {
    padding: 30px 12px;
  }

  .machine-list {
    grid-template-columns: 1fr;
  }

  .machine-entry,
  .machine-entry:first-child,
  .machine-entry:last-child,
  .machine-entry:nth-child(2),
  .machine-entry:nth-child(3),
  .machine-entry:nth-child(4) {
    padding: 28px 0 32px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid rgb(255 255 255 / 24%);
  }

  .machine-entry:last-child {
    border-bottom: 0;
  }

  .machine-media-placeholder {
    min-height: 150px;
  }

  .home-section-heading h2 {
    font-size: 40px;
  }
}
