/* Full Bore Solutions — production styles.
   Tokens: docs/openui/style-guide.json (brand-tokens.json lineage).
   Layout rules: docs/openui/DESIGN.md. */

@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/barlow-condensed-600-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/barlow-condensed-700-latin.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/barlow-condensed-800-latin.woff2") format("woff2"); }

:root {
  --navy: #14294D;
  --navy-600: #1B3A6B;
  --navy-deep: #0C1A33;
  --cream: #F5F1E6;
  --cream-200: #EAE3D2;
  --white: #FFFFFF;
  --flag: #B22234;
  --flag-700: #8E1B2A;
  --charcoal: #1C1F24;
  --steel: #5A6472;
  --radius-card: 8px;
  --maxw: 1240px;
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--charcoal);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

/* ---- type ---- */
h1, h2, h3, .btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--navy);
}
h1 { font-size: clamp(44px, 6.5vw, 72px); font-weight: 800; line-height: 0.95; margin: 0; }
h2 { font-size: clamp(30px, 4.5vw, 48px); font-weight: 700; line-height: 1; margin: 0; }
h3 { font-size: 24px; font-weight: 700; margin: 0; }
p { margin: 0 0 1em; }
.rule { width: 48px; height: 4px; background: var(--flag); border: 0; margin: 0 0 20px; }
.subline { font-family: var(--font-display); text-transform: uppercase; font-weight: 600; letter-spacing: 0.04em; color: var(--cream); }
.lead { font-size: 18px; line-height: 1.6; }
.muted { color: var(--steel); }
.on-navy .muted { color: rgba(245,241,230,.75); }

/* ---- buttons ---- */
.btn {
  display: inline-block; border-radius: 9999px; padding: 14px 30px;
  font-size: 18px; font-weight: 700; text-decoration: none; line-height: 1.1;
}
.btn-primary { background: var(--navy); color: var(--cream); border: 2px solid var(--navy); }
.btn-primary:hover, .btn-primary:focus-visible { background: var(--flag); border-color: var(--flag); color: var(--white); }
.btn-dark-primary { background: var(--cream); color: var(--navy); border: 2px solid var(--cream); }
.btn-dark-primary:hover, .btn-dark-primary:focus-visible { background: var(--white); border-color: var(--white); }
.btn-ghost { border: 2px solid rgba(255,255,255,.4); color: var(--white); background: transparent; padding: 12px 28px; }
.btn-ghost:hover, .btn-ghost:focus-visible { border-color: var(--flag); }
:focus-visible { outline: 3px solid var(--flag); outline-offset: 3px; }

/* ---- header ---- */
.site-header { background: var(--navy); color: var(--white); position: relative; z-index: 100; }
.site-header .wrap { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; border-radius: 6px; }
.site-nav { display: flex; gap: 22px; margin-left: auto; }
.site-nav a {
  font-family: var(--font-display); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.05em; font-size: 17px; color: rgba(255,255,255,.82);
  text-decoration: none; padding: 4px 0; border-bottom: 3px solid transparent;
}
.site-nav a:hover, .site-nav a:focus-visible { color: var(--white); }
.site-nav a[aria-current] { color: var(--white); border-bottom-color: var(--flag); }

/* Mobile menu: pure-CSS checkbox toggle, keeping the no-JS policy for the
   nav; the checked state resets on every navigation anyway. The checkbox
   stays keyboard-focusable (Space toggles), the burger is its painted face
   (click toggles via the label). Breakpoint matches the 768px band rules. */
.nav-toggle { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.nav-burger { display: none; }
@media (max-width: 767px) {
  .brand img { height: 44px; }
  .nav-burger {
    display: block; width: 44px; height: 44px; margin-left: auto; cursor: pointer; border-radius: 6px;
    background: linear-gradient(var(--white), var(--white)) 9px 12px / 26px 3px no-repeat,
                linear-gradient(var(--white), var(--white)) 9px 20px / 26px 3px no-repeat,
                linear-gradient(var(--white), var(--white)) 9px 28px / 26px 3px no-repeat;
  }
  .nav-toggle:focus-visible ~ .nav-burger { outline: 2px solid var(--flag); outline-offset: 3px; }
  .nav-toggle:checked ~ .nav-burger { background-color: rgba(255,255,255,.08); }
  .site-nav { display: none; }
  .nav-toggle:checked ~ .site-nav {
    display: flex; position: absolute; top: 100%; left: 0; right: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; gap: 2px;
    padding: 8px 16px 14px; background: var(--navy);
    box-shadow: 0 14px 22px rgba(0,0,0,.35);
  }
  .site-nav a { padding: 12px 6px; font-size: 19px; }
}

/* ---- bands ---- */
.band { padding: 64px 0; }
@media (min-width: 768px) { .band { padding: 96px 0; } }
.band-navy { background: var(--navy); color: rgba(255,255,255,.9); }
.band-navy h1, .band-navy h2, .band-navy h3 { color: var(--white); }
.band-cream { background: var(--cream); }
.band-white { background: var(--white); }
.split { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .split { grid-template-columns: 7fr 5fr; gap: 56px; align-items: center; }
  .split.flip > :first-child { order: 2; }
  .split-66 { grid-template-columns: 1fr 1fr; gap: 48px; }
}
.band-photo img { border-radius: var(--radius-card); width: 100%; object-fit: cover; aspect-ratio: 3 / 2; }

/* Home hero video (client kit; docs/log.md 2026-10-30). The loop plays
   full-bleed behind the hero band; the approved split layout (photo card
   left, text right) stays in flow ON TOP of it — an earlier absolute photo
   painted over the text and was reverted. The section paints the poster
   first, so reduced motion and no-codec browsers keep a still;
   <source media> keeps one aspect on the wire. Scrim is darkest on the
   text side to hold headline contrast. */
.hero-vid { position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; min-height: 58vh;
  background: var(--navy) url(../video/header_16x9_poster.jpg) center/cover no-repeat; }
.hero-vid .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero-vid::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(12,26,51,.72) 0%, rgba(12,26,51,.68) 45%, rgba(12,26,51,.92) 100%),
              linear-gradient(180deg, rgba(12,26,51,.55) 0%, rgba(12,26,51,.25) 40%, rgba(12,26,51,.72) 100%); }
.hero-vid .wrap { position: relative; z-index: 2; width: 100%; }
/* Hero card now carries the brand logo (square PNG): contain + cream mat keeps
   the wordmark whole in the same 3:2 slot the jet photo used. */
.hero-vid .band-photo img { object-fit: contain; background: var(--cream); }
@media (max-width: 767px) {
  .hero-vid { min-height: 0; }
  .hero-vid::before { background: rgba(12,26,51,.85); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-vid .hero-bg { display: none; }
}

/* Sub-page hero flag A/B (owner call 2026-11-02): the same loop+scrim
   pattern as .hero-vid, but a flat vertical scrim because these bands
   center their text. Phones/reduced-motion fall back to poster/navy. */
.band-flag { position: relative; overflow: hidden; isolation: isolate; }
.band-flag .flag-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.band-flag::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(12,26,51,.62) 0%, rgba(12,26,51,.72) 100%); }
.band-flag > .wrap { position: relative; z-index: 2; }
@media (max-width: 767px) { .band-flag::before { background: rgba(12,26,51,.85); } }
@media (prefers-reduced-motion: reduce) { .band-flag .flag-bg { display: none; } }

/* ---- trust strip ---- */
.trust { background: var(--white); border-bottom: 1px solid rgba(20,41,77,.1); padding: 28px 0; }
.trust .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.trust img { height: 72px; }
.trust h2 { font-size: clamp(22px, 3vw, 30px); text-align: center; }
.trust .muted { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: 15px; }

/* ---- check list ---- */
.checks { list-style: none; margin: 20px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks li::before { content: ""; width: 18px; height: 3px; background: var(--flag); flex: none; transform: translateY(-4px); }

/* ---- category grid ---- */
.cat-grid { list-style: none; margin: 28px 0 12px; padding: 0; display: grid; gap: 14px; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: 1fr 1fr; } }
.cat-grid li {
  background: var(--white); border: 1px solid rgba(20,41,77,.15);
  border-radius: var(--radius-card); padding: 18px 20px;
}
.cat-grid h3 { font-size: 21px; }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }

/* ---- chips ---- */
.chips { list-style: none; margin: 26px 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chips li {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
  font-size: 17px; color: var(--navy); border: 2px solid var(--navy);
  border-radius: 9999px; padding: 8px 22px;
}
.chips li.hl { background: var(--navy); color: var(--white); }
.serve { text-align: center; }

/* ---- quote band ---- */
.quote-band { position: relative; isolation: isolate; background: var(--navy); color: var(--white); overflow: hidden; padding: 72px 0; }
.quote-band .bg { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.quote-band blockquote { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: clamp(24px, 3.2vw, 38px); line-height: 1.18; color: var(--cream); }
.quote-band .mark { width: 52px; height: auto; margin-bottom: 18px; }
.quote-band cite { display: block; margin-top: 26px; font-style: normal; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--cream); }

/* ---- cert band ---- */
.cert .wrap { display: grid; gap: 32px; align-items: center; }
.badges { display: flex; gap: 22px; justify-content: center; }
.badges img { height: 150px; background: var(--white); border-radius: var(--radius-card); padding: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.18); }

/* ---- about page ---- */
.callout {
  background: var(--white); border-left: 5px solid var(--flag); border-radius: 0 var(--radius-card) var(--radius-card) 0;
  padding: 18px 22px; margin: 28px 0; box-shadow: 0 1px 3px rgba(0,0,0,.08);
}
.callout p { margin: 0; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; color: var(--navy); font-size: 21px; }
.logo-card { background: var(--white); border-radius: var(--radius-card); padding: 28px; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.12); }
.logo-card img.hero-logo { width: min(320px, 80%); margin: 0 auto; }
.logo-card hr { border: 0; border-top: 1px solid rgba(20,41,77,.12); margin: 22px 0; }
.values { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 560px) { .values { grid-template-columns: 1fr 1fr; } }
.values li { background: var(--white); border: 1px solid rgba(20,41,77,.15); border-radius: var(--radius-card); padding: 16px 18px; }
.pull { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .pull { grid-template-columns: 5fr 7fr; } }
.pull blockquote { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.22; color: var(--navy); }
.pull cite { display: block; margin-top: 18px; font-style: normal; color: var(--flag); font-family: var(--font-display); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; font-size: 15px; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }

/* ---- contact page ---- */
.deflist { margin: 30px 0; }
.deflist > div { border-top: 1px solid rgba(20,41,77,.18); padding: 16px 0; display: grid; grid-template-columns: 110px 1fr; gap: 18px; }
.deflist > div:last-child { border-bottom: 1px solid rgba(20,41,77,.18); }
.deflist dt { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--navy); }
.deflist dd { margin: 0; }
.contact-badges img { height: 92px; background: var(--white); border: 1px solid rgba(20,41,77,.15); border-radius: var(--radius-card); padding: 8px; }
.form-card { background: var(--white); border: 1px solid rgba(20,41,77,.15); border-radius: var(--radius-card); padding: 30px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 5fr 7fr; align-items: start; } }
form label { display: block; font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--navy); margin: 22px 0 8px; }
form label:first-child { margin-top: 0; }
.req { color: var(--flag); }
.opt-note { color: var(--steel); font-family: var(--font-body); font-weight: 400; text-transform: none; letter-spacing: 0; font-size: 14px; }
input, textarea {
  width: 100%; font: inherit; color: var(--charcoal);
  background: var(--cream-200); border: 1px solid rgba(20,41,77,.25);
  border-radius: 6px; padding: 12px 14px;
}
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--navy-600); outline-offset: 1px; background: var(--white); }
textarea { min-height: 140px; resize: vertical; }
.form-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 24px; gap: 16px; }

/* ---- photo strips (SLD-family section dividers) ---- */
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px; }
.photo-strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 900px) {
  .photo-strip { grid-template-columns: repeat(4, 1fr); }
  .photo-strip.s6 { grid-template-columns: repeat(6, 1fr); }
}
.photo-strip.s6 img { aspect-ratio: 1 / 1; }

/* ---- interior centered hero (capabilities / resources) ---- */
.band-center .wrap { max-width: 880px; text-align: center; }
.band-center .rule { margin-inline: auto; }
.vehicles { font-family: var(--font-display); text-transform: uppercase; font-weight: 700; letter-spacing: .06em; color: var(--flag); margin: 18px 0 0; }

/* ---- capability keyword grid: centered hairline rows (SLD pattern) ----
   flex-wrap, not a 3-col grid: the owner-editable keyword count is odd
   (5 since the Prime Vendor Sales drop), and a grid leaves a lopsided
   hole in the last row. Items keep exact third-width cells so full rows
   land on the same hairlines; a short last row centers. */
.keywords { list-style: none; margin: 28px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0 32px; }
.keywords li { flex: 1 1 100%; }
@media (min-width: 700px) { .keywords li { flex: 0 0 calc((100% - 64px) / 3); } }
.keywords li {
  text-align: center; font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: .03em; color: var(--navy);
  font-size: 17px; padding: 10px 0; border-top: 1px solid rgba(20,41,77,.12);
}

/* ---- red inline CTA link (SLD card footer) ---- */
.cta-link {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  letter-spacing: .05em; color: var(--flag); text-decoration: underline; text-underline-offset: 4px;
}
.cta-link:hover, .cta-link:focus-visible { color: var(--flag-700); }

/* ---- resources explainer cards ---- */
.explain-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .explain-grid { grid-template-columns: 1fr 1fr; gap: 40px; } }
.explain { background: var(--white); border: 1px solid rgba(20,41,77,.15); border-radius: var(--radius-card); padding: 30px; }
.explain h2 { font-size: clamp(24px, 3vw, 32px); }

/* ---- footer ---- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.8); border-left: 6px solid var(--navy-600); }
.site-footer .cols > div:nth-child(2) { text-align: center; }
.site-footer .cols > div:nth-child(2) .foot-logo { margin-inline: auto; }
.site-footer .foot-id { color: rgba(255,255,255,.6); font-size: 14px; }
.site-footer .foot-links { display: flex; gap: 18px; }
.site-footer .foot-credit a { color: var(--white); }
.site-footer .cols { display: grid; gap: 40px; padding: 56px 0 40px; }
@media (min-width: 900px) { .site-footer .cols { grid-template-columns: repeat(3, 1fr); } }
.site-footer h2 { color: var(--white); font-size: 22px; margin: 0 0 14px; }
.site-footer img { border-radius: 6px; }
.site-footer .foot-logo { width: 180px; }
.site-footer a { color: var(--white); text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 4px; }
.site-footer a:hover, .site-footer a:focus-visible { text-decoration-color: var(--white); }
.site-footer .foot-badges { display: flex; gap: 14px; }
.site-footer .foot-badges img { height: 84px; background: var(--white); padding: 6px; border-radius: 6px; }
.site-footer .fineprint { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.1); padding: 18px 0; font-size: 14px; color: rgba(255,255,255,.6); }

.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; clip: rect(0 0 0 0); overflow: hidden; }

/* ---- WordPress compatibility (added by the theme port) ------------------ */
/* The static build intentionally uses default browser link colors for
   in-content links (see the deflist mailto); keep that parity and only
   style links in WP-only surfaces. page.php content gets the flag-red
   accent so editor-added pages read on-brand. */

/* Generic page (page.php) editor content: spacing the bands don't set. */
.entry-content { max-width: 760px; }
.entry-content p, .entry-content ul, .entry-content ol { margin: 0 0 1em; }
.entry-content ul, .entry-content ol { padding-left: 22px; }
.entry-content h2, .entry-content h3 { margin: 1.4em 0 .5em; }
.entry-content a { color: var(--flag); }

/* index fallback list: links inherit the card heading style. */
.values a { color: inherit; text-decoration: underline; text-decoration-color: var(--flag); text-underline-offset: 3px; }

/* Form plugins (Fluent Forms / Contact Form 7) render their own submit
   buttons and validation chrome; map them onto the approved form look. */
.form-card input[type="submit"],
.form-card button[type="submit"],
.form-card .wpcf7-submit,
.form-card .wp-block-button__link,
.form-card .ff-btn-submit {
  font-family: var(--font-display); text-transform: uppercase; letter-spacing: .01em;
  background: var(--navy); color: var(--cream); border: 2px solid var(--navy);
  border-radius: 9999px; padding: 14px 30px; font-size: 18px; font-weight: 700;
  line-height: 1.1; cursor: pointer;
}
/* Fluent Forms also prints a per-form inline <style> that paints the submit
   button from --fluentform-primary, and being inline-printed it out-ranks the
   rule above. Re-declare at the plugin's own specificity so the approved
   button wins on its own merits, and point the plugin's variable at the
   palette so its focus rings and accents agree instead of fighting. */
.form-card { --fluentform-primary: var(--navy); }
.form-card form[class*="fluent_form_"] .ff-btn-submit:not(.ff_btn_no_style) {
  background-color: var(--navy); color: var(--cream);
}
.form-card form[class*="fluent_form_"] .ff-btn-submit:not(.ff_btn_no_style):hover,
.form-card form[class*="fluent_form_"] .ff-btn-submit:not(.ff_btn_no_style):focus-visible {
  background-color: var(--flag); border-color: var(--flag); color: var(--white);
}
.form-card input[type="submit"]:hover,
.form-card input[type="submit"]:focus-visible,
.form-card button[type="submit"]:hover,
.form-card button[type="submit"]:focus-visible,
.form-card .wpcf7-submit:hover,
.form-card .wp-block-button__link:hover,
.form-card .ff-btn-submit:hover { background: var(--flag); border-color: var(--flag); color: var(--white); }
.form-card form p { margin: 0; }
.form-card .wpcf7-not-valid-tip,
.form-card .wpcf7-response-output,
.form-card .ff-el-form-control.is-invalid { color: var(--flag); }

/* Logged-in preview: the admin bar sits above the navy header. */
.admin-bar .site-header { margin-top: 0; }

/* Red-on-red guard: the flag line sits on flag stripes inside band-flag. */
.band-flag .vehicles { color: var(--cream); }
