/* =============   RESET============================================================ */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  position: relative;
}

body.has-fancy-cursor, body.has-fancy-cursor a, body.has-fancy-cursor button, body.has-fancy-cursor [data-cursor], body.has-fancy-cursor .work-card, body.has-fancy-cursor .lightbox, body.has-fancy-cursor .lightbox * {
  cursor: none;
}

body.is-dragging, body.is-dragging * {
  user-select: none !important;
  cursor: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

::-webkit-scrollbar {
  display: none;
}

html {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.scroll-track {
  position: fixed;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  height: 380px;
  width: 24px;
  z-index: 9998;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
}

.scroll-track__line {
  height: 2px;
  width: 8px;
  background: rgba(255,255,255,0.12);
  border-radius: 1px;
  transition: width 0.15s ease, background 0.15s ease;
}

h1, h2, h3, h4, h5 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
}

/* =============    WIDTH WRAPPERS============================================================ */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-s);
}

/* =============    SECTION HEADER============================================================ */

.sec-head {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  border-bottom: 2px solid var(--b2);
  padding-bottom: 1rem;
  will-change: transform, opacity;
  transition: none;
}

.sec-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.sec-title {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  letter-spacing: -0.025em;
}

.inner-label {
  border-top: 2px solid var(--b2);
  margin-top: 2.5rem;
  padding-top: 1rem;
  margin-bottom: 1.25rem;
}

.inner-label span {
  font-family: 'Space Mono', monospace;
  font-size: 0.58rem;
  color: var(--muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

