/* ===== 11/16 inner pages in the homepage's dark theme =====
   Josh: "update the colors and feel of all of the other pages (Our Work, Insights, etc) so it now matches the homepage vibe".
   Loaded after site.css on Methodology, Our Work, About, Contact, AEO for law firms and the score page (not on the homepage,
   which has its own home.css). Same rules as the homepage: one night page, sections full width split by a 7% hairline,
   no paper/stone bands or rounded panels, cream type, colour only in the small ember dots.
   Method: inside <main> the light tokens are re-pointed at their dark twins, so every light card, table and mock-up in
   site.css turns dark without a per-component rewrite. The email bar keeps the light tokens (cream bar, dark button),
   exactly as on the homepage. */

:root{--line-d:rgba(251,249,243,.07);--surface:#1B1A17;--surface-2:#22211D;--ember-d:#E89A70}
body{background:var(--night);color:var(--cream)}

main{
  --paper:var(--night); --card:var(--surface); --card-2:var(--surface-2); --line:rgba(251,249,243,.1);
  --ink:#FBF9F3; --ink-2:rgba(251,249,243,.68); --ink-3:rgba(251,249,243,.5);
  color:var(--cream);
}
/* the email bars and the score form stay cream with dark ink, like the homepage */
main .ask{--ink:#141413;--ink-2:rgba(20,20,19,.66);--ink-3:rgba(20,20,19,.42);--card:#F8F6F1;--line:#D8D1C4}

/* sections: flush, full width, hairline between */
main > section{margin:0 !important;border-radius:0 !important;background:var(--night);color:var(--cream)}
main > section + section{border-top:1px solid var(--line-d)}
.night.hero{margin:0;border-radius:0}
.night.sec + .night.sec{margin-top:0}
.sec{padding:clamp(88px,10vw,136px) 0}

/* type */
main .sec h2,main h3{color:var(--cream)}
main .dim{color:var(--cream-3)}
main .lede{color:var(--cream-2)}
main .more{color:var(--cream)}

/* section labels: hairline pill with the ember dot */
main .pill,main .pill.dark{background:transparent;border-color:rgba(251,249,243,.12);color:var(--cream-2)}
main .pill::before,main .pill.dark::before{background:var(--ember-d)}
main .pill.sm{border-color:rgba(251,249,243,.16)}

/* cards and mock-ups: dark surface + hairline, the same as the homepage proof cards */
main .card{background:var(--surface);border-color:rgba(251,249,243,.1);color:var(--cream)}
main .night .card,main .night .card.panel:not(.dark){background:var(--surface);color:var(--cream)}
main .card.dark,main .panel.dark{background:var(--surface-2)}
main a.card:hover{border-color:rgba(251,249,243,.22);box-shadow:0 18px 40px rgba(0,0,0,.35)}
main .panel{box-shadow:none}
main .night .named{color:var(--cream)}
main .tw-side button.on{background:rgba(251,249,243,.06);color:var(--cream);border-color:rgba(251,249,243,.12);box-shadow:none}
main .ranks .b i{background:rgba(251,249,243,.28)}
main .ranks li.you .b i{background:var(--ember-d)}
main .engines button[aria-selected=true],main .chat-bar .eng.on{background:var(--cream);color:#141413}
main .ev-list i{background:var(--cream);color:#141413}
main .cc-chart .hair line{stroke:rgba(251,249,243,.1)}

/* client logos drawn dark for the old light cards: turn them light */
main .card .case-logo,main .study .case-logo{filter:brightness(0) invert(1);opacity:.88}

/* closing "Talk to Victoria": dark, with the homepage's still glow from above */
.sec.contact.stone{background:radial-gradient(60% 70% at 50% 0%,rgba(255,236,205,.07),transparent 70%),var(--night);color:var(--cream)}
.sec.contact.stone h2,.sec.contact.stone h2 em{color:var(--cream)}
.sec.contact.stone .lede{color:var(--cream-2)}
.sec.contact.stone .pill{background:transparent;border-color:rgba(251,249,243,.12)}
.sec.contact.stone .btn.line{border-color:rgba(251,249,243,.24);color:var(--cream)}
.sec.contact.stone .btn.line:hover{border-color:var(--cream)}
.contact .ask.talk{background:var(--cream);border:1px solid rgba(251,249,243,.9);box-shadow:0 24px 70px rgba(0,0,0,.45)}
.contact .ask.talk button{background:#141413;color:var(--cream)}
.contact .after-talk a,.contact .after-talk{color:var(--cream-3)}
.contact .after-talk a:hover{color:var(--cream)}
.contact .talk-done{color:var(--cream)}

/* footer flush to the page, like the homepage */
.night.foot{margin:0;border-radius:0;border-top:1px solid var(--line-d)}
@media (max-width:720px){
  .night.foot{margin:0 !important;border-radius:0 !important}
  .sec.stone{margin:0 !important;border-radius:0 !important}
}

/* buttons inside main: --ink is cream here, so pin the dark text */
main .btn.ink{background:var(--cream);color:#141413}
main .btn.ink:hover{background:#fff}
main .btn.cream{color:#141413}

/* mock-ups that hard-code white rows */
main .ev-list li,main .chat-a li,main .tw-tag{background:var(--surface-2)}

/* Work With Us form: dark fields with a hairline, cream focus ring */
main .f input,main .f textarea{background:rgba(251,249,243,.04);border-color:rgba(251,249,243,.14);color:var(--cream)}
main .f input::placeholder,main .f textarea::placeholder{color:rgba(251,249,243,.34)}
main .f input:hover,main .f textarea:hover{border-color:rgba(251,249,243,.3)}
main .f input:focus,main .f textarea:focus{border-color:rgba(251,249,243,.6);box-shadow:0 0 0 3px rgba(251,249,243,.1)}
main .f [aria-invalid]{border-color:#E5847A}
main .intake{background:var(--surface);border-color:rgba(251,249,243,.1)}
main .f-err{color:#F2B8B0}
main .f-status.bad{background:rgba(229,132,122,.12);color:#F2B8B0}

/* checked boxes: cream box, dark tick (the white tick vanished on the cream box) */
main .see li.on::before,main .outcomes .row.on .tick{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%23141413' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
