:root {
  --color-page: #111;
  --color-title: #fab334;
  --content-width: 824px;
}

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

html {
  min-height: 100%;
  background: var(--color-page);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-page);
  color: #fff;
  font-family: Scada, Arial, Helvetica, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

.splash {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.splash__background {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(17, 17, 17, 0.9), rgba(17, 17, 17, 0.9)),
    url("assets/bg.png") center / cover no-repeat,
    var(--color-page);
}

.splash__background::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background: rgba(17, 17, 17, 0.02);
}

.splash__content {
  display: flex;
  width: min(var(--content-width), calc(100vw - 48px));
  min-height: min(640px, calc(100vh - 64px));
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(44px, 8vh, 90px);
  padding: clamp(32px, 8vh, 80px) 0;
  text-align: center;
}

.brand {
  display: grid;
  width: min(824px, 100%);
  aspect-ratio: 824 / 188;
  grid-template-columns: 19.82% 1fr;
  align-items: center;
  column-gap: 3.97%;
}

.brand__mark {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__wordmark {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.splash__title {
  max-width: 100%;
  margin: 0;
  color: var(--color-title);
  font-size: clamp(2.375rem, 5vw, 4.125rem);
  font-weight: 700;
  line-height: 0.91;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.partners {
  display: flex;
  width: min(548.704px, 100%);
  min-height: 120px;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 7vw, 74.936px);
}

.partners__miele {
  flex: 0 1 221.936px;
  width: min(221.936px, 40vw);
  height: auto;
}

.partners__divider {
  width: 1px;
  height: 120px;
  object-fit: fill;
}

.marche-logo {
  position: relative;
  flex: 0 1 176.896px;
  width: min(176.896px, 32vw);
  aspect-ratio: 176.896 / 82.021;
}

.marche-logo img {
  position: absolute;
  width: auto;
  height: auto;
  max-width: none;
}

.marche-logo img:nth-child(1) { inset: 2.02% 57.36% 53.87% 31.36%; width: 11.28%; height: 44.11%; }
.marche-logo img:nth-child(2) { inset: 11.93% 68.51% 54.65% 26.45%; width: 5.04%; height: 33.42%; }
.marche-logo img:nth-child(3) { inset: 35.53% 57.74% 34.84% 30.15%; width: 12.11%; height: 29.63%; }
.marche-logo img:nth-child(4) { inset: 47.34% 57.99% 3.34% 14.21%; width: 27.8%; height: 49.32%; }
.marche-logo img:nth-child(5) { inset: 12.02% 61.86% 80.22% 35.86%; width: 2.28%; height: 7.76%; }
.marche-logo img:nth-child(6) { inset: 19.81% 61.34% 35.72% 27.89%; width: 10.77%; height: 44.47%; }
.marche-logo img:nth-child(7) { inset: 49.66% 63.78% 45.44% 33.94%; width: 2.28%; height: 4.9%; }
.marche-logo img:nth-child(8) { inset: 49.66% 58.67% 45.44% 39.04%; width: 2.29%; height: 4.9%; }
.marche-logo img:nth-child(9) { inset: 0 27.77% 0 0; width: 72.23%; height: 100%; }
.marche-logo img:nth-child(10) { inset: 24.8% 24.15% 53.61% 74.01%; width: 1.84%; height: 21.59%; }
.marche-logo img:nth-child(11) { inset: 29.93% 0.9% 53.42% 77.51%; width: 21.59%; height: 16.65%; }
.marche-logo img:nth-child(12) { inset: 0.05% 40.92% 78.36% 50.11%; width: 8.97%; height: 21.59%; }
.marche-logo img:nth-child(13) { inset: 0.05% 0.86% 78.17% 61.49%; width: 37.65%; height: 21.78%; }
.marche-logo img:nth-child(14) { inset: 50.02% 32.47% 27.82% 58%; width: 9.53%; height: 22.16%; }
.marche-logo img:nth-child(15) { inset: 54.2% 18.28% 30.03% 67.75%; width: 13.97%; height: 15.77%; }
.marche-logo img:nth-child(16) { inset: 56.21% 10.73% 21.61% 80.6%; width: 8.67%; height: 22.18%; }
.marche-logo img:nth-child(17) { inset: 51.5% 3.65% 29.99% 87.57%; width: 8.78%; height: 18.51%; }
.marche-logo img:nth-child(18) { inset: 50.48% 0 30% 95.09%; width: 4.91%; height: 19.52%; }
.marche-logo img:nth-child(19) { inset: 63.52% 44.77% 30.03% 50.19%; width: 5.04%; height: 6.45%; }
.marche-logo img:nth-child(20) { inset: 55.32% 44.76% 38.04% 51.38%; width: 3.86%; height: 6.64%; }
.marche-logo img:nth-child(21) { inset: 51.78% 44.8% 46.26% 50.19%; width: 5.01%; height: 1.96%; }

@media (max-width: 720px) {
  .splash__content {
    min-height: calc(100vh - 40px);
    gap: 42px;
  }

  .brand {
    width: min(500px, 100%);
  }

  .partners {
    width: min(360px, 100%);
    min-height: auto;
    gap: 24px;
  }

  .partners__divider {
    height: 76px;
  }
}

@media (max-width: 460px) {
  .splash__content {
    width: min(100% - 32px, 360px);
  }

  .brand {
    grid-template-columns: 72px 1fr;
    column-gap: 14px;
  }

  .partners {
    gap: 16px;
  }

  .partners__miele {
    width: 142px;
  }

  .marche-logo {
    width: 114px;
  }
}
