/* ============================================================
   THEFAYTH Papercut — sitewide palette (2026-11-15)
   Faith: "need to do the whole thefayth.net in same pallette."
   Enqueued on every page EXCEPT the front page (the homepage
   already wears the full Papercut build via papercut.css, and
   nothing here may disturb it). See functions.php.

   Mechanism: the Signal shell in style.css is variable-driven.
   This file (1) remaps the child's design tokens — and the
   parent-token names the child remapped in v0.2.6 — to the
   Papercut values, which flips the shell, the parent-built
   components (forum, newsroom, archive, Rapetrail / Murder Map
   chrome) and bbPress in one move; then (2) overrides the few
   places style.css hard-codes the dark shell (the charcoal
   gradients on .panel / .protocol-card / the v0.2.6 surface
   list) with paper surfaces at matching specificity; then
   (3) rests the header/footer chrome on the same values
   papercut.css uses for body.home, and echoes the collage's
   typewriter voice (Special Elite) in the small labels.

   Palette (from the approved mock): ground #f1ead9, panel
   #f6efdd, raised paper #efe6cf, ink #26221c, ink-dim #4c463c,
   soft #6d6350, purple #7b2ff7, electric blue #2456ff,
   lavender #d9cff0, pale blue #cfe0ee, beige #f3e9d2.
   Link tone: purple #7b2ff7 on cream = 4.9:1 (AA). Blue
   #2456ff on cream = 4.5:1 — a bare AA pass, so blue is kept
   for the wordmark accent and large/graphic accents, and the
   darker purple #6d28e0 (5.8:1) carries hover + small labels.
   ============================================================ */

/* ---------- (1) Token remap: Signal charcoal -> Papercut cream ---------- */
:root{
  color-scheme:light;
  --bg:#f1ead9;          /* page ground */
  --panel:#f6efdd;       /* paper panels / cards */
  --panel2:#efe6cf;      /* raised paper */
  --ink:#26221c;         /* body text — 13.3:1 on --bg */
  --ink-dim:#4c463c;     /* secondary body — 7.8:1 */
  --bright:#26221c;      /* headings */
  --soft:#6d6350;        /* metadata — 4.9:1 */
  --accent:#7b2ff7;      /* links, buttons, eyebrows — 4.9:1 */
  --accent-hi:#6d28e0;   /* hover / bright labels — 5.8:1 */
  --on-accent:#fffdf7;   /* text on purple */
  --line:rgba(38,34,28,.28);
  --band:#f6efdd;        /* the old grey break, now paper */
  --band-ink:#26221c;
  --band-soft:#4c463c;
  --band-accent:#26221c;
  /* Parent-theme token names (child remapped them to Signal in
     v0.2.6; parent components — forum, Rapetrail, Murder Map,
     newsroom — read these). */
  --muted:#4c463c;
  --surface:#f6efdd;
  --surface-strong:#fffdf7;
  --surface-soft:#efe6cf;
  --bg-deep:#e9dfc8;
  --signal:#7b2ff7;
  --signal-soft:rgba(123,47,247,.10);
  --gold:#7b2ff7;
  --accent-deep:#6d28e0;
  --shadow:0 18px 44px rgba(74,58,28,.20);
  --shadow-soft:0 10px 26px rgba(74,58,28,.16);
}

/* ---------- (2) Site chrome, rested on the cream sheet ----------
   Same values papercut.css gives body.home, unscoped. */
.tf-header{border-bottom:1px solid rgba(38,34,28,.22)}
.tf-wordmark{color:#26221c}
.tf-wordmark .tf-net{color:#2456ff}
.tf-brand-rule{background:#7b2ff7}
.tf-pillars{color:#6d6350}
.tf-nav a{color:#4c463c}
.tf-nav a:hover,.tf-nav a:focus{color:#7b2ff7}
.tf-footer{border-top:1px solid rgba(38,34,28,.22);color:#6d6350}
.tf-foot-mark{color:#26221c}

/* ---------- (3) Hard-coded dark gradients -> paper ----------
   style.css paints these surfaces with charcoal gradients
   (sitewide block + forum-scoped block + the v0.2.6 surface
   list), all !important. Mirrored selectors here, later in the
   cascade, carry the paper gradient instead. */
.panel,.living-panel,.hero-panel,.section-panel,
.protocol-card,.ai-feature-card,.language-card,.starter-thread-card,
.syllabus-card,.source-card,.artifact-card,
.surface-card,.property-card,.route-panel,.cta-banner,.pillars-band,
.lane-card,.contact-card,.bridge-stat,.route-link-card,
.directory-mini-card,.bbs-room-card,.bbs-stat,.stde-shell,.route-card,
.newsroom-live-hub__card,.newsroom-story-card,.newsroom-archive-panel{
  background:linear-gradient(180deg,#f6efdd,#efe6cf) !important;
  border:1px solid rgba(38,34,28,.22);
  color:#26221c;
}
body.page-key-forum .panel,body.bbpress .panel,
body.page-key-forum .living-panel,body.bbpress .living-panel,
body.page-key-forum .hero-panel,body.bbpress .hero-panel,
body.page-key-forum .section-panel,body.bbpress .section-panel,
body.page-key-forum .protocol-card,body.bbpress .protocol-card,
body.page-key-forum .ai-feature-card,body.bbpress .ai-feature-card,
body.page-key-forum .language-card,body.bbpress .language-card,
body.page-key-forum .starter-thread-card,body.bbpress .starter-thread-card,
body.page-key-forum .syllabus-card,body.bbpress .syllabus-card,
body.page-key-forum .source-card,body.bbpress .source-card,
body.page-key-forum .artifact-card,body.bbpress .artifact-card{
  background:linear-gradient(180deg,#f6efdd,#efe6cf) !important;
  border:1px solid rgba(38,34,28,.22);
  color:#26221c;
}

/* ---------- (4) Forms: bright paper fields, ink text ----------
   Matches the Join form's field pairing (#fffdf7 on ink). */
.tf-main input[type="text"],.tf-main input[type="password"],
.tf-main input[type="search"],.tf-main input[type="email"],
.tf-main textarea,.tf-main select{
  background:#fffdf7;
  border:1px solid rgba(38,34,28,.45);
  color:#26221c;
}
#bbpress-forums textarea,#bbpress-forums input[type="text"],
#bbpress-forums select{
  background:#fffdf7;
  color:#26221c;
  border:1px solid rgba(38,34,28,.45);
}

/* ---------- (5) Type echo: the collage's typewriter voice
   in the small labels (homepage chrome keeps Playfair/Georgia,
   exactly as the homepage itself wears them). ---------- */
.tf-eyebrow,.tf-card .tf-room,.tf-rail-head{
  font-family:"Special Elite","Courier New",monospace;
}
.tf-btn,.tf-searchform button{
  font-family:"Special Elite","Courier New",monospace;
  box-shadow:3px 3px 0 #26221c;
}
#bbpress-forums .bbp-submit-wrapper button,
#bbpress-forums fieldset.bbp-form input[type="submit"]{
  font-family:"Special Elite","Courier New",monospace;
}

/* ---------- (6) The old grey break gets a paper edge ----------
   --band is now a paper tone; on the cream ground the band
   sections need their border to stay a section. */
.tf-band{border:1px solid rgba(38,34,28,.22)}
