/*
  /Company/ campaign layer (Binary Systems, Inc.)
  Loaded AFTER the five live stylesheets (bsimac, reset, text, 960, mobile).
  Type is the live site's: this file never sets font-family, font-size or
  font-weight, so body copy, headings and the menu keep the /css/text.css
  "Lucida Grande" stack and sizes (and the mobile.css phone sizes).
  The header and menu bar are untouched: every rule here is scoped to
  .co, .co-foot or .co-skip.
*/
:root {
  --co-ink: #08315c;
  --co-night: #061e39;
  --co-deep: #0c4d8c;
  --co-aqua: #2d78c8;
  --co-gel-mid: #165eaa;
  --co-gel-light: #6aafec;
  --co-sky: #9dcef8;
  --co-ice: #eef6ff;
  --co-panel: #d4e7f8;
  --co-link: #005fa5;
  --co-fiber: #6fce9f;
  --co-fiber-teal: #53b0ac;
  --co-sx-red: #e0322b;
  --co-black: #000;
  --co-graphite: #1b1d21;
}

/* Skip link: hidden until focused */
.co-skip { position: absolute; left: -9999px; top: 0; z-index: 10; }
.co-skip:focus { left: 8px; top: 8px; padding: 8px 14px; background: #000; color: #fff; border-radius: 4px; outline: 3px solid var(--co-fiber); }

.co { display: block; outline: none; }
.co h1, .co h2, .co h3 { line-height: 1.25; }
.co h1 { margin-bottom: 16px; }
.co h2 { margin-bottom: 18px; max-width: 760px; }
.co h3 { margin-bottom: 8px; }
.co ul, .co ol { list-style: none; }
.co li { margin-left: 0; }
.co a:focus-visible, .co-foot a:focus-visible { outline: 3px solid var(--co-fiber); outline-offset: 2px; border-radius: 3px; }

/* Bands */
.co-band { padding: 56px 0 40px; }
.co-wrap { position: relative; }
.co-light { background: #fff; color: #333; }
.co-light:nth-of-type(even) { background: linear-gradient(180deg, var(--co-ice), #fff); }
.co-dark { background: linear-gradient(180deg, #1c1e22 0%, #000 100%); color: #c9ced6; }
.co-dark h1, .co-dark h2, .co-dark h3 { color: #fff; }
.co-dark a { color: var(--co-sky); }
.co-dark a:hover { color: #fff; }

.co-eyebrow { text-transform: uppercase; letter-spacing: .14em; color: var(--co-link); margin-bottom: 10px; }
.co-dark .co-eyebrow { color: var(--co-fiber); }
.co-accent { color: var(--co-sky); }
.co-sx { color: var(--co-sx-red); }
.co-dark .co-sx { color: #ff6b5e; }

/* Hero: continues the black of the menu bar */
.co-hero {
  padding: 64px 0 56px;
  background:
    radial-gradient(ellipse 60% 80% at 85% 40%, rgba(45,120,200,.35), transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 100%, rgba(111,206,159,.12), transparent 70%),
    linear-gradient(180deg, #2a2c30 0%, #0a0b0d 55%, #000 100%);
  border-top: 1px solid #000;
  border-bottom: 3px solid var(--co-aqua);
}
.co-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; align-items: center; }
.co-hero .co-lede { color: #dfe4ea; max-width: 600px; }
.co-hero-tag { color: #8d96a3; margin: 0; letter-spacing: .06em; }
.co-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }

.co-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 22px; border-radius: 22px; text-decoration: none; box-sizing: border-box; }
.co-btn-gel {
  color: #fff !important;
  background: linear-gradient(180deg, var(--co-gel-light) 0%, var(--co-aqua) 48%, var(--co-gel-mid) 52%, var(--co-deep) 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 2px 8px rgba(0,0,0,.45);
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
}
.co-btn-gel:hover { filter: brightness(1.12); }
.co-btn-glass { color: #fff !important; border: 1px solid rgba(255,255,255,.45); background: rgba(255,255,255,.06); }
.co-btn-glass:hover { background: rgba(255,255,255,.14); }
.co-light .co-btn-glass { color: var(--co-link) !important; border-color: var(--co-link); }

/* Hero bitfield (decorative) */
.co-bits { display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; width: 280px; }
.co-bits span { display: block; aspect-ratio: 1; border-radius: 4px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); }
.co-bits span.on {
  background: linear-gradient(180deg, var(--co-gel-light), var(--co-aqua) 50%, var(--co-deep));
  border-color: rgba(157,206,248,.6);
  box-shadow: 0 0 10px rgba(45,120,200,.55);
  animation: co-blink 3.2s ease-in-out infinite;
}
.co-bits span.on:nth-child(3n) { animation-delay: .8s; }
.co-bits span.on:nth-child(5n) { animation-delay: 1.6s; }
.co-bits span.on:nth-child(7n) { animation-delay: 2.4s; background: linear-gradient(180deg, #a9f0cb, var(--co-fiber) 50%, var(--co-fiber-teal)); border-color: rgba(111,206,159,.6); box-shadow: 0 0 10px rgba(111,206,159,.45); }
@keyframes co-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }

/* Grids and cards */
.co-grid { display: grid; gap: 18px; margin-bottom: 20px; }
.co-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.co-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.co-card, .co-value {
  padding: 20px 20px 4px; border-radius: 10px;
  background: #fff; border: 1px solid #d9e3ee; border-top: 3px solid var(--co-aqua);
  box-shadow: 0 1px 2px rgba(8,49,92,.06), 0 8px 20px rgba(8,49,92,.06);
}
.co-value { border-top-color: var(--co-fiber-teal); }
.co-card address { font-style: normal; margin-bottom: 20px; }
.co-more { margin-top: -8px; }
.co-intro { max-width: 760px; }

/* Product family on dark */
.co-family { border-top: 1px solid #000; }
.co-prod {
  display: flex; flex-direction: column;
  padding: 20px 20px 4px; border-radius: 10px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(157,206,248,.18);
}
.co-prod h3 a { color: #fff; text-decoration: none; }
.co-prod h3 a:hover { color: var(--co-sky); }
.co-prod .co-more { margin-top: auto; padding-top: 6px; }
.co-prod-wide { grid-column: 1 / -1; }
.co-status { align-self: flex-start; margin-bottom: 10px; padding: 0 10px; border-radius: 10px; text-transform: uppercase; letter-spacing: .1em; color: #b8c0cc; border: 1px solid rgba(255,255,255,.22); }
.co-status.co-live { color: #062a1a; background: var(--co-fiber); border-color: var(--co-fiber); }

/* Values */
.co-quote { margin: 8px 0 24px; padding: 18px 24px; border-left: 4px solid var(--co-aqua); background: var(--co-ice); border-radius: 0 10px 10px 0; max-width: 760px; }
.co-quote p { margin-bottom: 6px; font-style: italic; color: var(--co-ink); }
.co-quote footer { color: #666; }
.co-steps { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 20px; counter-reset: co-step; }
.co-steps li { counter-increment: co-step; padding: 10px 26px 10px 16px; margin-right: 8px; background: linear-gradient(180deg, #9d9d9d, #000); color: #fff; border-radius: 6px; }
.co-steps li::before { content: "0" counter(co-step) " "; color: var(--co-sky); }

/* Heritage */
.co-heritage-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 40px; align-items: start; }
.co-timeline { border-left: 2px solid rgba(157,206,248,.35); margin-left: 6px; }
.co-timeline li { position: relative; padding: 0 0 4px 24px; }
.co-timeline li::before { content: ""; position: absolute; left: -7px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--co-aqua); box-shadow: 0 0 0 3px #000, 0 0 10px rgba(45,120,200,.7); }
.co-timeline li:last-child::before { background: var(--co-fiber); }
.co-year { display: block; color: var(--co-sky); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.co-timeline p { margin-bottom: 18px; }
.co-plate { margin: 0; padding: 18px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; text-align: center; }
.co-plate img { display: block; margin: 0 auto 10px; max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 6px 18px rgba(0,0,0,.6); }
.co-plate figcaption { color: #8d96a3; }

/* CTA */
.co-cta {
  padding: 56px 0 36px; text-align: center;
  background:
    radial-gradient(ellipse 50% 90% at 50% 0%, rgba(45,120,200,.4), transparent 70%),
    linear-gradient(180deg, var(--co-night), #000);
  border-top: 3px solid var(--co-aqua);
}
.co-cta h2 { margin-left: auto; margin-right: auto; }
.co-cta .co-lede { max-width: 620px; margin-left: auto; margin-right: auto; color: #dfe4ea; }
.co-cta .co-actions { justify-content: center; }

/* Footer: dark band, reverse-clear SI logo, no plate */
.co-foot { padding: 36px 0 28px; background: #000; color: #8d96a3; border-top: 1px solid #222; }
.co-foot .si-mark { display: inline-block; margin-bottom: 16px; }
.co-foot .si-mark img { display: block; width: 410px; max-width: 100%; height: auto; }
.co-foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-bottom: 14px; }
.co-foot a { color: var(--co-sky); }
.co-foot a:hover { color: #fff; }
.co-foot p { margin-bottom: 8px; }
.co-copy { color: #c9ced6; }
.co-tm { color: #6b7380; max-width: 760px; }

/* Night mode: light bands go dark; header/menu stay exactly as live */
@media (prefers-color-scheme: dark) {
  .co-light, .co-light:nth-of-type(even) { background: linear-gradient(180deg, #121417, #0b0c0e); color: #c9ced6; }
  .co-light h2, .co-light h3 { color: #fff; }
  .co-light a { color: var(--co-sky); }
  .co-light .co-eyebrow { color: var(--co-fiber); }
  .co-light .co-sx { color: #ff6b5e; }
  .co-card, .co-value { background: #181b20; border-color: #2a313b; box-shadow: none; }
  .co-card { border-top-color: var(--co-aqua); }
  .co-value { border-top-color: var(--co-fiber-teal); }
  .co-quote { background: #101a26; }
  .co-quote p { color: #dfe9f5; }
  .co-quote footer { color: #8d96a3; }
  .co-light .co-btn-glass { color: #fff !important; border-color: rgba(255,255,255,.45); }
}

/* Responsive */
@media screen and (max-width: 999px) {
  .co-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-hero-grid { grid-template-columns: minmax(0, 1fr) 220px; gap: 32px; }
  .co-bits { width: 220px; gap: 6px; }
}
@media screen and (max-width: 720px) {
  .co-band { padding: 40px 0 24px; }
  .co-hero { padding: 40px 0 36px; }
  .co-hero-grid, .co-heritage-grid { grid-template-columns: 1fr; gap: 24px; }
  .co-bits { width: 100%; max-width: 320px; grid-template-columns: repeat(16, 1fr); gap: 4px; order: -1; }
  .co-bits span { border-radius: 2px; }
  .co-bits span:nth-child(n+33) { display: none; }
  .co-grid-3 { grid-template-columns: 1fr; }
  .co-plate { max-width: 320px; }
}
@media screen and (max-width: 560px) {
  .co-grid-4 { grid-template-columns: 1fr; }
  .co-actions .co-btn { flex: 1 1 100%; }
  .co-steps li { margin-bottom: 8px; }
}

/* Reduced motion: nothing blinks; the footer logo swaps to its still frame in the HTML */
@media (prefers-reduced-motion: reduce) {
  .co-bits span.on { animation: none; }
  .co-btn-gel:hover { filter: none; }
}

/* About: discretion */
.co-about-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; align-items: start; margin-bottom: 8px; }
.co-about-copy { max-width: 620px; }
.co-about-lead { color: var(--co-ink); }
.co-anon { margin: 0 0 20px; padding: 22px 24px 8px; border-radius: 10px; background: linear-gradient(180deg, #1c1e22, #000); color: #c9ced6; border-left: 4px solid var(--co-fiber); }
.co-anon p { color: #fff; margin-bottom: 10px; }
.co-anon p span { color: var(--co-sky); }
.co-anon footer { color: #8d96a3; margin-bottom: 12px; }
.co-anon a { color: var(--co-sky); }
.co-pledges { list-style: none; }
@media (prefers-color-scheme: dark) {
  .co-about-lead { color: #fff; }
  .co-anon { background: #181b20; }
}
@media screen and (max-width: 720px) {
  .co-about-grid { grid-template-columns: 1fr; gap: 8px; }
}
.co-heritage-intro { color: #dfe4ea; margin-bottom: 26px; }

/* Product logos in the family boxes: one fixed height so every box lines up */
.co-logo { height: 56px; margin: 2px 0 14px; display: flex; align-items: center; }
.co-logo picture { display: block; height: 100%; max-width: 100%; }
.co-logo img { display: block; height: 56px; width: auto; max-width: 100%; object-fit: contain; object-position: left center; }
