/* Concrete & Canopy: colour and wordmark lettering only. Existing geometry is retained. */
:root {
  --color-carbon: #272e27;
  --color-paper-white: #f3f0e7;
  --color-sky-wash: #e7e9dd;
  --color-concrete-gray: #d6d3c9;
  --color-soft-mist: #e5e1d7;
  --color-electric-blue: #c9d1bc;
  --color-mint-pop: #dce1d0;
  --color-lavender: #e9e4d9;
  --color-ember: #58634a;
  --color-sunburst: #ded9c5;
  --color-voltage-violet: #758268;
  --canopy-olive: #46513c;
  --canopy-chalk: #f3f0e7;
}
.home-hero::before { background-image: url('./assets/canopy/ribbon.svg'); }
html body .btn-state.--1.bg-red { background-color: var(--canopy-olive); }
html body .js-controls { background-color: var(--canopy-olive); }
svg path[fill='#FF3831'] { fill: var(--canopy-olive); }
html body .client-logo {
  background: transparent;
  mask-image: none;
  -webkit-mask-image: none;
}
.client-logo::after {
  content: attr(aria-label);
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  color: var(--color-carbon);
  font: 700 16px/1.2 'Slush UI', sans-serif;
}
.js-i-logo-post-fade canvas { opacity: 0; }
.js-i-logo-post-fade::after {
  content: 'CANOPY';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-carbon);
  font: 400 28px/1.05 'Slush Display', sans-serif;
  letter-spacing: -.025em;
}
.sf button:has(> svg[viewBox='0 0 727 178']) > svg { visibility: hidden; }
.sf button:has(> svg[viewBox='0 0 727 178'])::after {
  content: 'Canopy';
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  text-align: left;
  color: var(--color-carbon);
  font: 800 clamp(48px, 10.5vw, 150px)/1 'Slush UI', sans-serif;
  letter-spacing: -.03em;
}
/* Recolour the existing canvas illustrations without changing their motion. */
.page__content .rive-inline canvas { filter: grayscale(1); }
.sf > div:has(> canvas) > canvas,
.sf > div > div:has(> canvas) > canvas { filter: invert(1) grayscale(1); }
@media (max-width: 649px) {
  header .relative:has(> svg[viewBox='0 0 144 37']) > svg { visibility: hidden; }
  header .relative:has(> svg[viewBox='0 0 144 37'])::after {
    content: 'CANOPY';
    position: absolute;
    inset: 0;
    display: grid;
    align-content: center;
    color: var(--color-carbon);
    font: 400 28px/1.05 'Slush Display', sans-serif;
    letter-spacing: -.025em;
  }
  .sf button:has(> svg[viewBox='0 0 727 178'])::after {
    font-size: clamp(48px, 20vw, 84px);
  }
}

/* Keep the existing canvas wordmark; suppress its duplicate on small screens. */
@media (max-width: 649px) { header .relative:has(> svg[viewBox='0 0 144 37'])::after { content: none; } }
