@font-face {
  font-family: "DM Sans";
  src: url("/assets/fonts/DMSans.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --fbc-green: #c1d82f;
  --fbc-green-dark: #9bb020;
  --fbc-brown: #8b6b3d;
  --fbc-brown-light: #a8844f;
  --fbc-grey: #7d8083;
  --fbc-dark: #141414;
  --fbc-light: #f7f6f3;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

/* Liquid glass: blurred backdrop, a soft diagonal sheen, a bright top edge. */
.glass {
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05) 45%, rgba(255, 255, 255, 0.11));
  border: 1px solid rgba(255, 255, 255, 0.24);
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.5),
    inset 0 -1px 1px rgba(255, 255, 255, 0.1),
    inset 0 0 22px rgba(255, 255, 255, 0.06),
    0 18px 50px rgba(0, 0, 0, 0.35);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  backdrop-filter: blur(26px) saturate(185%);
}

/* Without backdrop blur, stay opaque enough to read over any slide. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass {
    background: linear-gradient(135deg, rgba(58, 58, 58, 0.92), rgba(24, 24, 24, 0.9));
  }
}
