.home-page {
  --home-max-width: 1452px;
  --home-narrow-max-width: 1186px;
  --home-section-inline-padding: var(--site-padding);
  --home-section-inline-padding-compact: var(--site-padding-mobile);
  --home-cta-min-width: 170px;
  background: var(--color-cream);
}

:is(
  .home-hero__container,
  .home-industries__container,
  .home-services__container,
  .home-process__container,
  .home-difference__container
) {
  margin: 0 auto;
  padding: 0 var(--home-section-inline-padding);
}

.home-hero__container,
.home-industries__container {
  max-width: var(--home-narrow-max-width);
}

.home-services__container,
.home-process__container,
.home-difference__container {
  max-width: var(--home-max-width);
}

.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--color-pill);
  color: var(--color-cream);
  padding: 140px 0 110px;
}

.home-hero__background,
.home-hero__noise {
  position: absolute;
  inset: 0;
}

.home-hero__background::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(39, 3, 54, 0.78);
}

.home-hero__background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.home-hero__noise {
  background-image: url("/mirror-assets/framerusercontent.com/images/uCsMHlgTvALugSr3dL7yfhU2BmM__4cf59327b2.png");
  background-repeat: repeat;
  background-position: left top;
  background-size: 150px auto;
  opacity: 0.95;
}

.home-hero__container {
  position: relative;
  z-index: 1;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 1.08fr);
  align-items: stretch;
  gap: 72px;
}

.home-hero__media {
  position: relative;
  min-height: 470px;
  aspect-ratio: 0.995717;
  border-radius: var(--radius-card);
  overflow: hidden;
}

.home-hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-hero__content {
  display: flex;
  max-width: 596px;
  padding: 6px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 35px;
}

.home-hero__heading {
  font-size: 72px;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.home-hero__copy {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.42;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--button-height-large);
  padding: 0 var(--button-padding-inline);
  border-radius: var(--radius-card);
  font-family: "Geist Mono Variable", monospace;
  font-size: var(--mono-font-size);
  line-height: var(--mono-line-height);
  text-transform: uppercase;
  transition: background-color var(--transition-standard), color var(--transition-standard), border-color var(--transition-standard);
}

.home-button__stack {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  height: var(--stack-line-height);
  overflow: hidden;
}

.home-button__text {
  display: flex;
  align-items: center;
  height: var(--stack-line-height);
  white-space: nowrap;
  transition: transform var(--transition-standard), opacity var(--transition-standard);
}

.home-button__text--alt {
  opacity: 0;
  transform: rotate(-14deg);
  transform-origin: center left;
}

.home-button:hover .home-button__text:not(.home-button__text--alt),
.home-button:focus-visible .home-button__text:not(.home-button__text--alt) {
  transform: translateY(-100%);
  opacity: 0;
}

.home-button:hover .home-button__text--alt,
.home-button:focus-visible .home-button__text--alt {
  transform: translateY(-100%);
  opacity: 1;
}

.home-button--ghost {
  min-width: var(--home-cta-min-width);
  padding: 0 15px;
  background: rgba(248, 248, 243, 0.28);
  color: var(--color-cream);
}

.home-button--ghost:hover,
.home-button--ghost:focus-visible {
  background: rgba(248, 248, 243, 0.38);
}

.home-industries {
  padding: 72px 0 40px;
  overflow: hidden;
}

.home-industries__container {
}

.home-industries__label {
  margin: 0 0 24px;
  font-family: "Geist Mono Variable", monospace;
  font-size: var(--mono-font-size);
  font-weight: 400;
  line-height: var(--mono-line-height);
  text-align: center;
  text-transform: uppercase;
}

.home-industries__rail {
  position: relative;
  padding: 36px 0 38px;
  border-top: 1px dashed rgba(59, 59, 51, 0.4);
  border-bottom: 1px dashed rgba(59, 59, 51, 0.4);
  mask-image: linear-gradient(to right, transparent, black 7%, black 93%, transparent);
  overflow: hidden;
}

.home-industries__track {
  display: flex;
  align-items: stretch;
  gap: 55px;
  width: max-content;
  animation: home-industries-marquee 42s linear infinite;
}

.home-industry {
  display: flex;
  min-width: 190px;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.home-industry__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 80px;
  padding: 0 22px;
}

.home-industry__logo img {
  width: auto;
  height: auto;
  max-width: 112px;
  max-height: 30px;
  object-fit: contain;
}

/* Logo size adjustments */
.home-industries__track .home-industry:nth-child(3) .home-industry__logo img,
/* Venues - largest */
.home-industries__track .home-industry:nth-child(6) .home-industry__logo img,
/* Hospitality */
.home-industries__track .home-industry:nth-child(7) .home-industry__logo img
/* Amusement */ {
  max-width: 145px;
  max-height: 42px;
}

/* Venues - extra large */
.home-industries__track .home-industry:nth-child(3) .home-industry__logo img {
  max-width: 165px;
  max-height: 50px;
}

/* Retail, Transportation - smaller */
.home-industries__track .home-industry:nth-child(8) .home-industry__logo img,
.home-industries__track .home-industry:nth-child(10) .home-industry__logo img {
  max-width: 90px;
  max-height: 24px;
}

.home-industry__name {
  font-family: "Geist Mono Variable", monospace;
  font-size: var(--mono-font-size);
  line-height: var(--mono-line-height);
  text-transform: uppercase;
  color: rgba(59, 59, 51, 0.72);
}

.home-services {
  padding: 58px 0 110px;
}

.home-services__container {
}

.home-services__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  gap: 32px;
  align-items: start;
}

.home-services__title-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.home-services__heading {
  max-width: 640px;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.03em;
}

.home-services__copy {
  max-width: 520px;
  padding-top: 34px;
  color: rgba(59, 59, 51, 0.84);
  font-size: 17px;
  line-height: 1.45;
}

.home-services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 56px;
}

.home-service-card {
  overflow: hidden;
  border-radius: var(--radius-card);
  background: #edede2;
}

.home-service-card__media {
  aspect-ratio: 1.5;
  overflow: hidden;
}

.home-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-service-card__accent {
  height: 6px;
  background: var(--color-accent);
}

.home-service-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
}

.home-service-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.25;
}

.home-service-card__copy {
  color: rgba(59, 59, 51, 0.64);
  font-size: 16px;
  line-height: 1.35;
}

.home-process {
  padding: 48px 0 72px;
  background: #45315d;
  color: var(--color-cream);
}

.home-process__container {
}

.home-process__header {
  display: flex;
  max-width: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 25px;
}

.home-process__heading {
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.home-process__steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 0;
}

.home-process-step {
  display: grid;
  grid-template-columns: minmax(338px, 0.72fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
  padding: 36px;
  background: rgba(248, 248, 243, 0.1);
}

.home-process-step__text {
  display: flex;
  max-width: 338px;
  flex-direction: column;
  gap: 96px;
}

.home-process-step__title {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.home-process-step__copy {
  color: rgba(248, 248, 243, 0.84);
  font-size: 18px;
  line-height: 1.45;
}

.home-process-step__media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 509px;
  overflow: hidden;
}

.home-process-step__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-process-step__widget {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(53%, 344px);
  aspect-ratio: 344 / 382;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  overflow: hidden;
  transform: translate(-50%, -50%);
  box-shadow: 0 24px 60px rgba(17, 0, 25, 0.18);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.home-process-step__widget video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.home-difference {
  padding: 144px 0;
}

.home-difference__container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 520px);
  gap: 72px;
}

.home-difference__content {
  display: flex;
  max-width: 620px;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.home-difference__heading {
  max-width: 600px;
  font-size: 51.2px;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.home-difference__copy {
  max-width: 600px;
  color: rgba(59, 59, 51, 0.9);
  font-size: 18px;
  line-height: 1.45;
}

.home-link-cta {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-top: 2px;
  font-family: "Geist Mono Variable", monospace;
  font-size: var(--mono-font-size);
  line-height: var(--mono-line-height);
  text-transform: uppercase;
}

.home-link-cta__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--color-accent);
  font-size: 18px;
  transition: transform var(--transition-standard), box-shadow var(--transition-standard);
}

.home-link-cta:hover .home-link-cta__icon,
.home-link-cta:focus-visible .home-link-cta__icon {
  transform: translateX(4px);
  box-shadow: 0 12px 24px rgba(0, 196, 169, 0.22);
}

.home-link-cta__label {
  color: rgba(59, 59, 51, 0.78);
}

.home-difference__flow {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 150px 1fr;
  gap: 28px;
  align-items: center;
  min-height: 460px;
}

.home-difference__issues {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-right: 26px;
}

.home-difference__issues::after {
  content: "";
  position: absolute;
  top: 48px;
  right: -3px;
  bottom: 48px;
  border-right: 1px dashed rgba(59, 59, 51, 0.5);
}

.home-difference__issues::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -69px;
  width: 66px;
  border-top: 1px dashed rgba(59, 59, 51, 0.5);
}

.home-difference__center,
.home-difference__result {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-difference__center::after {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(100% + 14px);
  width: 44px;
  border-top: 1px dashed rgba(59, 59, 51, 0.5);
}

.flow-card {
  display: flex;
  width: 100%;
  min-height: 142px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 14px;
  border-radius: var(--radius-card);
}

.flow-card__icon-wrap {
  display: flex;
  width: 86px;
  height: 86px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
}

.flow-card__icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.flow-card__icon--center {
  width: 54px;
  height: 54px;
}

.flow-card__label {
  width: 100%;
  max-width: 150px;
  font-family: "Geist Mono Variable", monospace;
  font-size: var(--mono-font-size);
  line-height: var(--mono-line-height);
  text-align: center;
  text-transform: uppercase;
}

.flow-card--rose {
  background: rgb(255, 145, 145);
}

.flow-card--gold {
  background: rgb(255, 240, 145);
}

.flow-card--peach {
  background: rgb(255, 182, 145);
}

.flow-card--mist {
  background: rgba(0, 196, 170, 0.1);
}

.flow-card--lime {
  background: rgb(229, 249, 55);
}

.flow-card--mist,
.flow-card--lime {
  min-height: 166px;
}

.flow-card--mist .flow-card__label,
.flow-card--lime .flow-card__label {
  max-width: 134px;
}

@keyframes home-industries-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 30px));
  }
}

@media (max-width: 1137px) {
  .home-page {
    --home-section-inline-padding: var(--home-section-inline-padding-compact);
  }

  .home-hero {
    padding: 132px 0 72px;
  }

  .home-hero__container,
  .home-industries__container,
  .home-services__container,
  .home-process__container,
  .home-difference__container {
    max-width: 810px;
  }

  .home-hero__grid,
  .home-services__header,
  .home-difference__container {
    grid-template-columns: 1fr;
  }

  .home-hero__media {
    order: 2;
    height: 428px;
    min-height: 428px;
  }

  .home-hero__content {
    order: 1;
    max-width: 100%;
    gap: 30px;
  }

  .home-hero__grid {
    gap: 52px;
  }

  .home-hero__heading,
  .home-services__heading {
    font-size: 64px;
  }

  .home-hero__heading,
  .home-hero__copy {
    max-width: 690px;
  }

  .home-difference {
    padding: 132px 0 104px;
  }

  .home-difference__content {
    max-width: 690px;
    gap: 20px;
  }

  .home-difference .site-pill {
    min-height: auto;
    padding: 4px 15px 3px;
    border-radius: 12px;
    font-size: 9px;
    line-height: 1.2;
  }

  .home-difference__heading {
    max-width: 690px;
    font-size: 56px;
    line-height: 1.02;
    letter-spacing: -0.02em;
  }

  .home-difference__copy {
    max-width: 690px;
  }

  .home-process__heading {
    font-size: 46px;
  }

  .home-services__copy {
    padding-top: 0;
  }

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

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

  .home-process-step__media {
    height: 420px;
  }

  .home-difference__flow {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 92px;
    min-height: 0;
    width: 100%;
    max-width: 552px;
    margin: 96px auto 0;
  }

  .home-difference__issues {
    display: grid;
    grid-template-columns: repeat(3, 144px);
    justify-content: center;
    gap: 60px;
    width: 100%;
    padding-right: 0;
  }

  .home-difference__issues::after,
  .home-difference__issues::before {
    display: none;
  }

  .home-difference__center,
  .home-difference__result {
    width: 144px;
  }

  .home-difference__center::before {
    content: "";
    position: absolute;
    bottom: calc(100% + 4px);
    left: 50%;
    height: 72px;
    border-left: 1px dashed rgba(59, 59, 51, 0.5);
    transform: translateX(-50%);
  }

  .home-difference__center::after {
    top: calc(100% + 4px);
    left: 50%;
    width: 0;
    height: 68px;
    border-top: 0;
    border-left: 1px dashed rgba(59, 59, 51, 0.5);
    transform: translateX(-50%);
  }

  .flow-card {
    min-height: 148px;
    gap: 12px;
    padding: 16px 14px;
  }

  .flow-card__icon-wrap {
    width: 72px;
    height: 72px;
  }

  .flow-card__icon {
    width: 36px;
    height: 36px;
  }

  .flow-card__icon--center {
    width: 46px;
    height: 46px;
  }

  .flow-card__label {
    max-width: 144px;
    font-size: 13px;
    line-height: 1.4;
  }

  .flow-card--mist,
  .flow-card--lime {
    min-height: 166px;
  }
}

@media (max-width: 809px) {
  .home-hero {
    padding: 108px 0 44px;
  }

  .home-hero__grid {
    gap: 40px;
  }

  .home-hero__media {
    height: 304px;
    min-height: 304px;
  }

  .home-hero__heading,
  .home-services__heading {
    font-size: 48px;
    line-height: 1.04;
  }

  .home-process__heading {
    max-width: 344px;
    font-size: 36px;
    line-height: 1.12;
  }

  .home-hero__copy,
  .home-services__copy,
  .home-process-step__copy,
  .home-difference__copy {
    font-size: 16px;
  }

  .home-hero__content {
    gap: 26px;
  }

  .home-hero__copy {
    max-width: 352px;
    line-height: 1.42;
  }

  .home-industries {
    padding: 24px 0 44px;
  }

  .home-industries__rail {
    padding: 28px 0;
  }

  .home-industries__track {
    gap: 36px;
  }

  .home-industry {
    min-width: 108px;
  }

  .home-industry__logo {
    width: 110px;
    height: 44px;
  }

  .home-industry__logo img {
    max-width: 82px;
    max-height: 22px;
  }

  .home-industries__track .home-industry:nth-child(3) .home-industry__logo img,
  /* Hospitality */
  .home-industries__track .home-industry:nth-child(6) .home-industry__logo img,
  .home-industries__track .home-industry:nth-child(7) .home-industry__logo img
  /* Amusement */ {
    max-width: 108px;
    max-height: 30px;
  }

  /* Venues - extra large */
  .home-industries__track .home-industry:nth-child(3) .home-industry__logo img {
    max-width: 125px;
    max-height: 36px;
  }

  /* Retail, Transportation - smaller */
  .home-industries__track .home-industry:nth-child(8) .home-industry__logo img,
  .home-industries__track .home-industry:nth-child(10) .home-industry__logo img {
    max-width: 65px;
    max-height: 18px;
  }

  .home-services {
    padding: 44px 0 72px;
  }

  .home-services__grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .home-process {
    padding: 36px 0 52px;
  }

  .home-process__steps {
    gap: 12px;
  }

  .home-process-step {
    gap: 28px;
    padding: 20px;
  }

  .home-process-step__text {
    gap: 24px;
  }

  .home-process-step__title {
    font-size: 32px;
  }

  .home-process-step__media {
    height: 280px;
  }

  .home-process-step__widget {
    width: 48%;
    transform: translate(-50%, -50%);
  }

  .home-difference {
    padding: 68px 0 84px;
  }

  .home-difference__container {
    gap: 44px;
    padding-bottom: 0;
  }

  .home-difference__content {
    gap: 18px;
  }

  .home-difference .site-pill {
    padding: 4px 15px 3px;
    border-radius: 12px;
    font-size: 8.5px;
    line-height: 1.15;
  }

  .home-difference__heading {
    max-width: 366px;
    font-size: 47px;
    line-height: 0.96;
    letter-spacing: -0.02em;
  }

  .home-difference__flow {
    gap: 76px;
    max-width: 100%;
    margin-top: 86px;
  }

  .home-difference__issues {
    grid-template-columns: repeat(3, 96px);
    gap: 36px;
  }

  .home-difference__center,
  .home-difference__result {
    width: 96px;
  }

  .home-difference__center::before {
    bottom: calc(100% + 2px);
    height: 56px;
  }

  .home-difference__center::after {
    top: calc(100% + 2px);
    height: 48px;
  }

  .home-difference__result {
    justify-content: center;
  }

  .flow-card {
    min-height: 124px;
    gap: 10px;
    padding: 12px 10px;
  }

  .flow-card__icon-wrap {
    width: 54px;
    height: 54px;
  }

  .flow-card__icon {
    width: 28px;
    height: 28px;
  }

  .flow-card__icon--center {
    width: 34px;
    height: 34px;
  }

  .flow-card__label {
    max-width: 96px;
    font-size: 10.75px;
    line-height: 1.35;
  }

  .flow-card--mist,
  .flow-card--lime {
    min-height: 132px;
  }
}
