/* metropolis */
@font-face {
  font-family: 'Metropolis';
  src: url('/_dha/font/Metropolis-Bold.otf') format('opentype');
  font-weight: bold;
  font-style: normal;
}
@font-face {
  font-family: 'Metropolis';
  src: url('/_dha/font/Metropolis-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}
@font-face {
  font-family: 'Metropolis';
  src: url('/_dha/font/Metropolis-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'Metropolis';
  src: url('/_dha/font/Metropolis-SemiBold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
}

/* import theme variables from nextjs */
:root {
  --background: #eee9e6;
  --brand-top-right: #e6dfdb;
  --brand-bottom-right: #dcd2cb;
  --brand-bottom-left: #d6cac2;
  --foreground: #000; /* rename from --text to match html requirements */

  /* import nextjs font variables */
  --font-metropolis: 'Metropolis', sans-serif;
  --font-inter: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-sans: var(--font-inter);
  --font-header: var(--font-metropolis);

  /* convenience mapping original @theme inline */
  --color-background: var(--background);
  --color-brand-top-right: var(--brand-top-right);
  --color-brand-bottom-right: var(--brand-bottom-right);
  --color-brand-bottom-left: var(--brand-bottom-left);
  --color-text: var(--foreground);
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
}

/* helper utility to match classes used in tailwindcss import */
.bg-brand-bottom-right { background-color: var(--brand-bottom-right); }
.bg-brand-bottom-left { background-color: var(--brand-bottom-left); }
.bg-brand-top-right { background-color: var(--brand-top-right); }
.font-header { font-family: var(--font-header); }

/* tailwindcss style fallback on hr */
.border-text\/10 { border-color: rgba(0,0,0,0.1); }

/* accessibility tweak */
img { max-width: 100%; height: auto; }