*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; border: 0; font: inherit; }

:root {
  --black: #000;
  --white: #fff;
  --bg: #fff;
}

html, body {
  overflow: hidden;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
  color: var(--black);
  font-family: 'Space Grotesk', sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
}

a { text-decoration: none; color: inherit; }
a:hover { opacity: 0.5; }

/* Nav */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 30px;
  mix-blend-mode: difference;
  color: var(--white);
}
.nav__brand { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; }
.nav__links { display: flex; gap: 24px; }
.nav__links a { font-size: 14px; font-weight: 500; }

/* Brand split */
.brand-split {
  position: sticky;
  z-index: 50;
  top: calc(50vh - 15px);
  height: 0;
  overflow: visible;
  display: flex;
  justify-content: space-between;
  padding: 0 30px;
  pointer-events: none;
  mix-blend-mode: difference;
  color: var(--white);
  letter-spacing: -0.03em;
}
.brand-split span {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
}

/* Carousel — matches frenzy exactly */
main {
  overflow: hidden;
  touch-action: pan-x;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--bg);
}

.image-carousel {
  transform-style: preserve-3d;
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

.image-carousel-item {
  position: absolute;
  left: 0; top: 0;
  user-select: none;
  -webkit-user-drag: none;
}
.image-carousel-item:hover { opacity: 1; }

.image-carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  -webkit-user-drag: none;
}

@media (max-width: 768px) {
  .nav { padding: 16px 18px; }
  .nav__brand { font-size: 13px; }
  .nav__links { gap: 14px; }
  .nav__links a { font-size: 12px; }
  .brand-split { padding: 0 18px; }
  .brand-split span { font-size: 20px; }
}
