/* Colour options under review. Document.jsx's boot script sets <html data-palette> from ?colors=<id> (remembered for
   the tab, ?colors=current resets); the review panel (public/js/picker.js) lists the same ids. Each option only
   overrides the tokens in site.css :root, so every section, scene, mock-up and button follows. Once one is chosen,
   move its values into :root and delete this file.

   Token roles: --dark the dark ground, --tan the light ground and the ink on dark, --tan-2 the card on the light
   ground, --bone the paper of the app mock-ups, --ember the one accent (--ember-deep when it is text on light). */

/* The brand sheet as given: Vorada Light #F15C05, Sand #F2E9DF, Cool white #FFFCF8, Gray dust #C4BDB3, Black dust #2D2D2D */
html[data-palette="vorada"] {
  --dark: #2d2d2d; --dark-2: #363534; --dark-3: #41403e;
  --tan: #f2e9df; --tan-2: #f8f2eb;
  --bone: #fffcf8; --bone-2: #f2e9df; --bone-muted: #6e675f;
  --ember: #f15c05; --ember-deep: #c94a00; --ember-ink: #ffffff;
  --muted-on-tan: #5f5850; --muted-on-dark: #c4bdb3;
}

/* Iteration: Gray dust as the light ground in place of Sand, a quieter, stonier page */
html[data-palette="vorada-dust"] {
  --dark: #2d2d2d; --dark-2: #363534; --dark-3: #41403e;
  --tan: #c4bdb3; --tan-2: #d3cdc4;
  --bone: #fffcf8; --bone-2: #f2e9df; --bone-muted: #6e675f;
  --ember: #f15c05; --ember-deep: #b84400; --ember-ink: #ffffff;
  --muted-on-tan: #48433d; --muted-on-dark: #a39c93;
}

/* Iteration: Cool white as the light ground, Sand for cards: the brightest, cleanest option */
html[data-palette="vorada-white"] {
  --dark: #2d2d2d; --dark-2: #363534; --dark-3: #41403e;
  --tan: #fffcf8; --tan-2: #f2e9df;
  --bone: #ffffff; --bone-2: #f2e9df; --bone-muted: #6e675f;
  --ember: #f15c05; --ember-deep: #c94a00; --ember-ink: #ffffff;
  --muted-on-tan: #5f5850; --muted-on-dark: #aaa39a;
}

/* Iteration: a deeper warm black than Black dust, so the orange and the sand stand out harder */
html[data-palette="vorada-deep"] {
  --dark: #161514; --dark-2: #201f1d; --dark-3: #2b2a27;
  --tan: #f2e9df; --tan-2: #f8f2eb;
  --bone: #fffcf8; --bone-2: #f2e9df; --bone-muted: #6e675f;
  --ember: #f15c05; --ember-deep: #c94a00; --ember-ink: #ffffff;
  --muted-on-tan: #5f5850; --muted-on-dark: #9d968d;
}

/* Iteration: espresso brown in place of black, warmer all the way through */
html[data-palette="espresso"] {
  --dark: #2a211b; --dark-2: #342a23; --dark-3: #40342b;
  --tan: #f2e9df; --tan-2: #f8f2eb;
  --bone: #fffcf8; --bone-2: #f2e9df; --bone-muted: #6f6359;
  --ember: #f15c05; --ember-deep: #c24800; --ember-ink: #ffffff;
  --muted-on-tan: #5f5349; --muted-on-dark: #b5a594;
}

/* Iteration: the brand's neutrals with a softer burnt orange, for a calmer accent */
html[data-palette="burnt"] {
  --dark: #2d2d2d; --dark-2: #363534; --dark-3: #41403e;
  --tan: #f2e9df; --tan-2: #f8f2eb;
  --bone: #fffcf8; --bone-2: #f2e9df; --bone-muted: #6e675f;
  --ember: #d4561c; --ember-deep: #ad420e; --ember-ink: #ffffff;
  --muted-on-tan: #5f5850; --muted-on-dark: #c4bdb3;
}

/* Accent amount, under review. The boot script sets <html data-accent="more"> from ?accent=more (?accent=less resets);
   the review panel toggles it. "More" carries the accent past the buttons' dots onto the marks that structure the
   page: the section numbers, the italic word in each heading, link underlines, the marquee stars, the dotted labels,
   the carousel's thumb, picked answers and our column in the comparison. On a light ground it uses --ember-deep,
   which reads as text; on a dark ground the brighter --ember. Works with every palette above. */
html[data-accent="more"] { --acc: var(--ember); }
html[data-accent="more"] [data-theme="light"] { --acc: var(--ember-deep); }
html[data-accent="more"] .idx { color: var(--acc); border-color: color-mix(in srgb, var(--acc) 55%, transparent); }
html[data-accent="more"] .pair { color: var(--acc); }
html[data-accent="more"] .link::after { background: var(--acc); }
html[data-accent="more"] .marquee__run i { color: var(--acc); }
html[data-accent="more"] .label--dots::before, html[data-accent="more"] .label--dots::after { color: var(--acc); }
html[data-accent="more"] .statement__text strong { color: var(--ember); text-decoration-color: var(--ember); }
html[data-accent="more"] .scrollbar__thumb { background: var(--acc); }
html[data-accent="more"] .svc-hint i { color: var(--acc); }
html[data-accent="more"] .need[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: var(--ember-ink); }
html[data-accent="more"] .need[aria-pressed="true"]::before { background: var(--ember-ink); }
html[data-accent="more"] .compare__row .is-us { color: var(--acc); }
html[data-accent="more"] .svc__pillar span:last-child { color: var(--ember); }
