/* =============================================================================
   F One Brand Kit v.2.3 layer (Review Draft, 27th November 2026)
   =============================================================================
   Source: F One Brand Kit v.2.3, Knowledge Base 02 Brand Assets, updated
   11th November 2026. Lee, 27th November 2026: every page except the
   equipment pages to follow the kit, navy and white throughout.

   Loaded last (templates/base.html). Works with _build/brandkit.py, which
   rewrites the built copies of the mirrored stylesheets so service colours
   become navy surfaces and adaptive text (--accent-ink / --ink-navy /
   --ink-black), and tags heading full stops as .fone-dot.

   Kit rules applied here:
   - Colour: lead with F One Navy #004269 and white; F One Black #363636 for
     supporting text; F One Orange #F06120 only for focused accents (heading
     full stop, eyebrows, main call to action). Service colours only in
     their own circular icons.
   - Type: Futura Bold for primary titles and headings (h1, h2), Proxima Nova
     Semibold for secondary headings (h3 to h6), Proxima Nova Regular for
     body, labels and captions. No letter spacing anywhere; eyebrows are
     ALL CAPS Semibold with no letter spacing.
   - Reverse text on navy: white headings, Border #D5E0E6 body, Navy Tint
     #95B1C1 captions.
   - Flat surfaces: no gradients or soft shadows, 10px corners on cards.
   Futura is not yet in the site's Adobe Fonts kit (bkd6sdv); until
   futura-pt is added, headings fall back to Proxima Nova Bold except where
   Futura is installed locally.
   ========================================================================== */

:root {
  --fk-navy: #004269;
  --fk-navy-panel: #0A5580;
  --fk-navy-tint: #95B1C1;
  --fk-orange: #F06120;
  --fk-black: #363636;
  --fk-slate: #607887;
  --fk-border: #D5E0E6;
  --fk-panel: #EEF5F8;
  --fk-pale: #F7FAFB;
  --fk-display: "futura-pt", Futura, "Futura PT", "Futura Bold", proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --fk-text: proxima-nova, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* adaptive inks, flipped to white on navy surfaces by brandkit.py */
  --accent-ink: #004269;
  --ink-navy: #004269;
  --ink-black: #363636;

  /* chrome tokens onto the kit */
  --brand-body-text: #363636;
  --body-text: #363636;
  --brand-surface-deep: #004269;
  --brand-panel: #0A5580;
  --brand-header-bg-mobile: #004269;
  --brand-btn-bg: #F06120;
  --brand-btn-bg-hover: #004269;
  --brand-border: #D5E0E6;
  --brand-rule: #D5E0E6;
}

/* ---------------------------------------------------------------- type */
body { color: var(--fk-black); font-family: var(--fk-text); }
body, body * { letter-spacing: 0 !important; }

h1, h2,
.site-main :is(h1, h2).gb-headline,
.site-main :is(h1, h2).wp-block-heading {
  font-family: var(--fk-display) !important;
  font-weight: 700 !important;
}
:is(h3, h4, h5, h6) {
  font-family: var(--fk-text) !important;
  font-weight: 600 !important;
}
mark { background: none; color: inherit; }

/* Eyebrow and field labels: Semibold, ALL CAPS, no letter spacing, orange */
.latest-post-meta, .post-card-meta {
  font-weight: 600 !important;
  color: var(--fk-orange) !important;
}

/* ---------------------------------------------------------------- colour */
/* The service page accent drives bands, cards, accordions and buttons on
   service and partner pages: every one of them becomes navy. */
body[style*="--service-accent"] { --service-accent: #004269 !important; }

/* Header bar, social rail and footer icons behave as on the homepage
   (orange call to action), not per service. */
.site-header, .site-header *, .f-one-social-buttons, .f-one-social-buttons *, .site-footer, .site-footer * {
  --service-accent: initial !important;
}

/* Partner and product card colours (--fone-brand) become navy */
[style*="--fone-brand"] { --fone-brand: #004269 !important; --fone-brand-ink: #ffffff !important; }

/* Highlighted words: service colours never on text. Navy on light,
   white on navy. */
.has-blue-color, .has-yellow-color, .has-green-color, .has-purple-color,
.has-pink-color, .has-red-color, .has-wsa-green-color, .has-gold-color,
.has-smart-red-color, .has-highligh-marketing-color,
.has-connectivity-orange-color, .has-accent-color {
  color: var(--accent-ink, #004269) !important;
}
.has-secondary-color { color: var(--ink-navy, #004269) !important; }
.has-text-black-color { color: var(--ink-black, #363636) !important; }

.has-blue-background-color, .has-yellow-background-color, .has-green-background-color,
.has-purple-background-color, .has-pink-background-color, .has-wsa-green-background-color,
.has-gold-background-color, .has-smart-red-background-color,
.has-highligh-marketing-background-color, .has-connectivity-orange-background-color {
  background-color: #0A5580 !important;
  --accent-ink: #fff; --ink-navy: #fff; --ink-black: #fff;
}

/* Page-accent heading words (style.css colours the last mark with the
   accent) follow the surface instead. */
body[style*="--service-accent"] :is(h1, h2, h3, h4) mark:last-child:not(.fone-dot) {
  color: var(--accent-ink, #004269) !important;
}

/* Heading full stop: F One Orange on every surface. Specificity beats the
   per-heading white-dot exceptions in style.css. */
:root body mark.fone-dot.fone-dot.fone-dot.fone-dot { color: var(--fk-orange) !important; }

/* Reverse text on navy: body copy in Border, captions in Navy Tint */
.fone-section.bg-brand p, .fone-contact-card p { color: var(--fk-border); }
.fone-section.bg-brand, .fone-contact-card { --accent-ink: #fff; --ink-navy: #fff; --ink-black: #fff; }

/* ---------------------------------------------------------------- buttons */
/* Main call to action is F One Orange; on hover it turns navy (white text). */
.fone-cta-btn { --fone-brand: #F06120 !important; --fone-brand-ink: #ffffff !important; }
.fone-section.bg-brand .fone-cta-btn,
.fone-contact-card .fone-cta-btn { color: var(--fk-navy) !important; background: #fff !important; }

/* ---------------------------------------------------------------- surfaces */
/* Tint bands use the kit's Pale Panel rather than an off-palette grey */
.fone-section.bg-tint { background: var(--fk-pale) !important; }

/* Footer and mega-menu: flat navy, no gradients */
.site-footer { background: var(--fk-navy) !important; background-image: none !important; }
.site-footer, .site-footer p, .site-footer li { color: var(--fk-border); }
.site-footer a { color: #fff; }
.site-footer .site-info, .site-footer small { color: var(--fk-navy-tint); }

/* Cyber Essentials Readiness Assessment (IT Essentials): navy, not the
   IT Essentials purple, on the panel, questions and options */
.ce-quiz-panel {
  --ce-purple: #004269;
  --ce-purple-light: #EEF5F8;
  --ce-yellow: #F06120;
  --ce-accent: #004269;
  --ce-accent-text: #004269;
  --ce-option-bg: #F7FAFB;
  --ce-border: #D5E0E6;
  --accent-ink: #004269; --ink-navy: #004269; --ink-black: #363636;
}

/* Headings are F One Navy on light surfaces and white on navy, whatever
   colour the block was authored in (black, orange or a service colour). */
.site-main :is(h1, h2, h3, h4) { color: var(--ink-navy, #004269) !important; }
.site-main :is(h1, h2, h3, h4) mark:is(.has-text-black-color, .has-secondary-color, .has-black-color) { color: var(--ink-navy, #004269) !important; }

/* Header phone number: orange on every page, as on the homepage */
body { --site-phone-color: #F06120 !important; }

/* Testimonial quotes: a flat card in the reverse of the band it sits on,
   navy on white, white on navy (never an orange panel) */
:root { --ink-inverse: #fff; }
.f_one_testimonial blockquote.has-background {
  background-color: var(--accent-ink, #004269) !important;
}
.f_one_testimonial blockquote.has-background,
.f_one_testimonial blockquote.has-background * {
  color: var(--ink-inverse, #fff) !important;
}

/* Blog posts: a paragraph that is nothing but bold text is a section
   heading in the post, so it reads as a Secondary Heading (Proxima Nova
   Semibold, F One Navy) rather than bold body copy. Wording unchanged. */
.post-body p.fone-post-subhead { color: var(--fk-navy); font-size: 1.2rem; line-height: 1.3; margin-top: 28px; }
.post-body p.fone-post-subhead strong { font-weight: 600; }
.post-body :is(h2, h3, h4) { color: var(--fk-navy) !important; }

/* Flat type: no text shadows */
.site-main *, .site-header * { text-shadow: none !important; }

/* Mega-menu: chevrons are interface, so Slate Grey rather than the
   service colour; the service colour stays in each card's icon. */
.mega-float-chevron, .mega-float-nested-chevron { color: var(--fk-slate) !important; }

/* Homepage service cards: hover fill is navy, not the service colour */
.our-services-slider .wp-block-cb-slide > .gb-container { --card-bg: #004269 !important; }

/* Navy and dark preset backgrounds set by class (brand.css, which the build
   pass leaves alone) also flip headings and highlighted words to white. */
:is(.has-secondary-background-color, .has-text-black-background-color, .has-black-background-color) {
  --accent-ink: #fff; --ink-navy: #fff; --ink-black: #fff; --ink-inverse: #004269;
}
