/* v3.1.0 — light/dark appearance contract. Loaded after portfolio and Reiro CSS. */
:root{
  color-scheme:light;
  --aa-muted:#625c55;
  --aa-link-color:#a6410a;
  --aa-button-bg:var(--ghost-accent-color,#c14a08);
  --aa-button-ink:#fff;
  --aa-button-hover:#a63f05;
  --aa-button-hover-ink:#fff;
  --aa-on-dark-link:#ffb180;
  --color-font-one:var(--aa-ink);
  --color-font-two:var(--aa-muted);
  --color-font-three:var(--aa-muted);
  --color-body:var(--aa-bg);
  --color-background:var(--aa-bg);
}
html.dark-mode{
  color-scheme:dark;
  --aa-bg:#171819;--aa-surface:#202224;--aa-ink:#f7f0e8;--aa-muted:#c4b9ad;--aa-line:#484a4c;
  --aa-link-color:#ffb180;
}
html.sepia-mode:not(.auto-dark-mode){color-scheme:light}
@media(prefers-color-scheme:dark){
  html.auto-dark-mode{
    color-scheme:dark;
    --aa-bg:#171819;--aa-surface:#202224;--aa-ink:#f7f0e8;--aa-muted:#c4b9ad;--aa-line:#484a4c;
    --aa-link-color:#ffb180;
  }
}
body[data-aa-theme="portfolio-native-v3"]{background:var(--aa-bg);color:var(--aa-ink)}
.aa-home h1,.aa-home h2,.aa-home h3,.aa-home h4,.aa-home h5,.aa-home h6{color:var(--aa-ink)}
.aa-home p,.aa-rich-content,.aa-footer-description,.aa-footer-bottom,.aa-journal-meta{color:var(--aa-muted)}
.aa-nine-section-home .aa-landing-hero h1{color:var(--aa-ink)}
.aa-nine-section-home .aa-landing-hero p.aa-hero-description{color:var(--aa-muted)}
.aa-eyebrow,.aa-home p.aa-eyebrow,.aa-home .aa-clients-section h2.aa-eyebrow,.aa-nine-section-home .aa-landing-hero p.aa-eyebrow,.aa-brand-dot,.aa-process-card>span{color:var(--aa-link-color)}
.aa-home .aa-text-link,.aa-rich-content a,.post-content a:not(.kg-btn):not(.kg-bookmark-container):not(.kg-product-card-button),.aa-nav a:hover,.aa-nav .nav-current a,.aa-footer a:hover{color:var(--aa-link-color)}
.aa-practice-primary{border-color:var(--aa-link-color);box-shadow:inset 0 3px var(--aa-link-color)}
.aa-button,.aa-header a.aa-button{background:var(--aa-button-bg);color:var(--aa-button-ink)!important}
.aa-button:hover,.aa-header a.aa-button:hover{background:var(--aa-button-hover);color:var(--aa-button-hover-ink)!important}
.aa-button .aa-arrow{background:var(--aa-button-ink);color:var(--aa-button-bg)}
.aa-button:hover .aa-arrow{background:var(--aa-button-hover-ink);color:var(--aa-button-hover)}
.aa-text-link .aa-arrow{background:var(--aa-button-bg);color:var(--aa-button-ink)}
.aa-home a:focus-visible,.aa-header a:focus-visible,.aa-header button:focus-visible,.aa-footer a:focus-visible,.aa-client-gallery:focus-visible{outline-color:var(--aa-link-color)}
/* White tiles preserve transparent, black, and brand-colour logo assets in dark mode. */
.aa-client-gallery .kg-gallery-image,.aa-client-gallery .kg-image-card{background:#fff;border-color:#d8d8d8;border-radius:10px}
.aa-client-gallery img{filter:none}
.aa-client-gallery figcaption{color:var(--aa-muted)}
/* Photo captions and the closing panel always sit on dark artwork/surfaces. */
.aa-practice-visual .aa-visual-caption,.aa-practice-visual .aa-visual-number,.aa-arbaaa-wordmark{color:#fff}
.aa-close,.aa-nine-section-home .aa-counsel-section{background:#191c20;color:#fff}
.aa-nine-section-home .aa-counsel-section h2{color:#fff}
.aa-nine-section-home .aa-counsel-section .aa-counsel-copy,.aa-counsel-copy p{color:#d1c8be}
.aa-counsel-section p.aa-eyebrow,.aa-home .aa-counsel-section .aa-text-link,.aa-counsel-section .aa-rich-content a{color:var(--aa-on-dark-link)!important}
.aa-home .aa-work-cover-action{color:var(--aa-link-color)}
@media(min-width:801px){
  .aa-nine-section-home .aa-work-photo h3{color:#fff}
  .aa-nine-section-home .aa-work-photo p{color:#f3eeea}
  .aa-nine-section-home .aa-work-photo .aa-work-cover-action,.aa-nine-section-home .aa-work-photo p.aa-eyebrow{color:var(--aa-on-dark-link)}
}
@media(max-width:800px){
  .aa-nine-section-home .aa-work-photo h3{color:var(--aa-ink)}
  .aa-nine-section-home .aa-work-photo p{color:var(--aa-muted)}
  .aa-nine-section-home .aa-work-photo .aa-work-cover-action,.aa-nine-section-home .aa-work-photo p.aa-eyebrow{color:var(--aa-link-color)}
}
/* Ghost Pages, articles, archive, and optional contact forms use the same base palette. */
.post-section,.archive-section,.aa-archive{color:var(--aa-ink)}
.post-title,.post-content h1,.post-content h2,.post-content h3,.post-content h4,.post-content h5,.post-content h6,.aa-archive h1{color:var(--aa-ink)}
.post-content{color:var(--aa-ink)}
body[data-aa-theme="portfolio-native-v3"] .custom-content label{color:var(--aa-ink)}
body[data-aa-theme="portfolio-native-v3"] .custom-content input,body[data-aa-theme="portfolio-native-v3"] .custom-content textarea{background:var(--aa-surface);color:var(--aa-ink);border-color:var(--aa-line);caret-color:var(--aa-ink)}
body[data-aa-theme="portfolio-native-v3"] .custom-content input::placeholder,body[data-aa-theme="portfolio-native-v3"] .custom-content textarea::placeholder{color:var(--aa-muted);opacity:1}
@media(prefers-reduced-motion:reduce){.aa-button{transition:none}}

/* Safe no-JavaScript defaults; the enhancement applies the saved publication accent. */
:root{--aa-button-bg:#c14a08}
.aa-practice-card.is-orange .aa-practice-visual{background:var(--aa-button-bg)}
.aa-practice-card.is-orange .aa-arbaaa-wordmark,.aa-practice-card.is-orange .aa-visual-caption,.aa-practice-card.is-orange .aa-visual-number{color:var(--aa-button-ink)}
