/* ===== Site-wide black scheme (Chad 2026-09-28): every page uses the look of the home
   "Family. Estate. Travel." section: #151412 background, ivory text, gold accents.
   Loaded last on every page so it overrides the light/tinted section styles. ===== */
:root{--bg:#151412;--bg-warm:#151412;--surface:rgba(255,252,245,.06);--ink:#f8f0df;--hairline:rgba(248,240,223,.14);
  --am-ink:#f8f0df;--am-muted:rgba(248,240,223,.76);--am-gold:#d2ac62;--am-em:#c9a765}
html,body{background:#151412!important;color:#f8f0df}
html body,html body:is(.private-first,.am-tesla,.pedigree-page,.cinema-leo){color:#f8f0df}

/* Sections: every light or tinted band goes black */
html body :is(.am-section,.am-proof-points,.am-section--tint,.tesla-panel,.ped-section,.ped-together,.ped-cross,.am-footer,main){background:#151412!important;color:#f8f0df}
html body :is(.am-section--tint,.ped-cross){border-top:1px solid rgba(248,240,223,.08)}
html body .am-footer{border-top:1px solid rgba(248,240,223,.10);color:rgba(248,240,223,.62)}
html body .am-footer *{color:inherit}

/* Headings ivory, italic accents gold */
html body :is(.am-section,.tesla-panel,.ped-section,.ped-hero,.am-footer,main) :is(h1,h2,h3,h4,h5,h6){color:#f8f0df}
html body :is(.am-section,.tesla-panel,.ped-section,.ped-hero,main) :is(h1,h2,h3) em{color:#c9a765}

/* Body copy */
html body :is(.am-section,.tesla-panel,.ped-section,.ped-hero,main) :is(p,li,dd,dt,td,th,figcaption,blockquote){color:rgba(248,240,223,.76)}
html body :is(.am-section,.tesla-panel,.ped-section,.ped-hero,main) :is(strong,b){color:#f8f0df}
html body #handler-training .am-lede strong{color:#f8f0df}

/* Kickers / small labels stay gold */
html body :is(.am-kicker,.tesla-kicker,.ped-kicker,.am-note-card__meta,.amclose__kicker){color:#d2ac62}

/* Cards and framed media: translucent ivory on black, like the dark-section cards */
html body :is(.am-card,.am-note-card,.tesla-card,.ped-card,.am-step,.am-closed,.am-stat,.ped-figure,.tesla-panel figure){background:rgba(255,252,245,.06)!important;border-color:rgba(248,240,223,.14)!important;box-shadow:none}
html body :is(.ped-figure figcaption,.tesla-panel figure figcaption){background:transparent!important;color:rgba(248,240,223,.70)}
html body .am-statbar{border-color:rgba(248,240,223,.14)}
html body .am-stat strong{color:#f8f0df}
html body .am-stat span{color:rgba(248,240,223,.70)}
html body .am-step .n{color:#d2ac62}
html body .am-media{border-color:rgba(248,240,223,.14)}
html body hr{border-color:rgba(248,240,223,.14)}

/* Links inside copy: gold */
html body :is(.am-section,.tesla-panel,.ped-section,.am-footer) p a:not(.am-btn):not(.cbtn){color:#d2ac62}

/* Buttons stay gold with dark text */
html body :is(.am-btn,.amclose__btn,.cbtn,.tesla-btn,.ped-btn){background:#d2ac62;border-color:#d2ac62;color:#171614}
html body :is(.am-btn--ghost,.tesla-btn--ghost){background:transparent;color:#f8f0df;border-color:rgba(248,240,223,.5)}

/* Nav: black bar when scrolled; black mobile menu */
html body #nav.is-scrolled{background:rgba(21,20,18,.94);color:#f8f0df;border-bottom-color:rgba(248,240,223,.10)}
html body #nav.is-scrolled .nav__links a:not(.nav__cta){color:#f8f0df}
html body #nav.is-scrolled .nav__links a:not(.nav__cta):hover{color:#e0bd78}
html body #nav.is-scrolled .nav__toggle{color:#f8f0df}
@media (max-width:900px){
  html body.private-first #nav .nav__links{background:#151412}
  html body.private-first #nav .nav__links a:not(.nav__cta),html body .private-first #nav .nav__links a:not(.nav__cta){color:#f8f0df}
}
@media (max-width:880px){
  html body #nav .nav__links{background:#151412}
  html body #nav .nav__links a:not(.nav__cta){color:#f8f0df}
  html body #nav.is-open,html body #nav.is-open .nav__toggle{color:#f8f0df}
}

/* Gold buttons always carry dark text */
html body #nav a.nav__cta,html body #nav.is-scrolled a.nav__cta{background:#d2ac62;border-color:#d2ac62;color:#171614}
html body #nav a.nav__cta:hover{background:#e0bd78;border-color:#e0bd78;color:#171614}
html body #handler-training .am-lede.am-handler-note{color:rgba(248,240,223,.76)}
html body .ped-figure__titles{color:rgba(248,240,223,.70)}
html body a.nav__cta{color:#171614!important}

/* Closing section: title and copy come before the logo art on phones (Chad 2026-09-28) */
@media (max-width:880px){
  html body .amclose{display:flex;flex-direction:column;padding-top:64px;padding-bottom:0}
  html body .amclose__copy{order:0}
  html body .amclose__art{order:1;margin:36px -20px 0}
  html body .amclose__art::after{background:linear-gradient(180deg,#0a0a0a 0%,rgba(10,10,10,0) 18%),linear-gradient(0deg,rgba(10,10,10,.35) 0%,rgba(10,10,10,0) 12%)}
}

html body .am-family{background:transparent!important;border:0!important}
html body .am-family__quote footer{color:#d2ac62}

