/* Generated by worker/scripts/color-modes.ts from worker/color-modes.ts. Do not edit by hand. */
/* Light and dark modes for the Frankly Spoken sites (Kendal, 2026-10-27). */

/* Tokens. Light is the default; dark follows the visitor's setting, and
   ?mode=light or ?mode=dark on staging forces one (data-fs-mode). */
:root[data-fs-site='productions'] {
  color-scheme: light;
  --fs-hero: #013C5A;
  --fs-bg: #FCF3E4;
  --fs-raised: #FFFDF8;
  --fs-band: #F3E1D3;
  --fs-band-soft: #F6EBDA;
  --fs-text: #442827;
  --fs-muted: #545D61;
  --fs-muted-warm: #6D413E;
  --fs-sage-text: #506C60;
  --fs-accent: #954724;
  --fs-accent-line: #B05B34;
  --fs-rule: #D2C5B2;
  --fs-control: #545D61;
  --fs-control-warm: #7A6A5E;
  --fs-heading: #013C5A;
  --fs-link: #013C5A;
  --fs-link-hover: #9C5E1E;
  --fs-focus: #013C5A;
}
:root[data-fs-site='consulting'] {
  color-scheme: light;
  --fs-hero: #442827;
  --fs-bg: #FCF3E4;
  --fs-raised: #FFFDF8;
  --fs-band: #F3E1D3;
  --fs-band-soft: #F6EBDA;
  --fs-text: #442827;
  --fs-muted: #545D61;
  --fs-muted-warm: #6D413E;
  --fs-sage-text: #506C60;
  --fs-accent: #954724;
  --fs-accent-line: #B05B34;
  --fs-rule: #D2C5B2;
  --fs-control: #545D61;
  --fs-control-warm: #7A6A5E;
  --fs-heading: #442827;
  --fs-link: #442827;
  --fs-link-hover: #B05B34;
  --fs-focus: #442827;
}
:root[data-fs-site='studio'] {
  color-scheme: light;
  --fs-hero: #183425;
  --fs-bg: #FCF3E4;
  --fs-raised: #FFFDF8;
  --fs-band: #F3E1D3;
  --fs-band-soft: #F6EBDA;
  --fs-text: #442827;
  --fs-muted: #545D61;
  --fs-muted-warm: #6D413E;
  --fs-sage-text: #506C60;
  --fs-accent: #954724;
  --fs-accent-line: #B05B34;
  --fs-rule: #D2C5B2;
  --fs-control: #545D61;
  --fs-control-warm: #7A6A5E;
  --fs-heading: #183425;
  --fs-link: #183425;
  --fs-link-hover: #9C5E1E;
  --fs-focus: #183425;
}
@media (prefers-color-scheme: dark) {
  :root[data-fs-site='productions']:not([data-fs-mode='light']) {
    color-scheme: dark;
    --fs-hero: #013C5A;
    --fs-text: #FCF3E4;
    --fs-muted: #D2C5B2;
    --fs-muted-warm: #D2C5B2;
    --fs-sage-text: #8EB2A0;
    --fs-accent: #D7AC9C;
    --fs-accent-line: #D7AC9C;
    --fs-rule: rgba(252, 243, 228, 0.18);
    --fs-control: #A39A90;
    --fs-control-warm: #A39A90;
    --fs-bg: #011A28;
    --fs-raised: #013C5A;
    --fs-band: #012A3F;
    --fs-band-soft: #012A3F;
    --fs-heading: #A8B9C0;
    --fs-link: #A8B9C0;
    --fs-link-hover: #D89B4A;
    --fs-focus: #A8B9C0;
  }
  :root[data-fs-site='consulting']:not([data-fs-mode='light']) {
    color-scheme: dark;
    --fs-hero: #442827;
    --fs-text: #FCF3E4;
    --fs-muted: #D2C5B2;
    --fs-muted-warm: #D2C5B2;
    --fs-sage-text: #8EB2A0;
    --fs-accent: #D7AC9C;
    --fs-accent-line: #D7AC9C;
    --fs-rule: rgba(252, 243, 228, 0.18);
    --fs-control: #A39A90;
    --fs-control-warm: #A39A90;
    --fs-bg: #2B1917;
    --fs-raised: #442827;
    --fs-band: #38211F;
    --fs-band-soft: #38211F;
    --fs-heading: #FCF3E4;
    --fs-link: #FCF3E4;
    --fs-link-hover: #D7AC9C;
    --fs-focus: #D7AC9C;
  }
  :root[data-fs-site='studio']:not([data-fs-mode='light']) {
    color-scheme: dark;
    --fs-hero: #183425;
    --fs-text: #FCF3E4;
    --fs-muted: #D2C5B2;
    --fs-muted-warm: #D2C5B2;
    --fs-sage-text: #8EB2A0;
    --fs-accent: #D7AC9C;
    --fs-accent-line: #D7AC9C;
    --fs-rule: rgba(252, 243, 228, 0.18);
    --fs-control: #A39A90;
    --fs-control-warm: #A39A90;
    --fs-bg: #0B1A12;
    --fs-raised: #183425;
    --fs-band: #12271B;
    --fs-band-soft: #12271B;
    --fs-heading: #8EB2A0;
    --fs-link: #8EB2A0;
    --fs-link-hover: #D89B4A;
    --fs-focus: #8EB2A0;
  }
}
:root[data-fs-site='productions'][data-fs-mode='dark'] {
  color-scheme: dark;
  --fs-hero: #013C5A;
  --fs-text: #FCF3E4;
  --fs-muted: #D2C5B2;
  --fs-muted-warm: #D2C5B2;
  --fs-sage-text: #8EB2A0;
  --fs-accent: #D7AC9C;
  --fs-accent-line: #D7AC9C;
  --fs-rule: rgba(252, 243, 228, 0.18);
  --fs-control: #A39A90;
  --fs-control-warm: #A39A90;
  --fs-bg: #011A28;
  --fs-raised: #013C5A;
  --fs-band: #012A3F;
  --fs-band-soft: #012A3F;
  --fs-heading: #A8B9C0;
  --fs-link: #A8B9C0;
  --fs-link-hover: #D89B4A;
  --fs-focus: #A8B9C0;
}
:root[data-fs-site='consulting'][data-fs-mode='dark'] {
  color-scheme: dark;
  --fs-hero: #442827;
  --fs-text: #FCF3E4;
  --fs-muted: #D2C5B2;
  --fs-muted-warm: #D2C5B2;
  --fs-sage-text: #8EB2A0;
  --fs-accent: #D7AC9C;
  --fs-accent-line: #D7AC9C;
  --fs-rule: rgba(252, 243, 228, 0.18);
  --fs-control: #A39A90;
  --fs-control-warm: #A39A90;
  --fs-bg: #2B1917;
  --fs-raised: #442827;
  --fs-band: #38211F;
  --fs-band-soft: #38211F;
  --fs-heading: #FCF3E4;
  --fs-link: #FCF3E4;
  --fs-link-hover: #D7AC9C;
  --fs-focus: #D7AC9C;
}
:root[data-fs-site='studio'][data-fs-mode='dark'] {
  color-scheme: dark;
  --fs-hero: #183425;
  --fs-text: #FCF3E4;
  --fs-muted: #D2C5B2;
  --fs-muted-warm: #D2C5B2;
  --fs-sage-text: #8EB2A0;
  --fs-accent: #D7AC9C;
  --fs-accent-line: #D7AC9C;
  --fs-rule: rgba(252, 243, 228, 0.18);
  --fs-control: #A39A90;
  --fs-control-warm: #A39A90;
  --fs-bg: #0B1A12;
  --fs-raised: #183425;
  --fs-band: #12271B;
  --fs-band-soft: #12271B;
  --fs-heading: #8EB2A0;
  --fs-link: #8EB2A0;
  --fs-link-hover: #D89B4A;
  --fs-focus: #8EB2A0;
}

/* The page and links with no colour of their own. */
body { background: var(--fs-bg) !important; color: var(--fs-text); }
a:not([class]):not([style*="color"]) { color: var(--fs-link) !important; }
a:not([class]):not([style*="color"]):hover { color: var(--fs-link-hover) !important; }
:focus-visible { outline-color: var(--fs-focus) !important; }

/* Inline colours onto tokens. */
[style*="background: #FCF3E4" i],
[style*="background:#FCF3E4" i],
[style*="background: rgb(252, 243, 228)" i],
[style*="background:rgb(252, 243, 228)" i] {
  background: var(--fs-bg) !important;
}
[style*="background: #FFFDF8" i],
[style*="background:#FFFDF8" i],
[style*="background: rgb(255, 253, 248)" i],
[style*="background:rgb(255, 253, 248)" i] {
  background: var(--fs-raised) !important;
}
[style*="background: #F3E1D3" i],
[style*="background:#F3E1D3" i],
[style*="background: rgb(243, 225, 211)" i],
[style*="background:rgb(243, 225, 211)" i] {
  background: var(--fs-band) !important;
}
[style*="background: #F3E6D2" i],
[style*="background:#F3E6D2" i],
[style*="background: rgb(243, 230, 210)" i],
[style*="background:rgb(243, 230, 210)" i] {
  background: var(--fs-band-soft) !important;
}
[style*="background: #F6EBDA" i],
[style*="background:#F6EBDA" i],
[style*="background: rgb(246, 235, 218)" i],
[style*="background:rgb(246, 235, 218)" i] {
  background: var(--fs-band-soft) !important;
}
[style*="color: #442827" i]:not([style*="background-color"]),
[style*="color:#442827" i]:not([style*="background-color"]),
[style*="color: rgb(68, 40, 39)" i]:not([style*="background-color"]),
[style*="color:rgb(68, 40, 39)" i]:not([style*="background-color"]) {
  color: var(--fs-text) !important;
}
[style*="color: #013C5A" i]:not([style*="background-color"]),
[style*="color:#013C5A" i]:not([style*="background-color"]),
[style*="color: rgb(1, 60, 90)" i]:not([style*="background-color"]),
[style*="color:rgb(1, 60, 90)" i]:not([style*="background-color"]) {
  color: var(--fs-heading) !important;
}
[style*="color: #183425" i]:not([style*="background-color"]),
[style*="color:#183425" i]:not([style*="background-color"]),
[style*="color: rgb(24, 52, 37)" i]:not([style*="background-color"]),
[style*="color:rgb(24, 52, 37)" i]:not([style*="background-color"]) {
  color: var(--fs-heading) !important;
}
[style*="color: #506C60" i]:not([style*="background-color"]),
[style*="color:#506C60" i]:not([style*="background-color"]),
[style*="color: rgb(80, 108, 96)" i]:not([style*="background-color"]),
[style*="color:rgb(80, 108, 96)" i]:not([style*="background-color"]) {
  color: var(--fs-sage-text) !important;
}
[style*="color: #545D61" i]:not([style*="background-color"]),
[style*="color:#545D61" i]:not([style*="background-color"]),
[style*="color: rgb(84, 93, 97)" i]:not([style*="background-color"]),
[style*="color:rgb(84, 93, 97)" i]:not([style*="background-color"]) {
  color: var(--fs-muted) !important;
}
[style*="color: #6D413E" i]:not([style*="background-color"]),
[style*="color:#6D413E" i]:not([style*="background-color"]),
[style*="color: rgb(109, 65, 62)" i]:not([style*="background-color"]),
[style*="color:rgb(109, 65, 62)" i]:not([style*="background-color"]) {
  color: var(--fs-muted-warm) !important;
}
[style*="color: #B05B34" i]:not([style*="background-color"]),
[style*="color:#B05B34" i]:not([style*="background-color"]),
[style*="color: rgb(176, 91, 52)" i]:not([style*="background-color"]),
[style*="color:rgb(176, 91, 52)" i]:not([style*="background-color"]) {
  color: var(--fs-accent) !important;
}
[style*="color: #954724" i]:not([style*="background-color"]),
[style*="color:#954724" i]:not([style*="background-color"]),
[style*="color: rgb(149, 71, 36)" i]:not([style*="background-color"]),
[style*="color:rgb(149, 71, 36)" i]:not([style*="background-color"]) {
  color: var(--fs-accent) !important;
}
[style*="border"][style*="solid #D2C5B2" i],
[style*="border"][style*="solid rgb(210, 197, 178)" i],
[style*="border"][style*="dashed #D2C5B2" i],
[style*="border"][style*="dashed rgb(210, 197, 178)" i] {
  border-color: var(--fs-rule) !important;
}
[style*="border"][style*="solid #545D61" i],
[style*="border"][style*="solid rgb(84, 93, 97)" i],
[style*="border"][style*="dashed #545D61" i],
[style*="border"][style*="dashed rgb(84, 93, 97)" i] {
  border-color: var(--fs-control) !important;
}
[style*="border"][style*="solid #7A6A5E" i],
[style*="border"][style*="solid rgb(122, 106, 94)" i],
[style*="border"][style*="dashed #7A6A5E" i],
[style*="border"][style*="dashed rgb(122, 106, 94)" i] {
  border-color: var(--fs-control-warm) !important;
}
[style*="border"][style*="solid #B05B34" i],
[style*="border"][style*="solid rgb(176, 91, 52)" i],
[style*="border"][style*="dashed #B05B34" i],
[style*="border"][style*="dashed rgb(176, 91, 52)" i] {
  border-color: var(--fs-accent-line) !important;
}
[style*="border"][style*="solid #183425" i],
[style*="border"][style*="solid rgb(24, 52, 37)" i],
[style*="border"][style*="dashed #183425" i],
[style*="border"][style*="dashed rgb(24, 52, 37)" i] {
  border-color: var(--fs-heading) !important;
}
[style*="border"][style*="solid #442827" i],
[style*="border"][style*="solid rgb(68, 40, 39)" i],
[style*="border"][style*="dashed #442827" i],
[style*="border"][style*="dashed rgb(68, 40, 39)" i] {
  border-color: var(--fs-text) !important;
}
[style*="outline"][style*="solid #013C5A" i],
[style*="outline"][style*="solid rgb(1, 60, 90)" i],
[style*="outline"][style*="dashed #013C5A" i],
[style*="outline"][style*="dashed rgb(1, 60, 90)" i] {
  outline-color: var(--fs-focus) !important;
}
[style*="outline"][style*="solid #442827" i],
[style*="outline"][style*="solid rgb(68, 40, 39)" i],
[style*="outline"][style*="dashed #442827" i],
[style*="outline"][style*="dashed rgb(68, 40, 39)" i] {
  outline-color: var(--fs-focus) !important;
}

/* The hero banner (a page's first section, filled, with Ghost Light text) is the site's
   primary dark in both modes (Kendal, 2026-10-27). */
main > section:first-of-type[style*='background'][style*='color: #FCF3E4' i] { background: var(--fs-hero) !important; }

/* Brand fills stay in both modes; their text is fixed to pass AA.
   Marquee as small text on the dark heroes is Lifted Marquee, and text on
   a Marquee fill is Deepened Ink (both locked 2026-09-17). */
[style*="color: #CA822E" i]:not([style*="background-color"]), [style*="color:#CA822E" i]:not([style*="background-color"]), [style*="color: rgb(202, 130, 46)" i]:not([style*="background-color"]), [style*="color:rgb(202, 130, 46)" i]:not([style*="background-color"]) { color: #D89B4A !important; }
[style*="background: #CA822E" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background: #CA822E" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background: #CA822E" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: #CA822E" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:#CA822E" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background:#CA822E" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background:#CA822E" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:#CA822E" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: rgb(202, 130, 46)" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background: rgb(202, 130, 46)" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background: rgb(202, 130, 46)" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: rgb(202, 130, 46)" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:rgb(202, 130, 46)" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background:rgb(202, 130, 46)" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background:rgb(202, 130, 46)" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:rgb(202, 130, 46)" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]) { color: #2B1917 !important; }
[style*="background: #B05B34" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background: #B05B34" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background: #B05B34" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: #B05B34" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:#B05B34" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background:#B05B34" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background:#B05B34" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:#B05B34" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: rgb(176, 91, 52)" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background: rgb(176, 91, 52)" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background: rgb(176, 91, 52)" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background: rgb(176, 91, 52)" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:rgb(176, 91, 52)" i][style*="color: #FCF3E4" i]:not([style*="background-color"]), [style*="background:rgb(176, 91, 52)" i][style*="color:#FCF3E4" i]:not([style*="background-color"]), [style*="background:rgb(176, 91, 52)" i][style*="color: rgb(252, 243, 228)" i]:not([style*="background-color"]), [style*="background:rgb(176, 91, 52)" i][style*="color:rgb(252, 243, 228)" i]:not([style*="background-color"]) { color: #FFFFFF !important; }

/* Consulting's own stylesheet reads --ksw-* (the KSW form styles). */
:root[data-fs-site='consulting'] {
  --ksw-bg: var(--fs-bg);
  --ksw-bg-raised: var(--fs-raised);
  --ksw-text: var(--fs-text);
  --ksw-text-headline: var(--fs-heading);
  --ksw-muted: var(--fs-muted-warm);
  --ksw-rule: var(--fs-rule);
  --ksw-accent-text: var(--fs-heading);
}
.skip-link { background: var(--fs-bg) !important; color: var(--fs-text) !important; border-color: var(--fs-text) !important; }
.inquiry-steps { background: var(--fs-band-soft) !important; }
.step-num { color: var(--fs-accent) !important; }

/* The link cards on /connect and /links. */
.hf-card { background: var(--fs-raised) !important; border-color: var(--fs-rule) !important; color: var(--fs-heading) !important; }
.hf-card:hover { border-color: var(--fs-link-hover) !important; color: var(--fs-heading) !important; }
.hf-card-line { color: var(--fs-muted) !important; }
