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

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text-2);
  background: var(--bg-0);
  min-height: 100vh;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.005em;
}

img, picture, video, canvas, svg { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: none; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-sans);
  color: var(--text-1);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.0;
}

h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h3 {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h4 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p { color: var(--text-2); }
strong { color: var(--text-1); font-weight: 600; }

::selection { background: var(--lime); color: var(--bg-0); }

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--space-10) 0; }
@media (max-width: 768px) { .section { padding: var(--space-9) 0; } }

/* Mono micro-label */
.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-3);
}

.mono-eyebrow {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text-3);
  padding: 5px 12px 5px 10px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: var(--bg-1);
  max-width: 100%;
}

@media (max-width: 480px) {
  .mono-eyebrow { font-size: 11px; padding: 5px 10px; }
}

.mono-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 8px var(--lime-glow);
}

.text-lime { color: var(--lime); }

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
