/* Whānau Link Custom Fonts */

/* Helvena - Display/Heading font */
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Extrabold.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Helvena';
  src: url('../files/fonts/Helvena-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Figtree - Body font */
@font-face {
  font-family: 'Figtree';
  src: url('../files/fonts/Figtree-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('../files/fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype-variations');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}

/* Apply fonts globally */
body {
  font-family: 'Figtree', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  background-color: #F5F1E8;
  color: #1A1A1A;
}

/* Helvena for all headings with tight letter-spacing */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Helvena', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.03em;
}
