/* AMASO brand palette (2026-10-20). Sampled from site-plan/feedback/brand-colours.png, the ribbon image from the feedback:
   "these are our website colours". Ribbons listed outside to inside. Usage rules: site-plan/BRAND-COLOURS.md.
   Source: site-puller/output/amaso-shared/brand/tokens.css, installed at /amaso/brand/tokens.css by header/install.mjs. */
:root {
  /* the ground and the ink */
  --amaso-bg: #e8e8e3;          /* warm off-white behind the ribbons */
  --amaso-ink: #16151c;         /* text on light and on palette colours */
  --amaso-surface: #171717;     /* the dark cards and the homepage ground (kept) */

  /* the nine ribbons, outside to inside */
  --amaso-sage: #c7cdc1;
  --amaso-sky: #b6d3f4;
  --amaso-periwinkle: #7179ef;
  --amaso-lavender: #d9a0e8;
  --amaso-violet: #b14bd3;
  --amaso-magenta: #dc7ac7;
  --amaso-amber: #f4c263;
  --amaso-orange: #e0652c;
  --amaso-coral: #eeb9b2;
  --amaso-ember: #d14121;       /* the deepest orange edge at the core: the /werk/ wordmark */

  /* the primary accent: buttons, links, focus. Ink text on it (4.9:1) */
  --amaso-accent: var(--amaso-periwinkle);
  --amaso-accent-hover: #8e92f1;
  --amaso-accent-active: #7d84f0;
  --amaso-on-accent: var(--amaso-ink);
  --amaso-accent-text: #4a50d0;       /* accent as text on light grounds (5.1:1 on --amaso-bg) */
  --amaso-accent-text-dark: #9ea3f5;  /* accent as text on dark grounds (7.7:1 on --amaso-surface) */

  /* the signature gradients */
  --amaso-gradient: linear-gradient(100deg, #b6d3f4 0%, #7179ef 16%, #d9a0e8 32%, #b14bd3 46%, #dc7ac7 60%, #f4c263 76%, #e0652c 90%, #eeb9b2 100%);
  --amaso-gradient-soft: linear-gradient(100deg, #c7cdc1 0%, #b6d3f4 22%, #d9a0e8 48%, #eeb9b2 74%, #f4c263 100%);
  --amaso-gradient-text: linear-gradient(95deg, #9ea3f5 0%, #d9a0e8 30%, #dc7ac7 55%, #f4c263 80%, #eeb9b2 100%); /* big words on dark */
  --amaso-gradient-line: linear-gradient(90deg, #7179ef, #b14bd3, #dc7ac7, #f4c263, #e0652c); /* dividers, borders */

  /* the Siri glow (20 Oct: "the colours have to come back like this siri effect of ios 26"): the ribbon colours
     as a soft, slowly turning edge light around a screen, card or button. Use it as a blurred ring behind/around the
     edge (mask or blur), never as a flat fill behind text. --amaso-glow-angle turns with the amaso-glow-spin keyframes. */
  --amaso-glow-angle: 0deg;
  --amaso-glow-stops: #e0652c, #dc7ac7, #b14bd3, #7179ef, #b6d3f4, #d9a0e8, #f4c263, #eeb9b2, #e0652c;
  --amaso-glow-blur: 18px;

  /* one colour per service, used the same on the homepage tabs, the hub cards, the dienst pages and the menu */
  --svc-website-design: var(--amaso-periwinkle);
  --svc-webshops: var(--amaso-amber);
  --svc-apps: var(--amaso-sky);
  --svc-3d-vr: var(--amaso-violet);
  --svc-dashboards: var(--amaso-lavender);
  --svc-marketing: var(--amaso-magenta);
  --svc-ai-automatisering: var(--amaso-orange);
}

/* --amaso-glow is resolved on every element (not once on :root), so an element that animates --amaso-glow-angle
   with amaso-glow-spin really turns its own ring */
*, ::before, ::after { --amaso-glow: conic-gradient(from var(--amaso-glow-angle), var(--amaso-glow-stops)); }
@property --amaso-glow-angle { syntax: '<angle>'; inherits: true; initial-value: 0deg; }
@keyframes amaso-glow-spin { to { --amaso-glow-angle: 360deg; } }
@keyframes amaso-glow-breathe { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { :root { --amaso-glow-motion: none; } }
