/* BeargrassPublishing tokens. Generated from config.TOKENS.
   Do not hand-edit; edit the Python dict and rebuild. */

:root,
:root[data-mode="paper"],
:root[data-mode="morning"] {
  --paper: #f4ebd7;
  --paper-elev: #efe4ca;
  --paper-tint: #ecdfc3;
  --ink: #231f1a;
  --ink-sec: #4d453c;
  --ink-ter: #776e62;
  --indigo: #2b4563;
  --barn: #a64b3b;
  --olive: #859160;
  --warm: #b88a3a;
  --rule: rgba(35, 31, 26, 0.14);
  --focus: #2b4563;
  color-scheme: light;
}

:root[data-mode="night"],
:root[data-mode="lamplight"] {
  --paper: #16212e;
  --paper-elev: #1d2a3a;
  --paper-tint: #0e1722;
  --ink: #f0e6cf;
  --ink-sec: #c9bea4;
  --ink-ter: #8a8170;
  --indigo: #87a8cf;
  --barn: #d77361;
  --olive: #aab98b;
  --warm: #d4a25a;
  --rule: rgba(240, 230, 207, 0.18);
  --focus: #d4a25a;
  color-scheme: dark;
}

:root[data-mode="open"] {
  --paper: #f4ebd7;
  --paper-elev: #efe4ca;
  --paper-tint: #ecdfc3;
  --ink: #231f1a;
  --ink-sec: #4d453c;
  --ink-ter: #776e62;
  --indigo: #2b4563;
  --barn: #a64b3b;
  --olive: #859160;
  --warm: #d4a25a;
  --rule: rgba(35, 31, 26, 0.14);
  --focus: #2b4563;
  color-scheme: light;
}

:root {
  --cream-fixed: #f0e6cf;
  --ink-fixed: #231f1a;
  --page-bg-deep: #0a1024;
  --warm-bright: #f4c45a;
  --surface-night: #16212e;
  --type-display: "Libre Caslon Display", "Libre Caslon Text", Georgia, serif;
  --type-body: "Libre Caslon Text", Georgia, serif;
  --type-italic: "Fraunces", Georgia, serif;
  --type-ui: "Public Sans", system-ui, sans-serif;
  --w-content: min(100%, 1100px);
  --w-essay: min(72ch, 760px);
  --pad-x: clamp(1rem, 0.714rem + 1.429vw, 2rem);
  --fs-xxs: clamp(0.75rem, 0.728rem + 0.107vw, 0.825rem);
  --fs-xs: clamp(0.85rem, 0.825rem + 0.121vw, 0.935rem);
  --fs-sm: clamp(0.95rem, 0.923rem + 0.136vw, 1.045rem);
  --fs-base: clamp(1rem, 0.971rem + 0.143vw, 1.1rem);
  --fs-md: clamp(1.05rem, 1.020rem + 0.150vw, 1.155rem);
  --fs-lg: clamp(1.15rem, 1.117rem + 0.164vw, 1.265rem);
  --fs-xl: clamp(1.3rem, 1.262rem + 0.186vw, 1.43rem);
  --fs-2xl: clamp(1.45rem, 1.408rem + 0.207vw, 1.595rem);
  --fs-3xl: clamp(1.6rem, 1.554rem + 0.229vw, 1.76rem);
  --fs-disp-lg: clamp(2rem, 5vw, 3.4rem);
  --sp-sm: clamp(0.75rem, 0.707rem + 0.214vw, 0.9rem);
  --sp-md: clamp(1rem, 0.943rem + 0.286vw, 1.2rem);
  --sp-lg: clamp(1.5rem, 1.414rem + 0.429vw, 1.8rem);
  --sp-xl: clamp(2rem, 1.886rem + 0.571vw, 2.4rem);
  --sp-2xl: clamp(2.5rem, 2.357rem + 0.714vw, 3rem);
  --sp-3xl: clamp(3rem, 2.829rem + 0.857vw, 3.6rem);
  --gap-sm: clamp(0.5rem, 0.471rem + 0.143vw, 0.6rem);
  --gap-md: clamp(1rem, 0.943rem + 0.286vw, 1.2rem);
  --gap-lg: clamp(1.5rem, 1.414rem + 0.429vw, 1.8rem);
  --gap-xl: clamp(2rem, 1.886rem + 0.571vw, 2.4rem);
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-pill: 999px;
  --lh-snug: 1.3;
  --lh-normal: 1.5;
  --lh-loose: 1.65;
  --ls-tight: -0.022em;
  --sheen-duration: 8s;
}
