@font-face {
  font-family: 'HelveticaCustom';
  src: url('helvetica-light-587ebe5a59211.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'HelveticaCustom';
  src: url('Helvetica.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --fg: #0e0e0e;
  --muted: #b3b3b3;
  --accent: #000000;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'HelveticaCustom', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', Arial, sans-serif;
}

.landing {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.logo {
  height: 40px;
  width: auto;
}

.hero {
  display: grid;
  place-items: center;
  padding: 24px 16px;
}

.three-d {
  width: min(96vw, 960px);
  aspect-ratio: 16/10;
  display: grid;
  place-items: center;
  position: relative;
}

.viewer {
  width: 100%;
  height: 100%;
}

.viewer-overlay-link {
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  display: block;
  text-indent: -9999px;
  background: transparent;
  z-index: 5;
}

.footer {
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  padding: 16px;
}

@media (max-width: 600px) {
  .brand { padding: 16px 12px; }
  .logo { height: 28px; }

  .hero { padding: 0; }

  .three-d {
    width: 100vw;
    max-width: 100%;
    height: auto;
    min-height: 70vh;
    aspect-ratio: auto;
    overflow: visible;
    position: relative;
    display: grid;
    place-items: center;
  }

  .viewer {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 300vw;
    height: 150vh;
    max-width: none;
    max-height: none;
    transform: translate(-50%, -50%) scale(0.3);
    transform-origin: center;
  }
}
