/* Palette proof on the unmodified clear-b composition. The reference colours
   have separate jobs: page paper, chapter ground, green ink, accent and action. */
body[data-study-palette="moss"] {
  --study-paper:#F5F2EB; --study-surface:#EBE7DF; --study-hero:#F5F2EB;
  --study-title:#557A56; --study-ink:#302E2D; --study-detail:#6B5F6F;
  --study-mark:#6B5F6F; --study-action:#557A56; --study-on-action:#fff;
  --study-band:#557A56; --study-on-band:#fff;
}
body[data-study-palette="summer"] {
  --study-paper:#FAF8F0; --study-surface:#F2EFDB; --study-hero:#F8F4DF;
  --study-title:#315117; --study-ink:#273221; --study-detail:#315117;
  --study-mark:#DFC74A; --study-action:#7EAE26; --study-on-action:#17250D;
  --study-band:#315117; --study-on-band:#FAF8F0;
  --study-edge:#7FAC65; --study-secondary-mark:#609637;
}
body[data-study-palette="pine"] {
  --study-paper:#F6F7F2; --study-surface:#E8EBE4; --study-hero:#E8EBE4;
  --study-title:#3A6341; --study-ink:#29332C; --study-detail:#405E7A;
  --study-mark:#5A7D9E; --study-action:#3A6341; --study-on-action:#fff;
  --study-band:#3A6341; --study-on-band:#F6F7F2;
}
body[data-study-palette="wheat"] {
  --study-paper:#F8F6EF; --study-surface:#F1E9D5; --study-hero:#F4EDD9;
  --study-title:#4A7C4E; --study-ink:#2A352A; --study-detail:#2A352A;
  --study-mark:#E6C068; --study-action:#E6C068; --study-on-action:#2A352A;
  --study-band:#2A352A; --study-on-band:#F8F6EF;
}
body.buyer-studio[data-study-palette] {
  --lt-background:var(--study-paper); --lt-surface:var(--study-surface);
  --lt-accent:var(--study-title); --lt-accentText:#fff;
  --lt-ink:var(--study-ink); --lt-heading:var(--study-ink);
  --accent:var(--study-title); --paper:var(--study-paper); --paper-soft:var(--study-surface);
  --clear-panel-active:var(--study-title);
  background:var(--study-paper)!important; color:var(--study-ink)!important;
}
body.buyer-studio[data-study-palette] > header,
body.buyer-studio[data-study-palette] #main-content,
body.buyer-studio[data-study-palette] #main-content :is(.clear-products,.clear-products>section,.clear-proof,.clear-proof>section,.designer-faq) {
  background:var(--study-paper)!important;
}
body.buyer-studio[data-study-palette] > header {
  border-bottom:1px solid color-mix(in srgb,var(--study-edge,var(--study-mark)) 48%,var(--study-paper))!important;
}
body.buyer-studio[data-study-palette] #main-content > .studio-hero {background:var(--study-hero)!important}
body.buyer-studio[data-study-palette] #main-content > .studio-hero .studio-hero-visual::after {
  background:linear-gradient(90deg,var(--study-hero) 0%,var(--study-hero) 24%,color-mix(in srgb,var(--study-hero) 88%,transparent) 34%,transparent 60%)!important;
}
body.buyer-studio[data-study-palette] #main-content > .studio-hero .studio-hero-copy h1,
body.buyer-studio[data-study-palette] #main-content :is(#quality-review,#testing-process,#packaging-service) h2 {
  color:var(--study-title)!important;
}
body.buyer-studio[data-study-palette] #main-content > .studio-hero .banner-actions > a.button.primary,
body.buyer-studio[data-study-palette] .inquiry-float > summary.contact-trigger {
  background:var(--study-action)!important;border-color:var(--study-action)!important;color:var(--study-on-action)!important;
}
body.buyer-studio[data-study-palette] .inquiry-float > summary.contact-trigger .contact-trigger-label {
  color:var(--study-on-action)!important;
}
/* The floating button has white glasses artwork. Keep a dark green ground there
   when the hero button uses a luminous colour. */
body.buyer-studio[data-study-palette="summer"] .inquiry-float > summary.contact-trigger,
body.buyer-studio[data-study-palette="wheat"] .inquiry-float > summary.contact-trigger {
  --study-action:var(--study-title); --study-on-action:white;
}
body.buyer-studio[data-study-palette] #main-content > .studio-hero .banner-actions > a.button:not(.primary) {
  color:var(--study-detail)!important;border-bottom-color:var(--study-mark)!important;
}
body.buyer-studio[data-study-palette] #main-content > .studio-hero .banner-actions > a.button.primary:hover {
  background:color-mix(in srgb,var(--study-action) 95%,black)!important;
}
body.buyer-studio[data-study-palette] #main-content > #quality-review {
  background:var(--study-surface)!important;
}
body.buyer-studio[data-study-palette] #main-content > #testing-process {
  background:var(--study-paper)!important;
}
body.buyer-studio[data-study-palette] #testing-process .clear-testing-inner {
  --inspection-stroke:var(--study-secondary-mark,var(--study-mark));
  border-color:color-mix(in srgb,var(--study-mark) 45%,var(--study-paper));
}
body.buyer-studio[data-study-palette] #quality-review .frame-study-link,
body.buyer-studio[data-study-palette] #packaging-service .clear-packaging-controls .text-link {
  color:var(--study-detail)!important;text-decoration-color:var(--study-mark)!important;
}
body.buyer-studio[data-study-palette] #main-content #packaging-service .clear-packaging-gallery figure,
body.buyer-studio[data-study-palette] #packaging-service .clear-packaging-arrows button {
  background-color:var(--study-paper);border-color:var(--study-edge,var(--study-mark));
}
body.buyer-studio[data-study-palette] #main-content > .contact-strip,
body.buyer-studio[data-study-palette] > footer.site-footer-expanded {
  background:var(--study-band)!important;color:var(--study-on-band)!important;
}
body.buyer-studio[data-study-palette] #main-content > .contact-strip :is(h2,p) {
  color:var(--study-on-band)!important;
}
body.buyer-studio[data-study-palette] #main-content > .contact-strip a.button {
  background:var(--study-paper)!important;color:var(--study-ink)!important;border-color:var(--study-paper)!important;
}
@media(max-width:1000px) {
  body.buyer-studio[data-study-palette] #main-content > .studio-hero .studio-hero-visual::after {
    background:linear-gradient(180deg,var(--study-hero),transparent 40%)!important;
  }
}
