/* Shared charcoal chrome based on the approved staging homepage. */
html:has(.site-header.stage-chrome) { scroll-padding-top: 80px; }
.stage-chrome {
  --chrome-gutter: clamp(20px, 5.2vw, 82px);
  --chrome-accent: #d4ec57;
  --chrome-rule: #444;
  background: #181818;
  color: #eee;
  font-family: Inter, "Avenir Next", Avenir, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
.stage-chrome *, .stage-chrome *::before, .stage-chrome *::after { box-sizing: border-box; }
.stage-chrome :is(a, summary, button) { color: inherit; }
.stage-chrome :is(a, summary, button):focus-visible {
  outline: 2px solid var(--chrome-accent);
  outline-offset: 3px;
}
.site-header.stage-chrome {
  position: sticky;
  inset-block-start: 0;
  z-index: 70;
  border-block-end: 1px solid var(--chrome-rule);
}
.stage-chrome .header-inner {
  max-width: 1680px;
  min-height: 68px;
  margin-inline: auto;
  padding-inline: var(--chrome-gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.stage-chrome .brand { display: flex; min-width: 0; }
.stage-chrome .brand-logo { display: block; width: 160px; height: auto; }
.stage-chrome .primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
}
.stage-chrome .primary-nav > a,
.stage-chrome .nav-group > summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0;
  color: #eee;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}
.stage-chrome .nav-group { position: relative; }
.stage-chrome .nav-group > summary { cursor: pointer; list-style: none; }
.stage-chrome .nav-group > summary::-webkit-details-marker { display: none; }
.stage-chrome .nav-group[open] .nav-chevron { transform: rotate(180deg); }
.stage-chrome .nav-group[open] > summary,
.stage-chrome .primary-nav :is(a, summary):is(:hover, :focus-visible) { color: var(--chrome-accent); }
.stage-chrome .nav-panel {
  position: absolute;
  inset-block-start: calc(100% + 11px);
  inset-inline-start: -14px;
  min-width: 245px;
  padding: 16px 20px;
  display: grid;
  gap: 4px 24px;
  border-block-start: 2px solid #aaa;
  border-radius: 0;
  background: #181818;
  box-shadow: 0 12px 30px #0007;
}
.stage-chrome .nav-group:not([open]) > .nav-panel { display: none; }
.stage-chrome .nav-panel-wide { min-width: 450px; grid-template-columns: 1fr 1fr; }
.stage-chrome .nav-panel-wide > div { display: grid; align-content: start; }
.stage-chrome .nav-panel small { padding: 4px 0; color: #c8c8c8; font-size: 12px; }
.stage-chrome .nav-panel a { display: block; padding: 4px 0; font-size: 15px; text-decoration: underline; }
.stage-chrome .nav-panel a:is(:hover, :focus-visible) { background: #303030; }
.stage-chrome .primary-nav .nav-search {
  min-height: 46px;
  padding-inline-start: 16px;
  border-inline-start: 1px solid #666;
}
.stage-chrome .mobile-menu-toggle { display: none; }
.stage-chrome .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.site-footer.stage-chrome { border-block-start: 1px solid var(--chrome-rule); }
.stage-chrome .footer-main {
  max-width: 1600px;
  margin-inline: auto;
  padding: 30px var(--chrome-gutter);
  display: grid;
  grid-template-columns: 1.25fr .9fr 1fr 1.1fr;
  gap: 24px;
}
.stage-chrome .footer-main > * { min-width: 0; }
.stage-chrome .footer-main :is(p, a, small, h2, label, button) {
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}
.stage-chrome .footer-brand img { width: 148px; height: auto; display: block; margin-bottom: 12px; }
.stage-chrome .footer-brand p { max-width: 29ch; margin: 0 0 12px; }
.stage-chrome .footer-col { display: grid; align-content: start; gap: 7px; }
.stage-chrome .footer-col > small { margin: 0 0 7px; color: #ccc; letter-spacing: .09em; }
.stage-chrome :is(.footer-col, .footer-base) a { text-decoration: none; }
.stage-chrome .footer-social { display: flex; flex-wrap: wrap; gap: 9px; }
.stage-chrome .footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #606060;
  border-radius: 50%;
}
.stage-chrome .footer-social svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.8; }
.stage-chrome .footer-social svg :is(rect, circle) { fill: none; }
.stage-chrome .footer-social svg :is(.icon-dot, .icon-play) { fill: currentColor; stroke: none; }
.stage-chrome .footer-newsletter :is(h2, p) { margin: 0 0 8px; letter-spacing: normal; }
.stage-chrome .footer-newsletter form { display: grid; gap: 8px; }
.stage-chrome .footer-newsletter input[type=email],
.stage-chrome .footer-newsletter button {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #727272;
  border-radius: 4px;
  background: #202020;
  color: #eee;
}
.stage-chrome .footer-newsletter input[type=email] { width: 100%; font: inherit; }
.stage-chrome .footer-newsletter button { justify-self: start; cursor: pointer; }
.stage-chrome .newsletter-consent { min-height: 44px; display: flex; align-items: center; gap: 8px; }
.stage-chrome .newsletter-consent input { margin: 0; accent-color: var(--chrome-accent); }
.stage-chrome .footer-base { max-width: 1600px; margin: auto; padding: 15px var(--chrome-gutter); border-top: 1px solid var(--chrome-rule); font-size: 12px; }
.stage-chrome .footer-base div { display: flex; flex-wrap: wrap; gap: 8px 16px; }
.stage-chrome :is(.footer-main, .footer-base) a:is(:hover, :focus-visible) { color: var(--chrome-accent); }
@media (max-width: 980px) {
  html:has(.site-header.stage-chrome) { scroll-padding-top: 72px; }
  .stage-chrome .header-inner { min-height: 62px; padding-inline: 18px; }
  .stage-chrome .brand-logo { width: 128px; }
  .stage-chrome .mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    background: #181818;
    border: 1px solid #727272;
    cursor: pointer;
  }
  .stage-chrome .menu-glyph { display: grid; gap: 4px; }
  .stage-chrome .menu-glyph i { display: block; width: 20px; height: 2px; background: currentColor; }
  .stage-chrome .mobile-menu-toggle[aria-expanded=true] .menu-glyph i:first-child { transform: translateY(6px) rotate(45deg); }
  .stage-chrome .mobile-menu-toggle[aria-expanded=true] .menu-glyph i:nth-child(2) { opacity: 0; }
  .stage-chrome .mobile-menu-toggle[aria-expanded=true] .menu-glyph i:last-child { transform: translateY(-6px) rotate(-45deg); }
  .stage-chrome .primary-nav {
    position: absolute;
    inset: 100% 0 auto;
    display: none;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
    padding: 8px 18px 18px;
    background: #181818;
    border-bottom: 1px solid var(--chrome-rule);
  }
  .stage-chrome .primary-nav.open { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .stage-chrome .primary-nav > :is(a, details) { border-bottom: 1px solid var(--chrome-rule); }
  .stage-chrome .primary-nav .nav-search { padding-inline: 0; border-inline-start: 0; }
  .stage-chrome .primary-nav .nav-panel {
    position: static;
    min-width: 0;
    padding: 6px 8px 12px;
    border-top: 0;
    box-shadow: none;
    gap: 8px 12px;
  }
  .stage-chrome .nav-panel a { display: flex; align-items: center; min-height: 44px; }
  .stage-chrome .footer-main { grid-template-columns: 1fr 1fr; padding-inline: 18px; gap: 18px 16px; }
  .stage-chrome .footer-brand, .stage-chrome .footer-newsletter { grid-column: 1 / -1; }
  .stage-chrome .footer-base { padding-inline: 18px; }
}

.stage-chrome .footer-newsletter form.cms-footer-signup {
  border: 0;
  background: none;
  padding: 0;
  max-width: none;
  color: inherit;
}
.stage-chrome .cms-footer-signup__trap {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.stage-chrome .cms-footer-signup__consent input { accent-color: #d4ec57; }
.stage-chrome .cms-footer-signup button { border: 1px solid #727272; background: #202020; color: #eee; }

body[data-theme-night-signal] .stage-chrome .cms-footer-signup__consent,
body[data-theme-night-signal] .stage-chrome .cms-footer-signup__consent span {
  color: #f3f3f3 !important;
}
