:root {
  color-scheme: dark;
  --black: #030303;
  --white: #f8f5ef;
  --orange: #ff5a16;
  --orange-soft: rgba(255, 90, 22, 0.38);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
}

body {
  min-height: 100vh;
  overflow: hidden;
}

.holding {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 48px;
  isolation: isolate;
}

.background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-repeat: no-repeat;
  background-size: cover;
}

.background--desktop {
  background-image: url("/assets/avid-desktop.jpg");
  background-position: center center;
}

.background--mobile {
  display: none;
  background-image: url("/assets/avid-mobile.jpg");
  background-position: 35% center;
}

.holding::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.18) 45%, rgba(0, 0, 0, 0.72)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
}

.holding::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, transparent 0 48%, rgba(0, 0, 0, 0.45) 78%, rgba(0, 0, 0, 0.82) 100%),
    linear-gradient(180deg, transparent 0 62%, rgba(0, 0, 0, 0.54));
}

.brand {
  width: min(86vw, 1360px);
  max-height: 86svh;
  display: grid;
  justify-items: center;
  text-align: center;
}

.brand img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 86svh;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 44px rgba(0, 0, 0, 0.78))
    drop-shadow(0 0 22px rgba(255, 90, 22, 0.18));
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .holding {
    place-items: end center;
    padding: 24px 20px calc(42px + env(safe-area-inset-bottom));
  }

  .background--desktop {
    display: none;
  }

  .background--mobile {
    display: block;
  }

  .holding::before {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.48) 48%, rgba(0, 0, 0, 0.9)),
      linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.66));
  }

  .holding::after {
    background:
      radial-gradient(ellipse at 50% 72%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.68) 72%, rgba(0, 0, 0, 0.88)),
      linear-gradient(180deg, transparent 0 52%, rgba(0, 0, 0, 0.76));
  }

  .brand {
    width: min(94vw, 520px);
    max-height: 76svh;
  }

  .brand img {
    max-height: 76svh;
  }
}

@media (min-width: 1500px) {
  .brand {
    width: min(76vw, 1440px);
  }
}
