/* Atlas Pergola — Direction A "Anthracite". ACTIVE direction (chosen 12/02/2026).
   The site's CSS reads only these custom properties, so switching direction
   means loading daylight.css or drawing.css instead of this file. */
/* The Archivo faces are not imported here: they are served from the site itself (no page asks
   Google or any other server for a font). They are declared with @font-face in
   web_flask/static/css/fonts.css (the files in web_flask/static/fonts/), which every page loads
   before this file. "Archivo Fallback", declared there too, is Arial sized to Archivo's measure. */

:root {
  /* color */
  --ap-ground: #2B3136;        /* anthracite, the frame finish */
  --ap-ground-deep: #1F2428;   /* header, footer, bands */
  --ap-line: #4A5259;          /* borders, unselected controls */
  --ap-text: #F1EFEA;          /* powder white */
  --ap-text-soft: #C3C9CD;     /* body copy on ground */
  --ap-text-muted: #A9B0B5;    /* captions, labels */
  --ap-brand: #8496A6;         /* slate from the current logo */
  --ap-accent: #F0B35A;        /* LED amber: primary buttons, selection */
  --ap-on-accent: #1F2428;     /* text on the accent */

  /* type */
  --ap-font-display: Archivo, "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --ap-font-text: Archivo, "Archivo Fallback", "Helvetica Neue", Arial, sans-serif;
  --ap-display-stretch: 125%;
  --ap-display-weight: 800;
  --ap-display-tracking: -0.01em;
  --ap-display-leading: 1.02;
  --ap-text-leading: 1.5;

  /* shape */
  --ap-radius-control: 0;      /* square, like the extrusions */
  --ap-radius-media: 0;
  --ap-border-control: 1.5px;
  --ap-control-height: 44px;
  --ap-button-height: 52px;

  color-scheme: dark;
}

/* Paper (decision 203; BRAND.md "Paper and email"). A printed page is light whatever the screen
   shows: white ground, text in deep anthracite #1F2428, secondary text and the mark in line gray
   #4A5259, rules in #767676, no amber and no dark band, readable in grayscale. These are the light
   values the emails use (api_flask/utils/messages.py). Every rule that reads the tokens turns
   light by itself; the print sheets (web_flask/static/css/print.css, admin.css) only hide and
   arrange. Headings keep Archivo at width 125%, weight 800, and the corners stay square. */
@media print {
  :root {
    --ap-ground: #FFFFFF;        /* paper */
    --ap-ground-deep: #FFFFFF;   /* no dark band on paper */
    --ap-line: #767676;          /* rules */
    --ap-text: #1F2428;          /* ink */
    --ap-text-soft: #1F2428;
    --ap-text-muted: #4A5259;    /* secondary text */
    --ap-brand: #4A5259;         /* the mark and marks */
    --ap-accent: #1F2428;        /* no amber: the main action and the selected state print in ink */
    --ap-on-accent: #FFFFFF;
    color-scheme: light;
  }
}
