/* 
   LordsSoftware - Base Styles
   Ultra-clean resets and massive typography
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Space+Grotesk:wght@400;500;600;700&display=swap');

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* Lenis handles smooth scrolling */
}

body {
  font-family: var(--font-sans);
  color: var(--color-text-main);
  background-color: var(--color-bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Massive, elegant typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--color-text-main);
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em; /* Tighter letter spacing for modern look */
}

/* Scaled up font sizes */
h1 { font-size: clamp(3.5rem, 8vw, 7rem); letter-spacing: -0.04em; color: var(--color-primary); }
h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); color: var(--color-primary); }
h3 { font-size: clamp(2rem, 3vw, 3rem); }
h4 { font-size: clamp(1.5rem, 2vw, 2rem); }

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-muted);
  font-size: var(--text-lg); /* Larger default body text */
}

/* Typography Utilities */
.text-sm { font-size: var(--text-sm); }
.text-base { font-size: var(--text-base); }
.text-lg { font-size: var(--text-lg); }
.text-xl { font-size: var(--text-xl); }
.text-2xl { font-size: var(--text-2xl); }
.text-3xl { font-size: var(--text-3xl); }
.text-4xl { font-size: var(--text-4xl); }
.text-5xl { font-size: var(--text-5xl); }

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

ul, ol {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
}

::selection {
  background-color: var(--color-text-main);
  color: var(--color-bg-main);
}

/* Lenis Recommended CSS */
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; }
