:root {
  --home-ink: #132530;
  --home-navy: #071b2a;
  --home-navy-soft: #12344a;
  --home-red: #b83b2f;
  --home-red-dark: #952b22;
  --home-gold: #d79b38;
  --home-green: #25614d;
  --home-paper: #ffffff;
  --home-warm: #f5f3ef;
  --home-mist: #edf2f4;
  --home-line: #cbd5da;
  --home-muted: #586b76;
}

.home-page {
  margin: 0;
  color: var(--home-ink);
  background: var(--home-paper);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
}

.home-page *,
.home-page *::before,
.home-page *::after {
  box-sizing: border-box;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p,
.home-page figure {
  margin-top: 0;
}

.home-page h1,
.home-page h2,
.home-page h3 {
  color: inherit;
  font-weight: 750;
  letter-spacing: 0;
}

.home-page a:focus-visible,
.home-page button:focus-visible {
  outline: 3px solid var(--home-gold);
  outline-offset: 3px;
}

.home-container {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.home-kicker {
  margin-bottom: 14px;
  color: var(--home-red-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.home-kicker-light {
  color: #ffc26c;
}

.home-section-heading {
  max-width: 850px;
  margin-bottom: 46px;
}

.home-section-heading-wide {
  max-width: 1000px;
}

.home-section-heading h2,
.home-projects-heading h2,
.home-contact h2 {
  margin-bottom: 18px;
  font-size: 43px;
  line-height: 1.12;
}

.home-section-heading > p:last-child,
.home-projects-heading > p,
.home-contact-layout > div > p:last-child {
  max-width: 820px;
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 18px;
  line-height: 1.65;
}

.home-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
}

.home-button-primary {
  color: #fff;
  background: var(--home-red);
}

.home-button-primary:hover {
  color: #fff;
  background: var(--home-red-dark);
}

.home-button-outline {
  border-color: rgba(255, 255, 255, 0.52);
  color: #fff;
  background: transparent;
}

.home-button-outline:hover {
  border-color: #fff;
  color: var(--home-navy);
  background: #fff;
}

.home-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--home-navy);
  font-size: 14px;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.home-text-link::after {
  content: "\2192";
  text-decoration: none;
}

.home-text-link-light {
  color: #fff;
}

#main-content a.home-text-link-light,
#main-content a.home-text-link-light:hover {
  color: #fff;
}

.home-page .site-nav a[href^="https://api1.kkdatasvc.com"] {
  border-color: transparent;
  color: var(--color-ink-soft);
  background: transparent;
}

.home-page .site-nav a[href^="https://api1.kkdatasvc.com"]:hover,
.home-page .site-nav a[href^="https://api1.kkdatasvc.com"]:focus-visible {
  color: var(--color-heading);
  background: var(--color-accent-soft);
}

.home-hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  color: #fff;
  background: var(--home-navy);
}

.home-hero-media,
.home-hero-media img,
.home-hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero-media img {
  object-fit: cover;
  object-position: center 54%;
}

.home-hero-shade {
  background:
    linear-gradient(90deg, rgba(3, 17, 28, 0.97) 0%, rgba(3, 17, 28, 0.85) 48%, rgba(3, 17, 28, 0.28) 78%, rgba(3, 17, 28, 0.08) 100%),
    linear-gradient(0deg, rgba(3, 17, 28, 0.64) 0%, transparent 46%);
}

.home-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 610px;
  align-items: center;
  padding: 58px 0 78px;
}

.home-hero-copy {
  width: min(835px, 72%);
}

.home-hero h1 {
  max-width: 830px;
  margin-bottom: 24px;
  color: #fff;
  font-size: 60px;
  line-height: 1.04;
}

.home-hero-lead {
  max-width: 800px;
  margin-bottom: 0;
  color: #e4ebef;
  font-size: 19px;
  line-height: 1.62;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 32px;
}

.home-hero-caption {
  position: absolute;
  right: 22px;
  bottom: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-state-band {
  border-bottom: 1px solid var(--home-line);
  background: var(--home-warm);
}

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

.home-state-grid > div {
  min-height: 116px;
  padding: 26px 30px;
  border-left: 1px solid var(--home-line);
}

.home-state-grid > div:last-child {
  border-right: 1px solid var(--home-line);
}

.home-state-grid span,
.home-state-grid strong {
  display: block;
}

.home-state-grid span {
  margin-bottom: 7px;
  color: var(--home-red-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-state-grid strong {
  color: var(--home-navy);
  font-size: 15px;
  line-height: 1.4;
}

.home-delivery {
  padding: 102px 0 108px;
  background: #fff;
}

.home-delivery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.home-delivery-item {
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 4px;
  background: #fff;
}

.home-delivery-item picture {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--home-mist);
}

.home-delivery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-delivery-item:nth-child(2) img {
  object-position: 46% center;
}

.home-delivery-item:nth-child(3) img {
  object-position: center 58%;
}

.home-delivery-item > div {
  position: relative;
  min-height: 260px;
  padding: 32px 28px 34px;
  border-top: 4px solid var(--home-red);
}

.home-delivery-item > div > span {
  display: block;
  margin-bottom: 18px;
  color: var(--home-red-dark);
  font-size: 12px;
  font-weight: 800;
}

.home-delivery-item h3 {
  min-height: 56px;
  margin-bottom: 14px;
  color: var(--home-navy);
  font-size: 23px;
  line-height: 1.22;
}

.home-delivery-item p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.62;
}

.home-projects {
  padding: 100px 0 108px;
  color: #fff;
  background: var(--home-navy);
}

.home-projects-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 72px;
  align-items: end;
  margin-bottom: 48px;
}

.home-projects-heading h2 {
  max-width: 700px;
  margin-bottom: 0;
  color: #fff;
}

.home-projects-heading > p {
  color: #becbd3;
}

.home-project-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-project-metrics > div {
  min-height: 128px;
  padding: 24px 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
}

.home-project-metrics > div:last-child {
  border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.home-project-metrics strong,
.home-project-metrics span {
  display: block;
}

.home-project-metrics strong {
  margin-bottom: 5px;
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
}

.home-project-metrics span {
  color: #b9c9d2;
  font-size: 13px;
  line-height: 1.4;
}

.home-projects-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: start;
}

.home-projects-media {
  position: relative;
  margin-bottom: 0;
}

.home-projects-media picture {
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--home-navy-soft);
}

.home-projects-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% center;
}

.home-projects-media figcaption {
  padding-top: 12px;
  color: #9fb2bd;
  font-size: 11px;
  text-transform: uppercase;
}

.home-project-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.home-project-list li {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  padding: 23px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.home-project-list li > span {
  padding-top: 3px;
  color: #f3a83f;
  font-size: 12px;
  font-weight: 800;
}

.home-project-list strong,
.home-project-list small {
  display: block;
}

.home-project-list strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 17px;
  line-height: 1.3;
}

.home-project-list small {
  color: #c5d0d6;
  font-size: 14px;
  line-height: 1.55;
}

.home-projects-link {
  margin-top: 34px;
}

.home-systems {
  padding: 102px 0 110px;
  background: var(--home-warm);
}

.home-systems-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 44px;
  border-top: 1px solid var(--home-line);
  border-bottom: 1px solid var(--home-line);
}

.home-systems-flow span {
  position: relative;
  padding: 21px 44px 21px 22px;
  border-left: 1px solid var(--home-line);
  color: var(--home-navy);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.home-systems-flow span:last-child {
  border-right: 1px solid var(--home-line);
}

.home-systems-flow span:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 18px;
  content: "\2192";
  color: var(--home-red);
  transform: translateY(-50%);
}

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

.home-system {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1.1fr);
  min-height: 390px;
  overflow: hidden;
  border: 1px solid var(--home-line);
  border-radius: 4px;
  background: #fff;
}

.home-system figure {
  min-height: 100%;
  margin-bottom: 0;
  background: var(--home-mist);
}

.home-system figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-system:first-child figure img {
  object-position: center top;
}

.home-system > div {
  padding: 34px 30px;
}

.home-system > div > p {
  margin-bottom: 10px;
  color: var(--home-red-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.home-system h3 {
  margin-bottom: 16px;
  color: var(--home-navy);
  font-size: 25px;
  line-height: 1.2;
}

.home-system > div > span {
  display: block;
  margin-bottom: 24px;
  color: var(--home-muted);
  font-size: 15px;
  line-height: 1.6;
}

.home-system a {
  color: var(--home-navy);
  font-size: 14px;
  font-weight: 800;
  text-underline-offset: 4px;
}

.home-contact {
  padding: 62px 0;
  color: #fff;
  background: var(--home-green);
}

.home-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 72px;
  align-items: center;
}

.home-contact h2 {
  max-width: 780px;
  color: #fff;
}

.home-contact-layout > div > p:last-child {
  color: #dcebe5;
}

.home-contact-actions {
  display: grid;
  gap: 12px;
}

.home-footer {
  color: #dce5ea;
  background: #06141f;
}

.home-footer-main {
  display: grid;
  grid-template-columns: 1.1fr 1.25fr 0.75fr;
  gap: 46px;
  align-items: start;
  padding: 48px 0 38px;
}

.home-footer-identity {
  display: flex;
  align-items: center;
  gap: 14px;
}

.home-footer-identity img {
  width: 46px;
  height: 46px;
}

.home-footer-identity strong,
.home-footer-identity span,
.home-footer-contact a {
  display: block;
}

.home-footer-identity strong {
  color: #fff;
  font-size: 15px;
}

.home-footer-identity span {
  margin-top: 3px;
  color: #92a8b5;
  font-size: 12px;
}

.home-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 20px;
}

.home-footer a {
  color: #dce5ea;
  font-size: 13px;
  text-decoration: none;
}

.home-footer a:hover {
  color: #fff;
}

.home-footer-contact {
  display: grid;
  gap: 9px;
}

.home-footer-contact a {
  overflow-wrap: anywhere;
}

.home-footer-bottom {
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 20px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #8ea2ad;
  font-size: 12px;
}

.home-footer-bottom span {
  margin-right: auto;
}

@media (max-width: 1320px) and (min-width: 1241px) {
  .home-page .brand {
    gap: 0.65rem;
  }

  .home-page .brand-copy small {
    display: none;
  }

  .home-page .site-nav a {
    padding-right: 0.54rem;
    padding-left: 0.54rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 1080px) {
  .home-hero-copy {
    width: min(760px, 82%);
  }

  .home-hero h1 {
    font-size: 52px;
  }

  .home-delivery-item > div {
    min-height: 290px;
    padding: 28px 24px 30px;
  }

  .home-delivery-item h3 {
    font-size: 21px;
  }

  .home-projects-layout {
    gap: 38px;
  }

  .home-system {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .home-system > div {
    padding: 28px 24px;
  }
}

@media (max-width: 900px) {
  .home-section-heading h2,
  .home-projects-heading h2,
  .home-contact h2 {
    font-size: 37px;
  }

  .home-delivery-grid {
    gap: 14px;
  }

  .home-delivery-item > div {
    min-height: 315px;
    padding: 25px 20px 28px;
  }

  .home-projects-heading,
  .home-contact-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .home-projects-layout {
    grid-template-columns: minmax(270px, 0.7fr) minmax(0, 1.3fr);
    gap: 28px;
  }

  .home-projects-media picture {
    aspect-ratio: 3 / 5;
  }

  .home-project-list li {
    padding: 18px 0;
  }

  .home-project-list small {
    font-size: 13px;
  }

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

  .home-system {
    min-height: 330px;
  }

  .home-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .home-footer-contact {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  .home-container {
    width: min(100% - 32px, 620px);
  }

  .home-hero,
  .home-hero-inner {
    min-height: 520px;
  }

  .home-hero-inner {
    align-items: flex-end;
    padding: 52px 0 58px;
  }

  .home-hero-copy {
    width: 100%;
  }

  .home-hero h1 {
    font-size: 42px;
  }

  .home-hero-lead {
    font-size: 17px;
  }

  .home-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-top: 26px;
  }

  .home-hero-caption {
    display: none;
  }

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

  .home-state-grid > div,
  .home-state-grid > div:last-child {
    min-height: 0;
    padding: 17px 20px;
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
  }

  .home-delivery,
  .home-projects,
  .home-systems {
    padding: 76px 0 82px;
  }

  .home-section-heading {
    margin-bottom: 34px;
  }

  .home-section-heading h2,
  .home-projects-heading h2,
  .home-contact h2 {
    font-size: 34px;
  }

  .home-section-heading > p:last-child,
  .home-projects-heading > p,
  .home-contact-layout > div > p:last-child {
    font-size: 16px;
  }

  .home-delivery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .home-delivery-item > div {
    min-height: 0;
    padding: 26px 24px 30px;
  }

  .home-delivery-item h3 {
    min-height: 0;
    font-size: 23px;
  }

  .home-project-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 42px;
  }

  .home-project-metrics > div,
  .home-project-metrics > div:last-child {
    min-height: 112px;
    padding: 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }

  .home-project-metrics strong {
    font-size: 29px;
  }

  .home-projects-layout {
    grid-template-columns: 1fr;
  }

  .home-projects-media picture {
    aspect-ratio: 16 / 10;
  }

  .home-project-list li {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

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

  .home-systems-flow span:nth-child(2) {
    border-right: 1px solid var(--home-line);
  }

  .home-systems-flow span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--home-line);
  }

  .home-systems-flow span:nth-child(2)::after {
    display: none;
  }

  .home-system {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .home-system figure {
    aspect-ratio: 16 / 10;
  }

  .home-system:first-child figure {
    aspect-ratio: 4 / 5;
  }

  .home-contact {
    padding: 70px 0 76px;
  }

  .home-footer-main {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .home-footer-contact {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .home-hero,
  .home-hero-inner {
    min-height: 500px;
  }

  .home-hero h1 {
    font-size: 36px;
  }

  .home-hero-shade {
    background: rgba(3, 17, 28, 0.78);
  }

  .home-state-grid strong {
    font-size: 14px;
  }

  .home-section-heading h2,
  .home-projects-heading h2,
  .home-contact h2 {
    font-size: 30px;
  }

  .home-project-metrics {
    grid-template-columns: 1fr;
  }

  .home-project-metrics > div {
    min-height: 94px;
  }

  .home-systems-flow {
    grid-template-columns: 1fr;
  }

  .home-systems-flow span,
  .home-systems-flow span:nth-child(2),
  .home-systems-flow span:last-child {
    border-right: 1px solid var(--home-line);
    border-bottom: 1px solid var(--home-line);
  }

  .home-systems-flow span:not(:last-child)::after,
  .home-systems-flow span:nth-child(2)::after {
    display: block;
    content: "\2193";
  }

  .home-systems-flow span:last-child::after {
    display: none;
  }

  .home-footer-bottom {
    flex-wrap: wrap;
  }

  .home-footer-bottom span {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
