/* Readable text palettes: warm bronze on paper, pale gold on evergreen.
   Decorative trails retain their glow; information never relies on that glow. */
:root{--gw-gold:#7b6332;--gcon-bronze:#75602f;--gcon-copy:#4c6154;--gcon-light:#d8c28a}

/* IA: preserve the dark experience independently of the shared surface. */
body.guedes-unified .gw-surface.ai-experience{background:#0b281f;color:#f0eee4}
body.guedes-unified .ai-explorer .ai-kicker,
body.guedes-unified .ai-explorer .ai-link{color:var(--gcon-bronze)}
body.guedes-unified .ai-explorer .ai-explorer-note{color:var(--gcon-copy)}
body.guedes-unified .ai-explorer em{color:#80662e}
body.guedes-unified .ai-explorer .ai-link:hover{color:#173e2e}

/* Area pages: the same readable palette across the shared detail template. */
body.guedes-unified #guedes-detail .gd-eyebrow,
body.guedes-unified #guedes-detail .gd-number,
body.guedes-unified #guedes-detail .gd-subnav .gd-all,
body.guedes-unified #guedes-detail .gd-subnav a.is-current,
body.guedes-unified #guedes-detail .gd-team .gd-text-link,
body.guedes-unified #guedes-detail .gd-related-head>a,
body.guedes-unified #guedes-detail .gd-deep a,
body.guedes-unified #guedes-detail .gd-partners figcaption{color:var(--gcon-bronze)}
body.guedes-unified #guedes-detail .gd-hero .gd-eyebrow,
body.guedes-unified #guedes-detail .gd-method .gd-eyebrow{color:#d8bc7e}
body.guedes-unified #guedes-detail .gd-closing .gd-eyebrow{color:#c1cfbc}
body.guedes-unified #guedes-detail .gd-intro>p:last-child,
body.guedes-unified #guedes-detail .gd-section-note p:last-child,
body.guedes-unified #guedes-detail .gd-facet p,
body.guedes-unified #guedes-detail .gd-scenario p:last-child,
body.guedes-unified #guedes-detail .gd-team-copy>p:not(.gd-eyebrow){color:var(--gcon-copy)}
body.guedes-unified #guedes-detail .gd-intro h2 em,
body.guedes-unified #guedes-detail .gd-section-head h2 em,
body.guedes-unified #guedes-detail .gd-team h2 em,
body.guedes-unified #guedes-detail .gd-related-link:hover h3{color:#80662e}

/* Area directory: light chapters and the dark technology chapter. */
body.guedes-unified #guedes-areas .ga-introduction .ga-eyebrow,
body.guedes-unified #guedes-areas .ga-chapter .ga-eyebrow,
body.guedes-unified #guedes-areas .ga-index,
body.guedes-unified #guedes-areas .ga-connection>span,
body.guedes-unified #guedes-areas .ga-diagram-caption,
body.guedes-unified #guedes-areas .ga-people .ga-eyebrow,
body.guedes-unified #guedes-areas .ga-people figcaption{color:var(--gcon-bronze)}
body.guedes-unified #guedes-areas .ga-chapter-nav a.is-active{color:var(--gcon-bronze)!important}
body.guedes-unified #guedes-areas .ga-introduction>p:last-of-type,
body.guedes-unified #guedes-areas .ga-desc,
body.guedes-unified #guedes-areas .ga-service p,
body.guedes-unified #guedes-areas .ga-people p:not(.ga-eyebrow){color:var(--gcon-copy)}
body.guedes-unified #guedes-areas .ga-chapter:not(.ga-chapter-3) em{color:#80662e}
body.guedes-unified #guedes-areas .ga-chapter-3 .ga-desc,
body.guedes-unified #guedes-areas .ga-chapter-3 .ga-service p{color:#bdcdbf}
body.guedes-unified #guedes-areas .ga-chapter-3 .ga-connection>span,
body.guedes-unified #guedes-areas .ga-chapter-3 .ga-diagram-caption,
body.guedes-unified #guedes-areas .ga-chapter-3 .ga-index{color:#dcc58d}

/* Business content: quiet secondary copy must remain readable. */
body.guedes-unified .gb-section:not(.gb-dark) .gb-kicker,
body.guedes-unified .gb-system-heading .gb-kicker,
body.guedes-unified .gb-connections li>span,
body.guedes-unified .gb-page[data-business-page] .gb-story-guide,
body.guedes-unified .gb-page[data-business-page] .gb-story-guide>span,
body.guedes-unified .gb-people figcaption small{color:var(--gcon-bronze)}
body.guedes-unified .gb-section:not(.gb-dark) h2 em,
body.guedes-unified .gb-system-heading h2 em{color:#80662e}
body.guedes-unified .gb-art-caption,
body.guedes-unified .gb-system-heading>p:last-child,
body.guedes-unified .gb-decision-panel>div>p:not(.gb-kicker),
body.guedes-unified .gb-connections p,
body.guedes-unified .gb-method-step>p:last-child,
body.guedes-unified .gb-people>div>p:not(.gb-kicker),
body.guedes-unified .gb-faq details p{color:var(--gcon-copy)}

/* Institutional chapters and the permanent solutions list. */
body.guedes-unified #guedes-sobre .gs-chronicle-caption,
body.guedes-unified #guedes-sobre .gs-chronicle-hint,
body.guedes-unified #guedes-sobre .gs-essence-label,
body.guedes-unified #guedes-sobre .gs-beliefs-heading .gs-eyebrow,
body.guedes-unified #guedes-sobre .gs-people-heading .gs-eyebrow,
body.guedes-unified #guedes-sobre .gh-solutions-heading>p,
body.guedes-unified #guedes-sobre .gh-solution-description{color:var(--gcon-copy)}
body.guedes-unified #guedes-sobre .gs-chronicle-years,
body.guedes-unified #guedes-sobre .gs-chronicle-age strong,
body.guedes-unified #guedes-sobre .gh-solutions-eyebrow,
body.guedes-unified #guedes-sobre .gh-solution-action{color:var(--gcon-bronze)}
body.guedes-unified #guedes-sobre .gs-signature-final{color:var(--gcon-bronze)!important}
body.guedes-unified #guedes-sobre .gs-essence-note em{color:var(--gcon-bronze)}
body.guedes-unified #guedes-sobre .gs-beliefs-heading em{color:#80662e}
body.guedes-unified #guedes-sobre .gs-partners .gs-partner-caption .gs-partner-name{background:#10291fe6;color:#f0dfb7;border-color:#d0b87e55}

/* Switch text and background palettes together during the five-second cycle. */
body.guedes-unified .gh-experience,
body.guedes-unified .gh-experience .gh-system{transition-property:none}

/* Focus indicators follow the same light/dark distinction as the text. */
body.guedes-unified #guedes-detail :focus-visible,
body.guedes-unified #guedes-areas :focus-visible,
body.guedes-unified .ai-explorer :focus-visible,
body.guedes-unified .gb-section:not(.gb-dark) :focus-visible{outline-color:var(--gcon-bronze)}
body.guedes-unified .gw-header :focus-visible,
body.guedes-unified .gw-footer :focus-visible,
body.guedes-unified #guedes-detail :is(.gd-hero,.gd-method,.gd-closing,.gd-footer) :focus-visible,
body.guedes-unified #guedes-areas :is(.ga-hero,.ga-chapter-3,.ga-closing,.ga-footer) :focus-visible{outline-color:#efd79b}

@media(max-width:760px){
 body.guedes-unified #guedes-detail .gd-subnav .gd-all{display:none}
 body.guedes-unified #guedes-detail .gd-subnav-links{min-width:0;flex:1}
}

/* Essential copy starts readable, while the artwork still arrives in motion. */
@keyframes gcon-copy-arrive{from{transform:translateY(14px)}to{transform:translateY(0)}}
body.guedes-unified .ai-hero-copy{animation-name:gcon-copy-arrive}
@media(prefers-reduced-motion:reduce){body.guedes-unified .ai-hero-copy{animation:none}}

/* Consistent institutional details and resilient archive imagery. */
.gw-media-fallback{object-fit:contain!important;background:#e6e4d7;padding:28px;max-height:260px;min-height:140px;width:100%}
.gw-prose .gw-media-fallback{max-width:240px;margin:20px 0}
#guedes-equipe{--gold:#7b6332}
#guedes-equipe .spotlight,#guedes-equipe .partners-section{--gold:#d7c18a}
.gw-journal .gw-search{grid-template-columns:minmax(0,1fr) auto auto}
.gw-footer-nav .gw-link{min-width:0;white-space:normal}
@media(max-width:760px){.gw-journal .gw-search{grid-template-columns:minmax(0,1fr) auto}.gw-journal .gw-search label{grid-column:1/-1}.gw-footer-nav nav{gap:10px 25px}.gw-footer-nav a{min-height:44px;display:flex;align-items:center}}

#guedes-equipe .reveal{opacity:1!important;transition-property:transform!important}
#guedes-equipe .filters{overflow-x:auto;overflow-y:hidden;min-height:55px}
@keyframes gw-team-enter{from{translate:0 13px}to{translate:0 0}}
#guedes-equipe .hero-heading>div,#guedes-equipe .portrait-strip{animation-name:gw-team-enter;opacity:1}
