/* Font definitions for ICARUS blog */

/* Iowan Old Style - Primary serif font (fallback to system fonts) */
@font-face {
  font-family: 'Iowan Old Style';
  src: local('Iowan Old Style'), local('Times New Roman'), serif;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iowan Old Style';
  src: local('Iowan Old Style Bold'), local('Times New Roman Bold'), serif;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Iowan Old Style';
  src: local('Iowan Old Style Italic'), local('Times New Roman Italic'), serif;
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* GT America - Primary sans-serif font (fallback to system fonts) */
@font-face {
  font-family: 'GT America';
  src: local('GT America'), local('Helvetica Neue'), local('Arial'), sans-serif;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT America';
  src: local('GT America Medium'), local('Helvetica Neue Medium'), local('Arial'), sans-serif;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'GT America';
  src: local('GT America Bold'), local('Helvetica Neue Bold'), local('Arial Bold'), sans-serif;
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Chakra Petch - Monospace font (fallback to system fonts) */
@font-face {
  font-family: 'Chakra Petch';
  src: local('Chakra Petch'), local('Monaco'), local('Consolas'), local('Courier New'), monospace;
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: local('Chakra Petch Medium'), local('Monaco'), local('Consolas'), local('Courier New'), monospace;
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Chakra Petch';
  src: local('Chakra Petch SemiBold'), local('Monaco'), local('Consolas'), local('Courier New'), monospace;
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Font fallbacks */
.font-serif {
  font-family: 'Iowan Old Style', 'Times New Roman', 'Georgia', serif;
}

.font-sans {
  font-family: 'GT America', 'Helvetica Neue', 'Arial', sans-serif;
}

.font-mono {
  font-family: 'Chakra Petch', 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}

/* Font weights */
.font-light {
  font-weight: 300;
}

.font-normal {
  font-weight: 400;
}

.font-medium {
  font-weight: 500;
}

.font-semibold {
  font-weight: 600;
}

.font-bold {
  font-weight: 700;
}

/* Font sizes */
.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-2xl {
  font-size: 1.5rem;
  line-height: 2rem;
}

.text-3xl {
  font-size: 1.875rem;
  line-height: 2.25rem;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-5xl {
  font-size: 3rem;
  line-height: 1;
}

.text-6xl {
  font-size: 3.75rem;
  line-height: 1;
}

/* Line heights */
.leading-none {
  line-height: 1;
}

.leading-tight {
  line-height: 1.25;
}

.leading-snug {
  line-height: 1.375;
}

.leading-normal {
  line-height: 1.5;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-loose {
  line-height: 2;
}

/* Letter spacing */
.tracking-tighter {
  letter-spacing: -0.05em;
}

.tracking-tight {
  letter-spacing: -0.025em;
}

.tracking-normal {
  letter-spacing: 0;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-wider {
  letter-spacing: 0.05em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}
