/*
 * Rigid Body Dynamics — brand kit
 * https://www.rigidbodydynamics.com/brand/
 *
 * Drop-in stylesheet: loads the four brand faces from this domain and exposes
 * the colour, radius, border and motion tokens as CSS custom properties.
 *   <link rel="stylesheet" href="https://www.rigidbodydynamics.com/brand/brand.css">
 */

@font-face { font-family: "Geist"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Regular.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Regular.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Regular.ttf") format("truetype"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Medium.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Medium.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-Medium.ttf") format("truetype"); }
@font-face { font-family: "Geist"; font-style: normal; font-weight: 600; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/Geist-SemiBold.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-SemiBold.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/Geist-SemiBold.ttf") format("truetype"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Regular.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Regular.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Regular.ttf") format("truetype"); }
@font-face { font-family: "Geist Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Medium.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Medium.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/GeistMono-Medium.ttf") format("truetype"); }
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Regular.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Regular.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Regular.ttf") format("truetype"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Italic.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Italic.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/InstrumentSerif-Italic.ttf") format("truetype"); }
@font-face { font-family: "Arapey"; font-style: normal; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Regular.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Regular.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Regular.ttf") format("truetype"); }
@font-face { font-family: "Arapey"; font-style: italic; font-weight: 400; font-display: swap; src: url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Italic.woff2") format("woff2"), url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Italic.woff") format("woff"), url("https://www.rigidbodydynamics.com/brand/fonts/Arapey-Italic.ttf") format("truetype"); }

:root {
  /* Colour */
  --rbd-cream: #f8f6f2;       /* page canvas */
  --rbd-cream-deep: #ece9e3;  /* alternate band */
  --rbd-card: #fffefb;        /* raised surface */
  --rbd-ink: #1a1a1a;         /* text, primary buttons — the accent */
  --rbd-stone: #5b5853;       /* secondary text */
  --rbd-hairline: #e5e2dc;    /* 1px borders */
  --rbd-night: #0d0c0b;       /* dark bands */
  --rbd-dark: #0a0a0a;        /* dark-mode canvas */
  --rbd-dark-text: #fafafa;
  --rbd-dark-hairline: rgba(255, 255, 255, 0.1);

  /* Type */
  --rbd-font-display: "Instrument Serif", Georgia, serif;
  --rbd-font-read: "Arapey", Georgia, serif;
  --rbd-font-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --rbd-font-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Shape */
  --rbd-radius-button: 8px;
  --rbd-radius-panel: 12px;
  --rbd-radius-card: 16px;
  --rbd-border: 1px solid var(--rbd-hairline);
  --rbd-shadow: 0 1px 2px rgb(0 0 0 / 0.04), 0 1px 3px rgb(0 0 0 / 0.06);

  /* Motion */
  --rbd-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rbd-duration: 280ms;
}
