/* Google Fonts - Figtree */
@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap');

/* Override Lexxy font variable */
:root {
  --lexxy-font-base: 'Figtree', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Cartridge Font Family */

@font-face {
  font-family: 'Cartridge';
  src: url("/assets/Cartridge-Light-e92f72e4.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge';
  src: url("/assets/Cartridge-Regular-008fb1a7.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge';
  src: url("/assets/Cartridge-Semibold-f092dd94.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge';
  src: url("/assets/Cartridge-Bold-6740bad4.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge';
  src: url("/assets/Cartridge-Black-2f535608.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Cartridge Soft variant (rounded corners) */
@font-face {
  font-family: 'Cartridge Soft';
  src: url("/assets/Cartridge-LightSoft-ee5abf0b.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge Soft';
  src: url("/assets/Cartridge-RegularSoft-90e5a898.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge Soft';
  src: url("/assets/Cartridge-SemiboldSoft-6ded7079.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge Soft';
  src: url("/assets/Cartridge-BoldSoft-51e30613.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cartridge Soft';
  src: url("/assets/Cartridge-BlackSoft-31d041bd.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Base font size - responsive, larger like Basecamp */
html {
  font-size: clamp(16px, 1.25vw + 12px, 20px);
}

/* Apply Figtree as the base body font */
body {
  font-family: 'Figtree', sans-serif;
  line-height: 1.6;
}

/* Apply Cartridge to titles, headings, and hero elements */
h1,
h2,
h3,
h4,
h5,
h6,
.title,
.hero,
.hero-title,
.hero-heading,
[class*="hero"] h1,
[class*="hero"] h2,
[class*="hero"] .title {
  font-family: 'Cartridge', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Dark mode heading color - white */
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4,
[data-theme="dark"] h5,
[data-theme="dark"] h6,
[data-theme="dark"] .title,
[data-theme="dark"] .nl-hero-title,
[data-theme="dark"] .nl-card-title,
[data-theme="dark"] .nl-article-title,
[data-theme="dark"] .nl-logo {
  color: #ffffff;
}

/* Heading sizes - responsive */
h1 {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 4vw + 0.75rem, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.25rem);
}

h4 {
  font-size: clamp(1.25rem, 2vw + 0.5rem, 1.75rem);
}

h5 {
  font-size: clamp(1.125rem, 1.5vw + 0.5rem, 1.5rem);
}

h6 {
  font-size: clamp(1rem, 1vw + 0.5rem, 1.25rem);
}
