/* FunderHawk website identity. Selected artwork 29A, wordmark L1, descriptor N1, headline T1. */
@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/BarlowCondensed-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --fh-espresso: #42271E;
  --fh-terracotta: #8E4630;
  --fh-flame: #C5572B;
  --fh-apricot: #EBB18B;
  --fh-plaster: #FBF0E1;
  --fh-white: #FFFFFF;
  --fh-display-family: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  --fh-body-family: -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

:root,
[data-fh-theme="light"] {
  color-scheme: light;
  --fh-canvas: #FBF0E1;
  --fh-surface: #FFFFFF;
  --fh-text: #42271E;
  --fh-secondary-text: #71594D;
  --fh-link: #8E4630;
  --fh-action: #8E4630;
  --fh-on-action: #FFFFFF;
  --fh-focus: #8E4630;
  --fh-divider: #DECAB7;
  --fh-control-border: #917867;
}

[data-fh-theme="dark"] {
  color-scheme: dark;
  --fh-canvas: #211917;
  --fh-surface: #33251F;
  --fh-text: #FBF0E1;
  --fh-secondary-text: #CEB9A9;
  --fh-link: #EBB18B;
  --fh-action: #EBB18B;
  --fh-on-action: #42271E;
  --fh-focus: #EBB18B;
  --fh-divider: #614739;
  --fh-control-border: #A68876;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-fh-theme]) {
    color-scheme: dark;
    --fh-canvas: #211917;
    --fh-surface: #33251F;
    --fh-text: #FBF0E1;
    --fh-secondary-text: #CEB9A9;
    --fh-link: #EBB18B;
    --fh-action: #EBB18B;
    --fh-on-action: #42271E;
    --fh-focus: #EBB18B;
    --fh-divider: #614739;
    --fh-control-border: #A68876;
  }
}

.fh-home,
.fh-home picture {
  display: block;
  min-inline-size: 0;
  max-inline-size: 100%;
}

.fh-lockup {
  display: block;
  width: 288.672px;
  max-width: 100%;
  height: auto;
}

.fh-display,
.fh-heading {
  font-family: var(--fh-display-family);
  font-weight: 700;
  font-style: normal;
  line-height: 1;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fh-display { font-size: 4rem; }
.fh-heading { font-size: 2rem; line-height: 1.125; }
.fh-body { font: 400 1.0625rem/1.5294 var(--fh-body-family); }
.fh-control { font: 600 0.9375rem/1.3333 var(--fh-body-family); }
.fh-data {
  font: 500 1rem/1.4375 var(--fh-body-family);
  font-variant-numeric: tabular-nums;
}

@media (max-width: 600px) {
  .fh-display { font-size: 3rem; line-height: 1.04167; }
}
