/* BosBit: a shared dark palette for the homepage, Garimpo and privacy page. */
:root {
  color-scheme: dark;
  --paper: #080a0b;
  --ink: #f3f3ef;
  --muted: #b5bdc0;
  --line: #343b3f;
  --orange: #f27a38;
  --surface: #111518;
  --surface-hover: #1c2327;
}
html, body { background: var(--paper); color: var(--ink); }
body { -webkit-font-smoothing: antialiased; }
::selection { background: #f27a38; color: #080a0b; }
a { color: inherit; }
header { background: var(--paper); border-color: var(--line); }
header .logo, footer .logo { color: var(--ink); }
.logo span, footer .logo span, .navlinks .nav-marketing { color: var(--orange); }
.navlinks a:hover, .footer-row a:hover { color: #ffac79; }

/* Orange remains the action color; field photographs and video keep their colors. */
.button, .story-hero .button, .partnership .button, .offer .button, .news-cta .button {
  background: var(--orange);
  border-color: var(--orange);
  color: #080a0b;
}
.button:hover, .story-hero .button:hover, .partnership .button:hover,
.offer .button:hover, .news-cta .button:hover { background: #ff9a60; border-color: #ff9a60; }
.skip { color: #080a0b; }
a:focus-visible, button:focus-visible, summary:focus-visible,
input:focus-visible, video:focus-visible, .button:focus-visible,
.orientation button:focus-visible, .orientation input:focus-visible {
  outline: 3px solid #ffac79;
  outline-offset: 5px;
}
.story-hero, .partnership, footer,
.news-hero, .news-cta, .offer, .about, dialog {
  background: var(--paper);
  color: var(--ink);
}
.partnership { border-block: 1px solid var(--line); }
footer { border-top: 1px solid var(--line); }
.hero-playback { background: #080a0bd9; border-color: #b5bdc0; color: var(--ink); }
.hero-playback:hover { background: #080a0b; }
.field-gallery video, .video-grid video, .field-gallery .gallery-operation video {
  background: #000;
}
.eyebrow, .story-intro .eyebrow, .story-intro h2 span,
.field-gallery figcaption > span, .video-grid .eyebrow,
.bruno-story .eyebrow, .news-card .eyebrow { color: var(--muted); }
.case-copy > .eyebrow, .partnership .eyebrow, .entry h2#titulo em,
.path-no, .reading-grid article > span, .analysis-label,
.features .num, .dialog-top, .catalog-category { color: #ffac79; }
.field-gallery p, .field-gallery a, .case-copy > p:not(.eyebrow),
.visual-metrics dt, .visual-feedback small, .quiet-details p,
.visual-evidence figcaption, .bruno-story p:not(.eyebrow), .profile-records small,
.entry-lead, .entry-small, .entry-photo figcaption, .section-lead,
.paths-grid p, .connections span, .reading-grid p,
.news-card > p:not(.eyebrow), .news-details p, .news-lead,
.news-article-cover figcaption, .audience, .product-copy > p,
.guide-cover figcaption span, .features small, .details-content,
.catalog-description, .catalog-format, dialog p, .footer-row p {
  color: var(--muted);
}
.visual-metrics dd, .product-hook strong, .details-content li strong,
.guide-cover figcaption, .signature { color: var(--ink); }
.partnership p, .partnership-details .scope-note, .footer-row a,
.news-hero p:last-child { color: #cbd0d2; }
.partnership-details details, .quiet-details, .visual-case,
.connections-disclosure, .free-reading-disclosure,
.news-meta, .guide-area, .details, .features li, .catalog-action,
.connections-note, #caminhos { border-color: var(--line); }
.visual-evidence, .discovery-divider, .connections, .orientation,
.guide-disclosure, .product, .guide-cover, .catalog-card, .catalog-image {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}
.discovery-divider { border-block: 1px solid var(--line); }
.visual-evidence img { box-shadow: 0 12px 36px #0005; }
.paths-grid article, .news-card { background: transparent; color: var(--ink); }
.paths-grid article, .paths-grid article:nth-child(3),
.news-grid .news-card:not(:has(.news-cover)) { border-top-color: #657076; }
.paths-grid article:nth-child(2) { border-top-color: var(--orange); }
.guide-disclosure > summary:hover { background: var(--surface-hover); }
.tag { background: #302015; color: #ffb98e; }
.offer { background: #0b0e10; }
.formats span { border-color: #626d73; }
.news-hero { border-bottom: 1px solid var(--line); }
.news-cta { background: var(--surface); border: 1px solid var(--line); }
.news-body { color: #d4d8d9; }
.news-body h2 { color: var(--ink); }
.news-action { border-left-color: var(--orange); }
.news-sources { color: var(--muted); }
.news-sources a, .back, .text-link { color: var(--ink); }

/* The complete introductory journey, including its result and optional sharing. */
.orientation { border-top-color: var(--orange); }
.step-caption, .step-help, .step-foot, .route-options small,
.result-context p, .reading-source, .reading-why, .share-answers p { color: var(--muted); }
.route-options label { background: var(--paper); border-color: #637078; }
.route-options label:hover { background: var(--surface-hover); }
.route-options label:has(input:checked) { background: #2c1c13; border-color: var(--orange); }
.route-options input { accent-color: var(--orange); }
.orientation progress { accent-color: var(--orange); background: var(--line); }
.orientation progress::-webkit-progress-bar { background: var(--line); }
.orientation progress::-webkit-progress-value { background: var(--orange); }
.orientation progress::-moz-progress-bar { background: var(--orange); }
.plain-button { color: var(--ink); border-color: #8b969d; }
.plain-button:hover { color: #ffac79; }
#route-error { color: #ffada5; }
.result-context, .reading-result, .share-answers { border-color: var(--line); }
.result-question { background: #1c2523; border-color: #8ab9a8; }
.result-question span { color: #b6d9ca; }
.share-answers button { background: var(--surface-hover); color: var(--ink); border-color: #8b969d; }
.share-answers button:hover { background: #293339; }

/* Supplied client artwork, optically sized without altering the source files. */
.client-strip { padding-block: 38px 26px; border-bottom: 1px solid var(--line); background: var(--paper); }
.client-strip h2 {
  color: var(--muted); font-size: 12px; line-height: 1.6;
  font-weight: 700; text-transform: uppercase; letter-spacing: .12em;
  text-align: center; margin: 0 0 24px;
}
.client-viewport { max-width: 1080px; margin-inline: auto; overflow: hidden; }
.client-track { display: flex; width: max-content; }
.client-logos {
  list-style: none; padding: 0; margin: 0; width: 1080px; flex: 0 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center;
}
.client-logos li { min-width: 0; height: 124px; display: flex; align-items: center; justify-content: center; }
.client-art {
  display: block; position: relative; overflow: hidden;
  background: var(--paper); isolation: isolate;
}
.client-art img {
  display: block; position: absolute; max-width: none; height: auto;
  filter: grayscale(1) invert(1) brightness(1.65); opacity: .9;
  /* Blend against the explicit site color, including inside the animated track. */
  mix-blend-mode: screen;
}
.client-vila { width: 156px; aspect-ratio: 2425 / 1577; }
.client-vila img { width: 110.8454%; left: -4.6186%; top: -62.9043%; }
.client-eco { width: 230px; aspect-ratio: 2482 / 399; }
.client-eco img { width: 108.2998%; left: -4.0693%; top: -410.2757%; }
.client-obra { width: 106px; aspect-ratio: 1421 / 1420; }
.client-obra img { width: 189.1626%; left: -44.5461%; top: -76.1972%; }
.client-controls { display: flex; justify-content: center; margin-top: 16px; }
.client-pause {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px;
  padding: 8px 12px; border: 1px solid var(--line); border-radius: 0;
  background: transparent; color: var(--muted); font: inherit; font-size: 12px; cursor: pointer;
}
.client-pause:hover { color: var(--ink); border-color: #8b969d; }
.client-strip[data-enhanced] .client-track { animation: client-drift 32s linear infinite; }
.client-strip[data-paused="true"] .client-track,
.client-strip[data-offscreen="true"] .client-track,
.client-viewport:hover .client-track { animation-play-state: paused; }
.client-strip:not([data-enhanced]) .client-track,
.client-strip:not([data-enhanced]) .client-logos { width: 100%; }
@keyframes client-drift { to { transform: translateX(-50%); } }
@media (max-width: 740px) {
  .hero-caption { background: var(--paper); }
  .client-strip { padding-block: 28px 20px; }
  .client-strip h2 { max-width: 290px; margin: 0 auto 18px; font-size: 11px; }
  .client-logos { width: 720px; }
  .client-logos li { height: 112px; }
  .client-eco { width: 202px; }
  .client-vila { width: 146px; }
  .client-obra { width: 100px; }
  .client-strip:not([data-enhanced]) .client-logos { grid-template-columns: 1fr; gap: 12px; }
  .client-strip:not([data-enhanced]) .client-logos li { height: 108px; }
  .client-strip[data-enhanced] .client-track { animation-duration: 28s; }
  .client-controls { margin-top: 8px; }
  .news-body { font-size: 18px; line-height: 1.75; }
}
@media (prefers-reduced-motion: reduce) {
  .client-strip[data-enhanced] .client-track { animation: none; }
}
