/* Adelphos brand: fonts, color tokens and base type, shared by every page.
   Values mirror the "Adelphos Tokens" variables in the adelphos.coffee Webflow site. */

/* Adelphos brand fonts, served from the adelphos.coffee Webflow CDN. */
@font-face { font-family: "Glacial Indifference"; font-weight: 400; font-display: swap;
  src: url("https://cdn.prod.website-files.com/6a14781d6a31923c32b0c94c/fonts/6a8f22bd826d6b3ea4451a98-GlacialIndifference-Regular.woff2") format("woff2"); }
@font-face { font-family: "Glacial Indifference"; font-weight: 700; font-display: swap;
  src: url("https://cdn.prod.website-files.com/6a14781d6a31923c32b0c94c/fonts/6a8f22bd5cf4a15ca0454fad-GlacialIndifference-Bold.woff2") format("woff2"); }
@font-face { font-family: "Duhline Sans"; font-weight: 400; font-display: swap;
  src: url("https://cdn.prod.website-files.com/6a14781d6a31923c32b0c94c/6a3588710d23d88b98078985_Duhline%20Sans%20Regular.otf") format("opentype"); }
@font-face { font-family: "Wisdom Script Aj"; font-weight: 400; font-display: swap;
  src: url("https://cdn.prod.website-files.com/6a14781d6a31923c32b0c94c/6a35887142cbd24a7ec1c3cf_Wisdom%20Script%20AJ.otf") format("opentype"); }

/* Values mirror the "Adelphos Tokens" variables in Webflow. */
:root {
  --bg: #fcfaf7;          /* Background Primary */
  --wash: #1c191709;      /* Background Secondary */
  --ink: #1c1917;         /* Text Primary */
  --muted: #6b6661;       /* Text Secondary */
  --line: #1c19171a;      /* Border Primary */
  --line-strong: #1c191740;
  --solid: #0f0d0c;       /* Background Dark: primary buttons, selected pills */
  --on-solid: #faf6ef;    /* Text Alternate */
  --low: #c2410c;         /* Accent Primary: below par */
  --on-low: #ffffff;
  --ok: #4c7982;          /* Sherpa Blue Light: at par, ordered */
  --warn: #d97706;        /* Accent Secondary: saving */
  --uncounted: #1c19174d;
  --bar-bg: #1c191714;
  --glass: rgba(252, 250, 247, 0.92);
  --font-display: "Duhline Sans", "Glacial Indifference", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Glacial Indifference", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-script: "Wisdom Script Aj", cursive;
  --gutter: 1.25rem;      /* Spacing / Global X (mobile) */
  --touch: 2.75rem;       /* Touch / Min */
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f0d0c;
    --wash: #faf6ef0d;
    --ink: #faf6ef;
    --muted: #faf6ef9e;
    --line: #faf6ef1f;
    --line-strong: #faf6ef47;
    --solid: #faf6ef;
    --on-solid: #0f0d0c;
    --low: #e8874a;       /* Accent On Dark */
    --on-low: #0f0d0c;
    --uncounted: #faf6ef47;
    --bar-bg: #faf6ef1a;
    --glass: rgba(15, 13, 12, 0.92);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f0d0c;
  --wash: #faf6ef0d;
  --ink: #faf6ef;
  --muted: #faf6ef9e;
  --line: #faf6ef1f;
  --line-strong: #faf6ef47;
  --solid: #faf6ef;
  --on-solid: #0f0d0c;
  --low: #e8874a;
  --on-low: #0f0d0c;
  --uncounted: #faf6ef47;
  --bar-bg: #faf6ef1a;
  --glass: rgba(15, 13, 12, 0.92);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.45 var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.label {
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.script { font-family: var(--font-script); text-transform: none; letter-spacing: 0.01em; color: var(--low); font-size: 1.3em; line-height: 0.8; }
