/* Figures and photos of the brochure on the site, written by tools/build_site_figs.py.
   Aurora Flat sets --blue, --sage, --sand, --mauve, --clay and their tints to the values of the
   brochure (design-system/flat.css). Every other design gets them from its own tokens here, with
   zero specificity, so the design always wins. */
:where(:root) {
  --blue: var(--accent);
  --sage: var(--ok);
  --sand: var(--wait);
  --mauve: var(--accent-2);
  --clay: #C8705C;
  --blue-tint: color-mix(in srgb, var(--accent) 16%, var(--surface));
  --sage-tint: color-mix(in srgb, var(--ok) 16%, var(--surface));
  --sand-tint: color-mix(in srgb, var(--wait) 16%, var(--surface));
  --mauve-tint: color-mix(in srgb, var(--accent-2) 16%, var(--surface));
  --clay-tint: color-mix(in srgb, #C8705C 16%, var(--surface));
}

.calm-fig { margin: var(--space-6, 32px) 0; padding: var(--space-5, 24px); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); background: var(--surface); }
.calm-fig > svg { display: block; width: 100%; height: auto; }
.calm-fig figcaption { margin-top: var(--space-3, 12px); color: var(--text-muted); font-size: var(--text-note, 0.9rem); }
.calm-fig-top { display: flex; justify-content: flex-end; margin-bottom: var(--space-3, 12px); }
.calm-fig[data-fig="rings"] > svg { max-width: 620px; margin: 0 auto; }

.calm-photo { position: relative; margin: var(--space-6, 32px) 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius-lg, 16px); border: 1px solid var(--border); background: var(--surface-2); }
.calm-photo.wide { aspect-ratio: 21 / 9; }
.calm-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The label of a generated photo: small white text in its lower right corner, no box. It stays
   visible for the transparency it gives, and white with a shadow reads on any photo in every design. */
.calm-photo .tag[data-state] { position: absolute; left: auto; right: 10px; bottom: 7px; padding: 0; border: 0; border-radius: 0; background: none;
  font-size: 9px; letter-spacing: 0.06em; color: #fff; opacity: 0.85; text-shadow: 0 1px 2px rgb(0 0 0 / 0.7); }

.calm-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: var(--space-5, 24px); align-items: center; margin: var(--space-6, 32px) 0; }
.calm-pair .calm-photo, .calm-pair .calm-fig { margin: 0; }
@media (max-width: 860px) { .calm-pair { grid-template-columns: minmax(0, 1fr); } }

.calm-units { display: grid; gap: var(--space-4, 16px); }
.calm-units-head, .calm-scale { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: var(--space-4, 16px); align-items: baseline; color: var(--text-muted); }
.calm-scale svg { grid-column: 1 / -1; max-width: 520px; }
.calm-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--text); }
.calm-units > svg { width: 100%; height: auto; }

.calm-mark { max-width: 360px; margin-top: var(--space-6, 32px); }
.calm-mark svg { width: 100%; height: auto; display: block; }

.rt-note { font: 9px/1.35 "DM Sans", sans-serif; color: var(--text-muted); text-align: center; }
.rt-out { color: var(--text); }

/* The rows of the app in the rings of the agentic OS (rg-): one block, centred in the inner circle. */
.rg-app { display: grid; grid-template-columns: auto auto; justify-content: center; align-items: baseline; column-gap: 8px; row-gap: 6px; }
.rg-k { font: 8.5px/12px "JetBrains Mono", monospace; color: var(--sand); text-align: right; white-space: nowrap; }
.rg-v { font: 10px/12px "DM Sans", sans-serif; color: var(--text); text-align: left; }

.calm-dl { margin: var(--space-6, 32px) 0; padding: var(--space-4, 16px) var(--space-5, 24px); border: 1px solid var(--border); border-radius: var(--radius-lg, 16px); background: var(--surface); display: grid; gap: var(--space-3, 12px); }
.calm-dl ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2, 8px); }
.calm-dl a { color: var(--link); font-weight: 500; }
.calm-dl-meta { color: var(--text-muted); font-size: var(--text-note, 0.9rem); margin-left: var(--space-2, 8px); }
