.veranet-home-refresh {
  --home-night: #000020;
  --home-accent: #fb8c00;
}

.veranet-home-refresh .wp-site-blocks > main {
  margin-block-start: 0;
}

.veranet-home-intro {
  background: var(--home-night);
  box-sizing: border-box;
  color: #fff;
  isolation: isolate;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  max-width: none !important;
  overflow: hidden;
  position: relative;
  width: 100vw !important;
}

.veranet-home-intro__visual {
  bottom: 110px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  z-index: -2;
}

.veranet-home-intro__visual::after {
  background: linear-gradient(180deg, rgb(0 0 32 / 88%), rgb(0 0 32 / 65%) 32%, rgb(0 0 32 / 28%) 66%, var(--home-night) 96%);
  content: "";
  inset: 0;
  position: absolute;
}

.veranet-home-intro__poster,
.veranet-home-intro__video {
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center 58%;
  position: absolute;
  width: 100%;
}

.veranet-home-intro__video {
  opacity: 0;
  transition: opacity 400ms ease;
}

.veranet-home-intro.has-video .veranet-home-intro__video {
  opacity: 1;
}

.veranet-home-intro__inner {
  align-items: flex-start;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  margin: auto;
  max-width: 1320px;
  min-height: clamp(460px, calc(100svh - 250px), 600px);
  padding: 84px clamp(24px, 4vw, 60px) 110px;
  text-align: center;
  width: 100%;
}

.veranet-home-intro__copy {
  max-width: 840px;
}

.veranet-home-intro__identity {
  color: #d5d7df;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  margin: 0 0 25px;
}

.veranet-home-intro h1 {
  color: #fff;
  font-size: clamp(46px, 4.85vw, 68px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.13;
  margin: 0;
}

.veranet-home-intro h1 span {
  display: block;
}

.veranet-home-intro__description {
  color: #e0e2e9;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.7;
  margin: 25px auto 0;
  max-width: 580px;
}

.veranet-home-intro__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: center;
  margin-top: 24px;
}

.veranet-home-intro__links a {
  align-items: center;
  border-bottom: 1px solid rgb(255 255 255 / 34%);
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 500;
  gap: 26px;
  min-height: 44px;
  text-decoration: none;
}

.veranet-home-intro__links a:hover {
  border-color: var(--home-accent);
  color: var(--home-accent);
}

.veranet-home-intro__foot {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1200px;
  min-height: 44px;
  padding: 0 clamp(24px, 4vw, 60px);
}

.veranet-home-intro__foot p {
  color: #a4a8b8;
  font-size: 10px;
  margin: 0;
}

.veranet-home-intro__motion {
  align-items: center;
  background: transparent;
  border: 0;
  color: #cbd0dd;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  font-size: 11px;
  gap: 8px;
  min-height: 44px;
  padding: 0 4px;
}

.veranet-home-intro__motion[hidden] {
  display: none;
}

.veranet-home-intro__motion svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.veranet-home-intro__play,
.veranet-home-intro__motion[aria-pressed="true"] .veranet-home-intro__pause {
  display: none;
}

.veranet-home-intro__motion[aria-pressed="true"] .veranet-home-intro__play {
  display: block;
}

.veranet-home-intro a:focus-visible,
.veranet-home-intro button:focus-visible,
.veranet-home-references a:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--home-accent);
  outline-offset: 5px;
}

.veranet-home-references {
  background: var(--home-night);
  color: #e0e2e9;
  padding: 0 clamp(24px, 4vw, 60px) 24px;
}

.veranet-home-references__inner {
  align-items: center;
  border-top: 1px solid rgb(255 255 255 / 16%);
  display: grid;
  gap: 24px;
  grid-template-columns: 125px minmax(0, 1fr) 135px;
  margin: 0 auto;
  max-width: 1200px;
  padding-top: 22px;
}

.veranet-home-references__heading {
  display: contents;
}

.veranet-home-references__heading h2 {
  color: #e0e2e9;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.4;
  margin: 0;
  grid-column: 1;
  grid-row: 1;
}

.veranet-home-references__heading a {
  align-items: center;
  color: #e0e2e9;
  display: inline-flex;
  font-size: 12px;
  gap: 12px;
  grid-column: 3;
  grid-row: 1;
  justify-content: flex-end;
  min-height: 44px;
  text-decoration: none;
  white-space: nowrap;
}

.veranet-home-references__heading a:hover {
  color: var(--home-accent);
}

.veranet-home-references__window {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.veranet-home-references__window:focus-visible {
  outline: 2px solid var(--home-accent);
  outline-offset: -2px;
}

.veranet-home-references__track {
  display: flex;
  mix-blend-mode: screen;
  width: max-content;
}

.veranet-home-references__group {
  align-items: center;
  display: flex;
  gap: 46px;
  list-style: none;
  margin: 0;
  padding: 0 46px 0 0;
}

.veranet-home-references__logo {
  align-items: center;
  background: var(--home-night);
  display: flex;
  flex: 0 0 150px;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  width: 150px;
}

.veranet-home-references__logo img {
  display: block;
  filter: grayscale(1) invert(1);
  height: 44px;
  max-width: 138px;
  mix-blend-mode: screen;
  object-fit: contain;
  width: 100%;
}

.veranet-home-references__logo--inverse img {
  filter: grayscale(1);
}

.veranet-home-references__logo--seal img {
  height: 58px;
}

.veranet-home-references__logo--padded img {
  height: 135px;
  max-width: none;
  object-fit: cover;
  width: 135px;
}

.veranet-home-references__logo img[src$="/tez-tour.svg"] {
  height: 190px;
  max-width: none;
  width: 250px;
}

.veranet-home-references__duplicate {
  display: none;
}

.veranet-home-references.is-looping .veranet-home-references__duplicate {
  display: flex;
}

.veranet-home-references.is-looping .veranet-home-references__window {
  mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  overflow-x: hidden;
}

.veranet-home-references.is-looping .veranet-home-references__track {
  animation: veranet-home-logos 72s linear infinite;
  animation-play-state: paused;
}

.veranet-home-references.is-moving .veranet-home-references__track {
  animation-play-state: running;
}

#veranet-home-services {
  scroll-margin-top: 100px;
}

.veranet-home-refresh .wp-block-post-content > .veranet-expertise {
  margin-top: 0;
}

@keyframes veranet-home-logos {
  to { transform: translateX(-50%); }
}

@media (max-width: 1023px) and (min-width: 768px) {
  .veranet-home-intro__visual {
    bottom: 175px;
  }

  .veranet-home-intro__inner {
    min-height: 500px;
    padding-top: 66px;
  }

  .veranet-home-intro h1 {
    font-size: clamp(45px, 5.4vw, 55px);
  }

  .veranet-home-references__inner {
    gap: 20px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .veranet-home-references__heading a {
    grid-column: 2;
  }

  .veranet-home-references__window {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 767px) {
  .veranet-home-intro__inner {
    margin: 0;
    min-height: 470px;
    padding: 34px 20px 158px;
  }

  .veranet-home-intro__copy {
    max-width: 440px;
  }

  .veranet-home-intro__identity {
    font-size: 9px;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }

  .veranet-home-intro h1 {
    font-size: clamp(27px, 7.9vw, 42px);
    line-height: 1.13;
  }

  .veranet-home-intro__description {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 18px;
    max-width: 360px;
  }

  .veranet-home-intro__links {
    gap: 24px;
    margin-top: 14px;
  }

  .veranet-home-intro__links a {
    font-size: 12px;
    gap: 16px;
  }

  .veranet-home-intro__visual {
    bottom: 141px;
    left: 0;
    right: 0;
    top: 200px;
  }

  .veranet-home-intro__visual::after {
    background: linear-gradient(180deg, var(--home-night), rgb(0 0 32 / 45%) 28%, rgb(0 0 32 / 8%) 62%, var(--home-night));
  }

  .veranet-home-intro__poster,
  .veranet-home-intro__video {
    object-position: 67% center;
  }

  .veranet-home-intro__foot {
    gap: 8px;
    padding: 0 20px;
  }

  .veranet-home-intro__foot p,
  .veranet-home-intro__motion {
    font-size: 9px;
  }

  .veranet-home-references {
    padding: 0 20px 20px;
  }

  .veranet-home-references__inner {
    gap: 8px 16px;
    grid-template-columns: minmax(0, 1fr) auto;
    padding-top: 12px;
  }

  .veranet-home-references__heading h2 {
    font-size: 11px;
  }

  .veranet-home-references__heading a {
    font-size: 10px;
    gap: 6px;
    grid-column: 2;
  }

  .veranet-home-references__window {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .veranet-home-references__logo {
    flex-basis: 132px;
    height: 56px;
    width: 132px;
  }

  .veranet-home-references__logo img {
    height: 40px;
    max-width: 116px;
  }

  .veranet-home-references__logo--padded img {
    height: 116px;
    max-width: none;
    width: 116px;
  }

  .veranet-home-references__logo--seal img {
    height: 54px;
  }

  .veranet-home-references__logo img[src$="/tez-tour.svg"] {
    height: 167px;
    width: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .veranet-home-intro__video {
    display: none;
    transition: none;
  }

  .veranet-home-references.is-looping .veranet-home-references__track {
    animation: none;
  }
}
