body { background: #121216; color: #f4f1ea; font-family: 'Space Grotesk', system-ui, sans-serif; }
a { color: inherit; text-decoration: none; }

.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 24px clamp(16px, 4vw, 48px);
}
.logo { font-weight: 700; font-size: 20px; }
.nav ul { display: flex; gap: clamp(12px, 3vw, 32px); margin: 0; padding: 0; list-style: none; }
.nav ul a { display: inline-block; padding: 8px 4px; font-weight: 500; }

.hero { padding: clamp(48px, 10vw, 120px) clamp(16px, 4vw, 48px) clamp(48px, 8vw, 96px); }
h1 {
  margin: 0 0 48px;
  font: 700 clamp(48px, 9vw, 128px)/0.92 'Space Grotesk', system-ui, sans-serif;
  letter-spacing: -0.05em;
}
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }

/* Magnetic elements get a larger invisible hit area, so the pull starts before you touch them. */
[data-magnetic] { position: relative; display: inline-flex; }
[data-magnetic]::before { content: ''; position: absolute; inset: -16px; }
[data-magnetic-inner] { display: inline-block; pointer-events: none; }

.btn {
  align-items: center; justify-content: center;
  height: 72px; padding: 0 36px; border-radius: 999px;
  font-weight: 500; font-size: 18px;
}
.btn--primary { background: #ff4d2e; color: #fff; }
.btn--round { width: 112px; height: 112px; padding: 0; border: 1px solid rgb(244 241 234 / 0.4); font-size: 22px; }

.cards {
  display: grid; gap: clamp(12px, 2vw, 24px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  padding: 0 clamp(16px, 4vw, 48px) 64px;
}
.card { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.card:hover img { transform: scale(1.05); }

/* Custom cursor: only switched on by JS for fine pointers with motion allowed. */
.cursor { display: none; }
html.has-cursor .cursor { display: block; }
html.has-cursor, html.has-cursor * { cursor: none !important; }

/* The positioner: moved every frame with a GPU-friendly transform. Hidden until the first pointer move. */
.cursor__pos {
  position: fixed; top: 0; left: 0; z-index: 100;
  pointer-events: none; will-change: transform;
  opacity: 0; transition: opacity 0.2s;
}
.cursor.is-visible .cursor__pos { opacity: 1; }

/* The shapes: centred on the positioner with `translate`, so Motion can animate size/scale freely. */
.cursor__ring, .cursor__dot {
  position: absolute; top: 0; left: 0;
  translate: -50% -50%;
  border-radius: 50%;
}
.cursor__ring {
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid rgb(244 241 234 / 0.6);
  mix-blend-mode: difference;
}
.cursor__dot { width: 6px; height: 6px; background: #f4f1ea; }
.cursor__label {
  font: 600 13px/1 'Space Grotesk', system-ui, sans-serif; letter-spacing: 0.02em;
  color: #121216; white-space: nowrap; opacity: 0;
}
.cursor[data-state="label"] .cursor__ring { background: #f4f1ea; border-color: transparent; mix-blend-mode: normal; }
