:root {
  --wordmark-accent-light: #3257b4;
  --wordmark-accent-dark: #7ca4ff;
  --chemical-scene: var(--scene-steel);
  --chemical-focus: 83%;
  --ink: #142844;
  --muted: #485c76;
  --brand: #274f85;
  --brand-dark: #183963;
  --paper: #f9fbff;
  --wash: #edf2fa;
  --sand: #e3ecf9;
  --line: #d0dbea;
  --radius: 2px;
}
:root[data-theme=dark] {
  --ink: #eaf1fe;
  --muted: #b4c5dc;
  --brand: #a4c8fb;
  --brand-dark: #2f5583;
  --paper: #141f2f;
  --wash: #1b2b42;
  --sand: #203651;
  --line: #37516e;
}
.chem-edition {
  --edition-paper: #152d4c;
  --photo-panel: #152d4c;
  --photo-text: #dce9f8;
  --photo-height: clamp(468px, 40vw, 620px);
  --photo-focus: 60% center;
  --slide-label: #b5cdef;
  --slide-rule: #a9c1de86;
  --photo-radius: 0;
  --catalog-gap: 14px;
}
.chem-site-header { border-top: 3px solid var(--brand); }
@media (min-width: 901px) {
  .edition-cover.edition-photo-right .banner-content,
  .edition-cover.edition-photo-right .banner-controls {
    --left-gutter: max(var(--slide-gap), calc((100% - 1200px) / 2));
    left: var(--left-gutter);
    width: calc(100% - var(--media-width) - var(--left-gutter) - 24px);
  }
}
.edition-after .edition-intro { border-bottom: 1px solid var(--line); }
.edition-after h1 { font-size: clamp(35px, 4vw, 56px); }
.edition-catalog .collection-product { border-width: 0 0 1px; }
.edition-catalog .collection-product-copy { padding-inline: 0; }
.product-catalog .content-card { border-width: 0 0 1px; }
.product-catalog .content-card-body { padding-inline: 0; }
.product-specs:has(>div) {
  border-inline-start: 3px solid var(--brand);
  padding: 14px 18px;
  background: var(--wash);
}

/* Full-width backdrop; keep the introduction aligned with the content grid. */
.chem005-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-steel.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center, right center;
  border-bottom: 1px solid var(--line);
}
.chem005-home .edition-after .edition-intro {
  background-image: none;
  border-bottom: 0;
}
