/* ==========================================================================
   CES 2027 bar: the slim banner above the header on every page except /ces.
   Same design as the TRUSTX site's CES bar (Nov 2026), in TMA copy. It uses
   the /ces page's fonts (Space Grotesk + Inter) because it is a doorway to
   that page, not part of the Accord identity.
   Remove after the event: delete this file, ces-bar.js, and the
   <!-- CES BAR --> block, <link> and <script> from each page.
   ========================================================================== */

@font-face{ font-family: 'Space Grotesk'; font-style: normal; font-weight: 500; font-display: swap; src: url('/fonts/SpaceGrotesk-500-latin.woff2?v=1') format('woff2'); }
@font-face{ font-family: 'Space Grotesk'; font-style: normal; font-weight: 700; font-display: swap; src: url('/fonts/SpaceGrotesk-700-latin.woff2?v=1') format('woff2'); }
@font-face{ font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/fonts/Inter-400-latin.woff2?v=1') format('woff2'); }
@font-face{ font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/fonts/Inter-600-latin.woff2?v=1') format('woff2'); }

html[data-ces-bar-dismissed] #ces-bar{ display: none; }

.ces-bar{
  --cb-h: 'Space Grotesk', 'Arial', sans-serif;
  --cb-b: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  position: relative; display: flex; overflow: hidden;
  color: #fff;
  background-image: linear-gradient(90deg, #090d2c 0%, #0b1140 38%, #33114a 58%, #771055 75%, #b0125f 90%, #d2145f 100%);
  -webkit-font-smoothing: antialiased;
}
.ces-bar *{ box-sizing: border-box; }

.ces-bar-link{
  display: block; flex: 1 1 0%; min-width: 0;
  color: inherit; text-decoration: none;
}
.ces-bar-link:focus-visible{ outline: 2px solid #fff; outline-offset: -2px; }

/* Dot grid over the right half, fading in from the left. */
.ces-bar-dots{
  pointer-events: none; position: absolute; top: 0; bottom: 0; right: 0; width: 47%;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 1.2px);
  background-size: 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2));
          mask-image: linear-gradient(90deg, rgba(0,0,0,0.04), rgba(0,0,0,0.2));
}

/* .wrap supplies the site's max-width and side padding, so the bar's text
   lines up with the logo in the header below it. */
.ces-bar-inner{
  position: relative; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; height: 66px;
}
.ces-bar-left{ display: flex; align-items: center; gap: 22px; min-width: 0; }

.ces-bar-lockup{ display: none; flex-shrink: 0; align-items: center; gap: 8px; }
.ces-bar-lockup-text{
  font-family: var(--cb-h); font-weight: 500; font-size: 21px; line-height: 20.5px;
  letter-spacing: -0.02em; text-align: right;
}
.ces-bar-lockup svg{ display: block; width: 113px; height: 64px; }
.ces-bar-divider{ display: none; flex-shrink: 0; width: 1px; height: 44px; background: rgba(90,99,184,0.7); }

.ces-bar-text{ display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ces-bar-eyebrow{
  font-family: var(--cb-h); font-weight: 500; font-size: 10.5px; line-height: 1;
  color: rgba(255,255,255,0.75);
}
.ces-bar-headline{ display: flex; flex-direction: column; gap: 2px; }
.ces-bar-title{
  font-family: var(--cb-h); font-weight: 700; font-size: 16px; line-height: 1.25;
  white-space: nowrap;
}
.ces-bar-dates{
  font-family: var(--cb-b); font-weight: 600; font-size: 10px; letter-spacing: 0.09em;
  white-space: nowrap; color: #eaa8d6;
}
.ces-bar-venue{
  display: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-family: var(--cb-b); font-size: 12px; line-height: 16px; color: rgba(255,255,255,0.92);
}
.ces-bar-venue b, .ces-bar-powered b{ font-weight: 600; }

.ces-bar-right{ display: flex; flex-shrink: 0; align-items: center; gap: 20px; }
.ces-bar-powered{ display: none; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.ces-bar-tagline{
  font-family: var(--cb-h); font-weight: 500; font-size: 14px; line-height: 20px;
  letter-spacing: -0.01em; color: rgba(255,255,255,0.95);
}
.ces-bar-members{
  font-family: var(--cb-b); font-size: 12px; line-height: 16px; white-space: pre;
  color: rgba(255,255,255,0.9);
}

.ces-bar-cta{
  display: inline-flex; align-items: center; gap: 7px;
  border-radius: 5px; background: #fff; color: #0b0e23;
  padding: 6px 10px 6px 12px;
  font-family: var(--cb-b); font-weight: 600; font-size: 12px; line-height: 16px;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}
.ces-bar-link:hover .ces-bar-cta{ background: rgba(255,255,255,0.9); }
.ces-bar-cta svg{ display: block; flex-shrink: 0; }

.ces-bar-close{
  position: relative; display: flex; flex-shrink: 0; align-items: center; justify-content: center;
  width: 36px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer;
  color: rgba(255,255,255,0.7);
  transition: color 0.15s ease;
}
.ces-bar-close:hover{ color: #fff; }
.ces-bar-close:focus-visible{ outline: 2px solid #fff; outline-offset: -4px; }
.ces-bar-close svg{ display: block; }

@media (min-width: 640px){
  .ces-bar-inner{ height: 56px; gap: 16px; }
  .ces-bar-eyebrow{ display: none; }
  .ces-bar-headline{ flex-direction: row; align-items: baseline; gap: 14px; }
  .ces-bar-title{ font-size: 20px; }
  .ces-bar-dates{ font-size: 11px; }
  .ces-bar-cta{ padding: 8px 12px 8px 14px; font-size: 13px; line-height: 20px; }
}
@media (min-width: 1024px){
  .ces-bar-inner{ height: 88px; }
  .ces-bar-lockup{ display: flex; }
  .ces-bar-divider{ display: block; }
  .ces-bar-venue{ display: block; }
  .ces-bar-title{ font-size: 22px; }
  .ces-bar-close{ width: 48px; }
}
@media (min-width: 1280px){
  .ces-bar-powered{ display: flex; }
}
@media (prefers-reduced-motion: reduce){
  .ces-bar-cta, .ces-bar-close{ transition: none; }
}
@media print{
  .ces-bar{ display: none; }
}
