/* Brand typefaces — six Māori-designed OFL families (Regular, Italic, Bold, Bold Italic; no Medium — weight 500 renders as Regular).
   Aronui is the default. Switch the whole UI with data-font="<family>" on <html> or any container. */
@font-face { font-family: 'Aronui'; src: url('../fonts/aronui/Aronui-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aronui'; src: url('../fonts/aronui/Aronui-Italic.ttf') format('truetype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Aronui'; src: url('../fonts/aronui/Aronui-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Aronui'; src: url('../fonts/aronui/Aronui-BoldItalic.ttf') format('truetype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tipu'; src: url('../fonts/tipu/Tipu-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tipu'; src: url('../fonts/tipu/Tipu-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tipu'; src: url('../fonts/tipu/Tipu-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tipu'; src: url('../fonts/tipu/Tipu-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tamaiti'; src: url('../fonts/tamaiti/Tamaiti-Regular.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tamaiti'; src: url('../fonts/tamaiti/Tamaiti-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Tamaiti'; src: url('../fonts/tamaiti/Tamaiti-Bold.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Tamaiti'; src: url('../fonts/tamaiti/Tamaiti-BoldItalic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Whero'; src: url('../fonts/whero/Whero-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Whero'; src: url('../fonts/whero/Whero-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Whero'; src: url('../fonts/whero/Whero-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Whero'; src: url('../fonts/whero/Whero-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pakiwaituhi'; src: url('../fonts/pakiwaituhi/Pakiwaituhi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Pakiwaituhi'; src: url('../fonts/pakiwaituhi/Pakiwaituhi-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Pakiwaituhi'; src: url('../fonts/pakiwaituhi/Pakiwaituhi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Pakiwaituhi'; src: url('../fonts/pakiwaituhi/Pakiwaituhi-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Rahirahi'; src: url('../fonts/rahirahi/Rahirahi-Regular.otf') format('opentype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Rahirahi'; src: url('../fonts/rahirahi/Rahirahi-Italic.otf') format('opentype'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'Rahirahi'; src: url('../fonts/rahirahi/Rahirahi-Bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Rahirahi'; src: url('../fonts/rahirahi/Rahirahi-BoldItalic.otf') format('opentype'); font-weight: 700; font-style: italic; font-display: swap; }

:root {
  --font-aronui: "Aronui", system-ui, sans-serif;
  --font-tipu: "Tipu", system-ui, sans-serif;
  --font-tamaiti: "Tamaiti", system-ui, sans-serif;
  --font-whero: "Whero", system-ui, sans-serif;
  --font-pakiwaituhi: "Pakiwaituhi", system-ui, sans-serif;
  --font-rahirahi: "Rahirahi", system-ui, sans-serif;
  --font-sans: var(--font-aronui);
}
[data-font="aronui"] { --font-sans: var(--font-aronui); }
[data-font="tipu"] { --font-sans: var(--font-tipu); }
[data-font="tamaiti"] { --font-sans: var(--font-tamaiti); }
[data-font="whero"] { --font-sans: var(--font-whero); }
[data-font="pakiwaituhi"] { --font-sans: var(--font-pakiwaituhi); }
[data-font="rahirahi"] { --font-sans: var(--font-rahirahi); }
