
html,
body {
  display: grid;
  overflow-x: hidden;
}

html {
  height: 100%;
}

body {
  background: #000000;
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  color: #ddece4;
  overflow-x: hidden;
  overflow-y: auto;
}

.scene,
.a3d {
  display: grid;
}

.hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  gap: 1.5rem;
  padding: 4rem 1rem 6rem;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
  position: relative;
}

.hero-copy {
  max-width: 42rem;
  text-align: center;
  display: grid;
  gap: 1rem;
  padding: 0 1.5rem 2rem;
  margin-top: -12rem;
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.25rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-copy .accent {
  color: #00E676;
}

.hero-copy p {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.7;
  max-width: 44rem;
  margin-inline: auto;
}

.hero-copy--text {
  margin-top: .7rem;
}

.site-logo {
  width: min(20rem, 70vw);
  max-width: 100%;
  height: auto;
  margin-bottom: 0;
  object-fit: contain;
  position: absolute;
  top: 8rem;
  z-index: 2;
}

.scene {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  perspective: 35em;
  perspective-origin: center center;
  min-height: clamp(44rem, 60vh, 36rem);
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  mask: linear-gradient(90deg, #0000, #000 20% 80%, #0000);
}

.a3d {
  place-self: center;
  transform-style: preserve-3d;
  transform-origin: center center;
  will-change: transform;
  width: 100%;
  justify-items: center;
  position: relative;
  z-index: 1;
}

.card {
  --w: 17.5em;
  --ba: calc(1turn / var(--n));
  grid-area: 1 / 1;
  width: var(--w);
  aspect-ratio: 7 / 10;
  object-fit: cover;
  border-radius: 1.5em;
  backface-visibility: hidden;
  transform: rotateY(calc(var(--i) * var(--ba)))
             translateZ(calc(-1 * (0.5 * var(--w) + 0.5em) / tan(0.5 * var(--ba))));
  -webkit-user-drag: none;
  user-select: none;
  -webkit-touch-callout: none;
  pointer-events: none;
}