:root {
  color-scheme: light;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
  background: #fff;
}

body {
  min-height: 100svh;
  font-family: Arial, Helvetica, sans-serif;
}

.hero {
  display: grid;
  min-height: 100svh;
  place-items: center;
  overflow: hidden;
  padding: clamp(12px, 3vw, 48px);
  background: #fff;
}

.hero__image {
  display: block;
  width: min(100%, 1536px);
  height: auto;
  max-height: calc(100svh - clamp(24px, 6vw, 96px));
  object-fit: contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .hero {
    padding: 8px;
  }

  .hero__image {
    width: 100%;
    max-height: calc(100svh - 16px);
  }
}

@media (orientation: portrait) and (max-width: 640px) {
  .hero__image {
    transform: scale(1.08);
  }
}

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