:root {
  --wordmark-accent-light: #a34c23;
  --wordmark-accent-dark: #f59a61;
  --chemical-scene: var(--scene-copper);
  --chemical-focus: 92%;
  --ink: #2b2421;
  --muted: #665951;
  --brand: #844729;
  --brand-dark: #64351f;
  --paper: #fbf8f4;
  --wash: #f2e9e1;
  --sand: #eee1d8;
  --line: #decfc3;
  --radius: 3px;
}
:root[data-theme=dark] {
  --ink: #f6e9df;
  --muted: #d0bfb4;
  --brand: #e2a784;
  --brand-dark: #86482c;
  --paper: #26211e;
  --wash: #322924;
  --sand: #3b2d25;
  --line: #55473f;
}
.chem-edition {
  --photo-panel: #211f1d;
  --photo-text: #f4e6de;
  --photo-height: clamp(490px, 42vw, 650px);
  --photo-focus: 40% center;
  --photo-radius: 0;
  --slide-label: #efb99a;
  --slide-button: #f9e6d9;
  --slide-button-ink: #38231a;
}
.chem-site-header { border-bottom: 2px solid var(--brand); }
.edition-cover .banner-scrim {
  background: linear-gradient(270deg, #211916ef, #211916b8 32%, #2119160d 75%), linear-gradient(0deg,#221c1abe,transparent 25%);
}
.edition-cover .banner-content {
  align-items: flex-end;
  justify-content: flex-end;
  text-align: right;
  padding-bottom: 85px;
}
.edition-after .edition-intro { border-bottom: 1px solid var(--line); }
.edition-after h1 { font-size: clamp(34px, 4.7vw, 62px); }
.edition-catalog .collection-products {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.edition-catalog .collection-product { grid-column: span 2; }
.edition-catalog .collection-product:is(:first-child,:nth-child(4)) { grid-column: span 4; }
.edition-catalog .collection-product:is(:first-child,:nth-child(4)) img {
  aspect-ratio: 1.76;
}
.product-catalog .content-card-body { border-top: 2px solid var(--brand); }
.product-catalog .content-card:nth-child(even) { background: var(--wash); }
@media (max-width: 900px) {
  .edition-catalog .collection-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .edition-catalog .collection-product:nth-child(n) { grid-column: auto; }
  .edition-cover .banner-scrim { background: linear-gradient(0deg,#211916f2,#21191640 79%); }
}
@media (max-width: 520px) {
  .edition-catalog .collection-products { grid-template-columns: minmax(0,1fr); }
}

/* Full-width introduction backdrop with the copy kept on the page grid. */
.chem008-home .edition-after {
  background-image: linear-gradient(105deg, var(--paper) 16%,
    color-mix(in srgb, var(--paper) 95%, transparent) 60%,
    color-mix(in srgb, var(--paper) 77%, transparent)), url("../../default/images/chemistry/process-copper.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center, right center;
  border-bottom: 1px solid var(--line);
}
.chem008-home .edition-after .edition-intro {
  background-image: none;
  border-bottom: 0;
}
