/* guildry-tokens.css · Guildry Brand Guidelines v2.0 (Oct 2026) · AMBER PHOSPHOR */

@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 700; font-style: normal; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 800; font-style: normal; font-display: swap;
  src: url("../fonts/jetbrains-mono-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "VT323"; font-weight: 400; font-style: normal; font-display: swap;
  src: url("../fonts/vt323-latin-400-normal.woff2") format("woff2"); }

:root {
  /* colour · amber, ink, paper. nothing else. */
  --gd-amber: #F5A524;   /* fields, cursor, F-keys · never body text on paper */
  --gd-ink:   #121212;   /* text, bars, windows */
  --gd-paper: #F3F2EE;   /* page */
  --gd-scan:  #E39416;   /* only inside amber */
  --gd-grey:       #5E5D58;  /* secondary on paper */
  --gd-grey-on-ink:#9A9A94;  /* secondary on ink */

  /* type · JetBrains Mono + VT323 (screen voice, uppercase, never paragraphs) */
  --gd-font: "JetBrains Mono", ui-monospace, Menlo, monospace;
  --gd-screen: "VT323", "JetBrains Mono", monospace;
  --gd-display: 800 64px/68px var(--gd-font);
  --gd-h1:      800 56px/60px var(--gd-font);
  --gd-h2:      800 36px/42px var(--gd-font);
  --gd-h3:      700 20px/28px var(--gd-font);
  --gd-body:    400 15px/25px var(--gd-font);
  --gd-small:   400 12.5px/19px var(--gd-font);
  --gd-screen-size: 19px;      /* VT323 runs small; 19px ≈ 13px mono */

  /* motion · stepped, never eased */
  --gd-blink: 1060ms;          /* 530 on · 530 off */
  --gd-bootline: 120ms;        /* boot log line stagger, once per page */
}

/* the cursor · amber only. working blinks; settled is solid ink; idle is outline. */
.gd-cursor {
  display: inline-block; width: .44em; height: .53em;
  background: var(--gd-amber); vertical-align: baseline;
  animation: gd-blink var(--gd-blink) steps(1) infinite;
}
.gd-cursor--settled { background: var(--gd-ink); animation: none; }
.gd-cursor--idle { background: transparent; box-shadow: inset 0 0 0 2px var(--gd-ink); animation: none; }
.on-ink .gd-cursor--settled, .menu-bar .gd-cursor { background: var(--gd-amber); }
@keyframes gd-blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* textures */
.gd-scanlines { background: repeating-linear-gradient(to bottom,
  var(--gd-amber) 0, var(--gd-amber) 4px, var(--gd-scan) 4px, var(--gd-scan) 6px); }
.gd-shade-band { height: 24px; background: url("../texture/guildry_shade_band_amber.svg") repeat-x top left; }

@media (prefers-reduced-motion: reduce) {
  .gd-cursor { animation: none; }
  * { animation-duration: 1ms !important; transition: none !important; }
}
