:root {
  --bg: #030303;
  --text-color: #faf9fc;
  --text-muted: #8e8e8e;
  --border-color: rgba(255, 255, 255, 0.14);
  --border-light: rgba(255, 255, 255, 0.08);
  --card-bg: #121212;
  --accent-red: #ff3333;
  --surface-dark: #030303;
  --surface-dark-card: #181818;
  --text-light: #faf9fc;
  
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 40px;
  --spacing-2xl: 64px;
  --spacing-3xl: 96px;

  --container-max: 1440px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition-fast: 0.2s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
  --transition-smooth: 0.4s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Remove default cursor globally */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #030303;
  cursor: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body {
  background-color: #030303;
  color: #faf9fc;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
  cursor: none !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

/* Hide default browser scrollbar globally */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Custom Circle Cursor with Difference Blend Mode - Constant Size */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--cursor-size, 16px);
  height: var(--cursor-size, 16px);
  background-color: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
  transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1), transform 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hide / scale down cursor when hovering over delicate icon buttons if desired */
@supports selector(:has(*)) {
  body:has(.nav-floating-cta:hover) .custom-cursor,
  body:has(.pm-close-btn:hover) .custom-cursor {
    opacity: 0 !important;
    transform: translate(-50%, -50%) scale(0) !important;
  }
}

.custom-cursor.is-hidden {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(0) !important;
}

/* Lenis smooth scrolling support */
html.lenis {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-scrolling iframe {
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--transition-fast);
}

a:hover {
  opacity: 0.7;
}

.f3-work-card,
.f3-work-card:hover,
.work-grid-card,
.work-grid-card:hover,
.nav-dropdown-row-link,
.nav-dropdown-row-link:hover,
.f3-list-item-row,
.f3-list-item-row:hover {
  opacity: 1;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

ul, ol {
  list-style: none;
}

/* Ensure every text element on this site is copy-able */
html, body, main, article, section, aside, header, footer, div, p, span, h1, h2, h3, h4, h5, h6, a, label, li, td, th, blockquote, code, pre, em, strong, b, i {
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

::selection {
  background-color: #ffffff !important;
  color: #000000 !important;
}

::-moz-selection {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(25px, 3vw, 40px);
  padding-right: clamp(25px, 3vw, 40px);
}

.full-bleed {
  width: 100%;
  padding-left: clamp(25px, 3vw, 40px);
  padding-right: clamp(25px, 3vw, 40px);
}
