/* Elybrokers landing page in the style of ostium.com: white canvas with a faint grid, floating framed nav, light
   grotesk headings, square orange buttons, thin-bordered card grids with orange numbering, framed hero media with an
   orange glow, orange CTA band. Scoped to the landing page only (body.home-bp-route); injected by tools/elysium.mjs. */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:wght@400;500;600&family=Manrope:wght@400;500;600&display=swap');

body.home-bp-route {
  --o-accent: #ff5a1d;
  --o-accent-soft: #fff1ea;
  --o-ink: #17120f;
  --o-muted: rgba(23, 18, 15, .62);
  --o-faint: rgba(23, 18, 15, .45);
  --o-line: #ebe7e3;
  --o-grid: rgba(23, 18, 15, .045);
  --o-wrap: 1280px;
  background: #fff !important;
  color: var(--o-ink);
}
body.home-bp-route .shell-bp,
body.home-bp-route .home-bp {
  background: #fff !important;
  color: var(--o-ink);
  font-family: 'Instrument Sans', 'Manrope', ui-sans-serif, system-ui, sans-serif;
}
body.home-bp-route .home-bp :is(h1, h2, h3, p, a, span, li, button, input, strong, summary) { font-family: inherit; }

/* ---------- nav: floating framed bar ---------- */
body.home-bp-route .bp-nav { background: transparent !important; box-shadow: none !important; border: 0 !important; padding-top: 22px; }
body.home-bp-route .bp-nav-inner {
  max-width: var(--o-wrap); margin: 0 auto; background: rgba(255, 255, 255, .92) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: 1px solid var(--o-line); box-shadow: 0 12px 34px -18px rgba(23, 18, 15, .25);
  border-radius: 0; padding-left: 24px; padding-right: 16px; min-height: 60px;
}
body.home-bp-route .bp-nav :is(.bp-logo, .bp-link, .bp-logo span) { color: var(--o-ink) !important; }
body.home-bp-route .bp-nav .bp-link { color: var(--o-muted) !important; font-weight: 400; }
body.home-bp-route .bp-nav .bp-link:hover { color: var(--o-ink) !important; }
body.home-bp-route .bp-nav .bp-logo svg { color: var(--o-accent); fill: currentColor; }
body.home-bp-route .bp-nav-right :is(button, a) { border-radius: 0 !important; }
body.home-bp-route .bp-nav :is(.sb-quantum-chip, .v2-theme-btn, .bp-burger) {
  background: #fff !important; color: var(--o-ink) !important; border: 1px solid var(--o-line) !important; opacity: 1 !important; filter: none !important; box-shadow: none !important;
}
body.home-bp-route .bp-nav .sb-quantum-soon { color: var(--o-accent) !important; }
body.home-bp-route .bp-nav .v2-btn-p { background: var(--o-accent) !important; color: #fff !important; border: 1px solid var(--o-accent) !important; font-weight: 500 !important; }

/* ---------- hero: full-screen video like the original, Ostium type + square controls on top ---------- */
body.home-bp-route .bp-hero { color: #fff; }
body.home-bp-route .bp-hero-inner { position: relative; z-index: 2; }
body.home-bp-route .bp-h1 {
  color: #fff !important; font-weight: 500 !important; letter-spacing: -.025em !important;
  font-size: clamp(42px, 5vw, 76px) !important; line-height: 1.04 !important;
}
body.home-bp-route .bp-hero-lead { color: rgba(255, 255, 255, .86) !important; font-size: 20px; line-height: 1.5; font-weight: 400; }
body.home-bp-route .bp-hero-side .bp-note,
body.home-bp-route .bp-glass-card {
  background: rgba(255, 255, 255, .94) !important; color: var(--o-ink) !important; border: 1px solid rgba(255, 255, 255, .6) !important;
  border-radius: 0 !important; box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .5) !important;
}
body.home-bp-route .bp-note-text span, body.home-bp-route .bp-glass-sub { color: var(--o-muted) !important; }
body.home-bp-route .bp-glass-title, body.home-bp-route .bp-note-text strong { color: var(--o-ink) !important; font-weight: 600; }
body.home-bp-route .bp-glass-addr { background: #faf8f6 !important; border: 1px solid var(--o-line) !important; border-radius: 0 !important; color: var(--o-ink) !important; }
body.home-bp-route .bp-hero-foot { border-color: rgba(255, 255, 255, .22) !important; }
body.home-bp-route .bp-hero .bp-features li { color: rgba(255, 255, 255, .86) !important; }
body.home-bp-route .bp-features svg { color: var(--o-accent); }
body.home-bp-route .ely-sound { background: rgba(255, 255, 255, .94) !important; color: var(--o-ink) !important; border: 1px solid rgba(255, 255, 255, .6) !important; border-radius: 0 !important; z-index: 3 !important; }

/* ---------- buttons, search, chips: square ---------- */
body.home-bp-route .bp-pill { border-radius: 0 !important; font-weight: 500 !important; letter-spacing: 0; box-shadow: none !important; }
body.home-bp-route .bp-pill-orange, body.home-bp-route .bp-pill-dark { background: var(--o-accent) !important; color: #fff !important; border: 1px solid var(--o-accent) !important; }
body.home-bp-route .bp-pill-orange:hover, body.home-bp-route .bp-pill-dark:hover { background: #e94d12 !important; }
body.home-bp-route .bp-pill-white, body.home-bp-route .bp-pill-ghost, body.home-bp-route .bp-pill-ghost-dark {
  background: #fff !important; color: var(--o-ink) !important; border: 1px solid rgba(23, 18, 15, .18) !important;
}
body.home-bp-route .bp-round { border-radius: 0 !important; background: #fff !important; color: var(--o-ink) !important; border: 1px solid var(--o-line) !important; }
body.home-bp-route .bp-search-capsule { border-radius: 0 !important; background: #fff !important; border: 1px solid var(--o-line) !important; color: var(--o-ink) !important; }
body.home-bp-route .bp-search-capsule input { color: var(--o-ink) !important; }
body.home-bp-route .bp-search-capsule input::placeholder { color: var(--o-faint) !important; }
body.home-bp-route .bp-chip { border-radius: 0 !important; background: #fff !important; color: var(--o-ink) !important; border: 1px solid var(--o-line) !important; box-shadow: none !important; }
body.home-bp-route .bp-soon, body.home-bp-route .bp-soon-dark, body.home-bp-route .bp-eyebrow {
  border-radius: 0 !important; background: var(--o-accent-soft) !important; color: var(--o-accent) !important; border: 0 !important;
  text-transform: uppercase; letter-spacing: .14em; font-size: 11px !important; font-weight: 500;
}

/* ---------- sections: everything light, light-weight headings ---------- */
body.home-bp-route :is(.bp-section, .bp-light, .bp-light-alt, .bp-dark, .bp-chapter, .bp-final, .bp-banner-slot) {
  background: #fff !important; color: var(--o-ink) !important;
}
body.home-bp-route .bp-section { padding-top: 112px; padding-bottom: 112px; border-top: 1px solid var(--o-line); }
body.home-bp-route :is(.bp-h2, .bp-h2-light, .bp-final-title) {
  color: var(--o-ink) !important; font-weight: 500 !important; letter-spacing: -.022em !important;
  font-size: clamp(34px, 3.3vw, 48px) !important; line-height: 1.1 !important;
}
body.home-bp-route :is(.bp-lead, .bp-lead-light) { color: var(--o-muted) !important; font-weight: 400 !important; }
body.home-bp-route :is(.bp-h3, .bp-card-title, .bp-partner-name, .bp-glass-title) { font-weight: 500 !important; letter-spacing: -.01em !important; color: var(--o-ink) !important; }
body.home-bp-route .bp-dark :is(p, li, span, strong, summary, a) { color: inherit; }
body.home-bp-route .bp-dark :is(p, li, .bp-more-body) { color: var(--o-muted) !important; }
body.home-bp-route .bp-points svg { color: var(--o-accent) !important; }
body.home-bp-route .bp-chapter-bg { display: none !important; }
body.home-bp-route .bp-chapter { border-top: 1px solid var(--o-line); }
body.home-bp-route .bp-chapter::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--o-grid) 1px, transparent 1px), linear-gradient(to bottom, var(--o-grid) 1px, transparent 1px);
  background-size: 72px 72px;
}

/* ---------- cards: square, thin borders, shared edges, orange numbering ---------- */
body.home-bp-route :is(.bp-tile, .bp-card, .bp-partner, .bp-benefit, .bp-team, .bp-collection, .bp-stats > *, .bp-fund-row) {
  border-radius: 0 !important; background: #fff !important; color: var(--o-ink) !important;
  border: 1px solid var(--o-line) !important; box-shadow: none !important;
}
body.home-bp-route :is(.bp-bento, .bp-cards, .bp-cards-2, .bp-benefits, .bp-teams, .bp-spotlights) { gap: 0 !important; }
body.home-bp-route :is(.bp-bento, .bp-cards, .bp-cards-2, .bp-benefits, .bp-teams) > * { margin: 0 -1px -1px 0 !important; }
body.home-bp-route :is(.bp-tile, .bp-card):hover { background: #fffaf7 !important; }
body.home-bp-route :is(.bp-bento, .bp-cards, .bp-benefits) { counter-reset: o-card; }
body.home-bp-route :is(.bp-bento > .bp-tile, .bp-cards > .bp-card, .bp-benefits > .bp-benefit) { counter-increment: o-card; }
body.home-bp-route :is(.bp-bento > .bp-tile .bp-h3, .bp-cards > .bp-card .bp-card-title, .bp-benefits > .bp-benefit :is(h3, .bp-h3))::before {
  content: counter(o-card, decimal-leading-zero); display: block; margin-bottom: 12px;
  color: var(--o-accent); font-size: 13px; font-weight: 600; letter-spacing: .02em;
}
body.home-bp-route .bp-card-art {
  border-radius: 0 !important; background: var(--o-accent-soft) !important;
  filter: invert(1) hue-rotate(180deg) saturate(1.1) contrast(.95);
}
body.home-bp-route .bp-card-art img { filter: invert(1) hue-rotate(180deg); } /* photos keep their real colours */
body.home-bp-route :is(.bp-tile-link, .bp-card-link, .bp-more summary) { color: var(--o-accent) !important; font-weight: 500 !important; }
body.home-bp-route .bp-more-icon { border-color: var(--o-accent) !important; color: var(--o-accent) !important; border-radius: 0 !important; }
body.home-bp-route .bp-stat-big, body.home-bp-route .bp-grad { -webkit-text-fill-color: var(--o-accent) !important; background: none !important; color: var(--o-accent) !important; font-weight: 500 !important; }
body.home-bp-route .bp-bars span { background: linear-gradient(to top, #ffd9c7, var(--o-accent)) !important; border-radius: 0 !important; }
body.home-bp-route .bp-stat-num { color: var(--o-ink) !important; font-weight: 500 !important; }
body.home-bp-route .bp-stat-label, body.home-bp-route .bp-partner-job { color: var(--o-muted) !important; }
body.home-bp-route .bp-quantum-art, body.home-bp-route .bp-partner-logo { border-radius: 0 !important; }

/* ---------- final call to action: orange band ---------- */
body.home-bp-route .bp-final { padding: 96px 24px; overflow: hidden; position: relative; }
body.home-bp-route .bp-final::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, var(--o-grid) 1px, transparent 1px), linear-gradient(to bottom, var(--o-grid) 1px, transparent 1px);
  background-size: 72px 72px;
}
body.home-bp-route .bp-orbit { opacity: .9; }
body.home-bp-route .bp-final-inner {
  position: relative; z-index: 2; max-width: var(--o-wrap); margin: 0 auto; background: var(--o-accent) !important;
  color: #fff !important; padding: 64px 56px; border-radius: 0;
}
body.home-bp-route .bp-final-inner :is(.bp-final-title, p, span, .bp-ca-note, .bp-eyebrow) { color: #fff !important; }
body.home-bp-route .bp-final-inner .bp-eyebrow { background: rgba(255, 255, 255, .16) !important; }
body.home-bp-route .bp-final-inner .bp-pill-orange, body.home-bp-route .bp-final-inner .bp-pill-dark { background: #fff !important; color: var(--o-ink) !important; border-color: #fff !important; }
body.home-bp-route .bp-final-inner :is(.bp-pill-white, .bp-pill-ghost, .bp-pill-ghost-dark) { background: transparent !important; color: #fff !important; border-color: rgba(255, 255, 255, .85) !important; }
body.home-bp-route .bp-final-inner .bp-ca-addr { background: rgba(255, 255, 255, .14) !important; border: 1px solid rgba(255, 255, 255, .35) !important; border-radius: 0 !important; color: #fff !important; }

/* ---------- footer ---------- */
body.home-bp-route .bp-footer { background: #fff !important; color: var(--o-ink) !important; border-top: 1px solid var(--o-line); }
body.home-bp-route .bp-footer :is(a, p, span) { color: var(--o-muted) !important; }
body.home-bp-route .bp-footer :is(.bp-footer-brand span, .bp-footer-title) { color: var(--o-ink) !important; font-weight: 500; }
body.home-bp-route .bp-footer svg { color: var(--o-accent); }
body.home-bp-route .bp-footer-legal { color: var(--o-faint) !important; border-color: var(--o-line) !important; letter-spacing: .02em; }

/* ---------- phones ---------- */
@media (max-width: 900px) {
  body.home-bp-route .bp-nav { padding: 10px 10px 0; }
  body.home-bp-route .bp-h1 { font-size: clamp(38px, 10.5vw, 48px) !important; }
  body.home-bp-route .bp-hero-lead { font-size: 17px; }
  body.home-bp-route .bp-round { flex: 0 0 auto; width: 46px !important; }
  body.home-bp-route .bp-section { padding-top: 72px; padding-bottom: 72px; }
  body.home-bp-route .bp-final-inner { padding: 40px 24px; }
}

/* ---------- fixes: leftover dark-theme pieces ---------- */
body.home-bp-route .bp-features li { color: rgba(255, 255, 255, .86) !important; }
body.home-bp-route .bp-glass-head svg { color: var(--o-accent) !important; fill: currentColor; }
body.home-bp-route .bp-quantum-art {
  background: var(--o-accent-soft) !important; border: 1px solid var(--o-line);
  filter: invert(1) hue-rotate(180deg) saturate(1.1) contrast(.95);
}
/* special projects (Moods, Bugz) */
body.home-bp-route :is(.moods-spot-title, .bugz-spot-title) { color: var(--o-ink) !important; -webkit-text-fill-color: var(--o-ink) !important; font-weight: 500 !important; letter-spacing: -.02em !important; }
body.home-bp-route :is(.moods-spot-line, .bugz-spot-line, .bugz-spot-when) { color: var(--o-muted) !important; }
body.home-bp-route :is(.moods-spot-media, .bugz-spot-media, .moods-spot-clip, .moods-spot, .bugz-spot) { border-radius: 0 !important; }
body.home-bp-route :is(.moods-spot, .bugz-spot) { background: #fff !important; border: 1px solid var(--o-line) !important; box-shadow: none !important; }
body.home-bp-route :is(.moods-spot-btn, .bugz-spot-btn) {
  border-radius: 0 !important; background: #fff !important; color: var(--o-ink) !important; border: 1px solid rgba(23, 18, 15, .18) !important; box-shadow: none !important;
}
body.home-bp-route :is(.moods-spot-btn, .bugz-spot-btn).is-solid { background: var(--o-accent) !important; color: #fff !important; border-color: var(--o-accent) !important; }
body.home-bp-route :is(.moods-spot-chip, .bugz-spot-chip) { border-radius: 0 !important; background: var(--o-accent-soft) !important; color: var(--o-accent) !important; border: 0 !important; }
body.home-bp-route .bugz-spot-cell { border-radius: 0 !important; background: #fff !important; color: var(--o-ink) !important; border: 1px solid var(--o-line) !important; }
/* interns panel */
body.home-bp-route .bp-interns { border-radius: 0 !important; background: #fff !important; border: 1px solid var(--o-line) !important; box-shadow: none !important; }
body.home-bp-route .bp-interns :is(img, .bp-interns-art *) { border-radius: 0 !important; }
/* final band: no floating logo orbit; flat contract-address panel */
body.home-bp-route .bp-orbit { display: none !important; }
body.home-bp-route .bp-final-inner .bp-ca {
  border-radius: 0 !important; background: rgba(255, 255, 255, .1) !important; border: 1px solid rgba(255, 255, 255, .45) !important; box-shadow: none !important;
}
body.home-bp-route .bp-final-inner .bp-ca .bp-eyebrow { background: transparent !important; padding: 0 !important; letter-spacing: .16em; color: rgba(255, 255, 255, .8) !important; }
body.home-bp-route .bp-final-inner .bp-ca-addr { background: transparent !important; border: 0 !important; padding: 0 !important; font-size: 18px; }
body.home-bp-route .bp-final-inner .bp-more summary { color: #fff !important; }
body.home-bp-route .bp-final-inner .bp-more-icon { border-color: #fff !important; color: #fff !important; }
