:root {
  color-scheme: dark;
  --ink: #f4f7fb;
  --ink-deep: #04182f;
  --green: #ef4444;
  --green-light: rgba(239, 68, 68, .17);
  --lime: #ffda56;
  --cream: rgba(8, 27, 48, .34);
  --paper: #061a30;
  --muted: #c3cfdd;
  --line: rgba(238, 245, 255, .2);
  --peach: #ef4444;
  --lavender: #315a90;
  --shadow: 0 22px 54px rgba(0, 0, 0, .26);
}

html { background: #061a30; }
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  color: #f2f6fb;
  background: #061a30;
}

/* A real, page-specific video stays behind the entire scrolling document. */
.page-video-backdrop {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  background: #061a30;
  pointer-events: none;
}
.page-video-backdrop .page-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.94) contrast(1.04);
}
.page-video-tint {
  position: absolute;
  inset: 0;
  display: block;
  /* Blue and warm-red tinting for the page-specific motion layer. */
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 218, 86, .16), transparent 28%),
    linear-gradient(112deg, rgba(11, 91, 174, .48) 0%, rgba(11, 91, 174, .40) 47%, rgba(8, 72, 133, .40) 53%, rgba(8, 72, 133, .48) 100%),
    linear-gradient(0deg, rgba(2, 15, 31, .34), rgba(2, 15, 31, .20));
}
.page-video-backdrop.is-static .page-video { filter: saturate(.88) contrast(1.02); }

/* Keep all site content above the fixed video layer. */
body > :not(.page-video-backdrop):not(script):not(.site-header):not(.skip-link) {
  position: relative;
  z-index: 1;
}
body > .announcement-bar { position: relative; z-index: 101; }
body > .site-header { position: sticky !important; top: 0; z-index: 100 !important; }
body > .skip-link { position: absolute; z-index: 200; }

.announcement-bar {
  color: #fff !important;
  background: rgba(208, 76, 25, .93) !important;
  border-bottom: 1px solid rgba(255, 218, 86, .48);
}
.announcement-inner a { color: var(--lime) !important; }
.site-header {
  color: #f4f7fb;
  background: rgba(8, 68, 133, .90) !important;
  border-bottom-color: rgba(222, 236, 253, .24) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, .14);
}
.primary-nav a { color: #eaf2fc !important; }
.primary-nav a:hover, .primary-nav a.is-current { color: #fff !important; }
.primary-nav a::after { background: var(--lime) !important; }
.site-header .header-cta,
.button-lime {
  color: #fff !important;
  background: var(--green) !important;
  box-shadow: 0 9px 24px rgba(239, 68, 68, .28);
}
.site-header .header-cta:hover,
.button-lime:hover { background: #ff5252 !important; }
.button-dark { color: #fff !important; background: #135aa2 !important; }
.button-dark:hover { background: #1c70c0 !important; }
.button-light { color: #102b4b !important; background: var(--lime) !important; }
.button-light:hover { background: #ffe582 !important; }
:focus-visible { outline-color: var(--lime) !important; }

/* Base section styling; the final palette rules below use solid blue text surfaces. */
main > section {
  color: #f2f6fb !important;
  background-color: rgba(10, 79, 150, .28) !important;
  background-image: none;
  border-color: rgba(232, 241, 252, .18);
}
main > section:nth-of-type(even) { background-color: rgba(8, 72, 133, .28) !important; }
main > section * { color: #edf3fa !important; }
main > section a:not(.button) { color: var(--lime) !important; }
main > section a:not(.button):hover { color: #ffda56 !important; }
main > section h1,
main > section h2,
main > section h3,
main > section h4 { color: #fff !important; }
main > section h1 em,
main > section h2 em,
main > section h3 em { color: var(--lime) !important; font-style: normal; }
main > section .eyebrow,
main > section .eyebrow-light { color: var(--lime) !important; }
main > section .eyebrow-dot { background: var(--green) !important; box-shadow: 0 0 0 4px rgba(239, 68, 68, .25) !important; }
main > section .section-heading-aside,
main > section .hero-description,
main > section .page-note,
main > section .page-hero-copy > p:not(.eyebrow),
main > section .journal-page-hero-copy > p:not(.eyebrow),
main > section .policy-hero-copy > p:last-child { color: #e0eaf5 !important; }
main > section .text-link { color: #fff !important; }
main > section .button { color: #fff !important; }

/* Real activity clips replace the former photo tiles throughout the site. */
.activity-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #08192a;
}
.hero-image-wrap .activity-video,
.page-hero-photo .activity-video,
.journal-page-hero-photo .activity-video,
.career-connection-art .activity-video,
.journal-home-feature-photo .activity-video,
.journal-home-card-photo .activity-video,
.mosaic-photo .activity-video,
.case-study-art .activity-video,
.audience-photo .activity-video {
  position: absolute;
  inset: 0;
}
.hero-image-wrap .activity-video { object-position: 58% center; }
.page-hero-photo .activity-video,
.journal-page-hero-photo .activity-video { min-height: 100%; }
.audience-photo .activity-video { object-position: center; }
.case-study-art .activity-video { z-index: 0; }
.activity-video.is-static { filter: saturate(.9); }

/* Dark neutral glass panels keep copy clear without making blue dominate. */
:is(
  .job-search, .jobs-live-search, .job-card, .feature-card, .process-card,
  .process-split-card, .story-card, .case-study-card, .case-study-body,
  .contact-form, .contact-email-card, .callout-note, .journal-home-feature,
  .journal-home-card, .journal-index-card, .journal-longread,
  .journal-article-rail, .policy-hero-card, .policy-toc, .policy-section,
  .recruiting-policy-preview-inner, .career-connection-panel, .partner-carousel,
  .empty-state, .live-search-field
) {
  color: #edf3fa !important;
  background: rgba(8, 18, 30, .78) !important;
  border-color: rgba(230, 240, 253, .22) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}
:is(
  .job-search, .jobs-live-search, .job-card, .feature-card, .process-card,
  .process-split-card, .story-card, .case-study-card, .case-study-body,
  .contact-form, .contact-email-card, .callout-note, .journal-home-feature,
  .journal-home-card, .journal-index-card, .journal-longread,
  .journal-article-rail, .policy-hero-card, .policy-toc, .policy-section,
  .recruiting-policy-preview-inner, .career-connection-panel, .partner-carousel,
  .empty-state, .live-search-field
) :is(h1, h2, h3, h4, p, li, small, strong, label, span, a, dt, dd, blockquote) {
  color: #eaf1fa !important;
}
:is(
  .job-search, .jobs-live-search, .job-card, .feature-card, .process-card,
  .process-split-card, .story-card, .case-study-card, .case-study-body,
  .contact-form, .contact-email-card, .callout-note, .journal-home-feature,
  .journal-home-card, .journal-index-card, .journal-longread,
  .journal-article-rail, .policy-hero-card, .policy-toc, .policy-section,
  .recruiting-policy-preview-inner, .career-connection-panel, .partner-carousel,
  .empty-state
) :is(a:not(.button), .feature-link, .job-enquiry-link, .journal-read-link, .journal-rail-link, .footer-email) {
  color: var(--lime) !important;
}

/* Keep the Orvanta mark and authorized company marks unchanged. */
.partner-logo { color: #102a48 !important; background: #f8fafc !important; border-color: rgba(255,255,255,.72) !important; }
.partner-logo * { color: #102a48 !important; }
.partner-lane-title, .partner-carousel-kicker, .partner-counter,
.partner-slide-heading h3, .partner-slide-heading > span { color: #edf4fc !important; }
.partner-arrow, .partner-rotation { color: #fff !important; background: #135aa2 !important; border-color: rgba(238,245,255,.28) !important; }
.partner-dot[aria-current="true"] { background: var(--green) !important; }

/* Accessible, high-contrast contact and job-search controls. */
.form-field label,
.form-heading h3,
.form-heading p,
.form-disclaimer,
.form-privacy-note,
.form-field-help,
.cv-file-status,
.consent-field label { color: #e5edf7 !important; }
.form-field input,
.form-field select,
.form-field textarea,
.search-control input,
.search-control select,
.live-search-field input {
  color: #f7f9fc !important;
  background: rgba(255, 255, 255, .075) !important;
  border-color: rgba(226, 238, 252, .28) !important;
}
.form-field input::placeholder,
.form-field textarea::placeholder,
.search-control input::placeholder,
.live-search-field input::placeholder { color: #c3d0df !important; }
.form-field select option { color: #f4f7fb; background: #092442; }
.form-field input[type="file"]::file-selector-button { color: #fff !important; background: var(--green) !important; }
.form-field input[type="file"]::file-selector-button:hover { background: #ff5252 !important; }
.form-status,
.form-status[data-state="info"],
.form-status[data-state="loading"] { color: #f4f7fb !important; background: rgba(15, 79, 145, .50) !important; }
.form-status[data-state="error"] { color: #fff !important; background: rgba(4, 24, 47, .56) !important; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus,
.live-search-field input:focus-visible { border-color: var(--lime) !important; box-shadow: 0 0 0 3px rgba(255, 218, 86, .2) !important; }
.consent-field input { accent-color: var(--lime) !important; }
.contact-email-icon { color: #102b4b !important; background: var(--lime) !important; }
.contact-email-card a,
.contact-linkedin-card strong { color: var(--lime) !important; }

.job-card, .feature-card, .process-card, .process-split-card,
.journal-index-card, .journal-article-rail, .policy-section { border-radius: 18px; }
.job-card-bottom, .journal-home-footnote { border-color: rgba(232, 241, 252, .18) !important; color: #c6d3e1 !important; }
.job-field, .job-details, .results-count, .search-control label,
.live-results-header > span, .filter-pill, .job-filter-chip,
.journal-meta, .journal-index-copy small, .policy-toc-note,
.policy-requirements li, .feature-index, .page-note { color: #c6d3e1 !important; }
.filter-pill, .job-filter-chip, .clear-job-filters {
  color: #e7eef8 !important;
  background: rgba(8, 37, 68, .85) !important;
  border-color: rgba(222, 236, 253, .26) !important;
}
.filter-pill.is-active { color: #fff !important; background: var(--green) !important; border-color: var(--green) !important; }
.job-symbol-green, .job-symbol-lime, .job-symbol-peach, .job-symbol-lavender {
  color: #fff !important;
  background: rgba(239, 68, 68, .30) !important;
  border: 1px solid rgba(255, 218, 86, .3);
}
.feature-icon, .process-icon { color: #fff !important; background: rgba(239, 68, 68, .30) !important; }
.feature-icon-lime, .process-icon-lime { color: #102b4b !important; background: var(--lime) !important; }
.feature-icon-peach, .process-icon-peach { color: #102b4b !important; background: #ef4444 !important; }
.story-card-featured { background: rgba(7, 38, 72, .84) !important; }
.story-card-featured p, .story-card p { color: #d6e0eb !important; }
.case-study-art strong, .story-number, .journal-index-number { color: var(--lime) !important; }
.policy-requirements li { background: rgba(12, 38, 65, .8) !important; border-left-color: var(--green) !important; }
.policy-contact-note { color: #fff !important; background: rgba(12, 54, 104, .88) !important; }
.audience-candidate .audience-photo::after { background: linear-gradient(90deg, rgba(9, 77, 151, .9), rgba(9, 77, 151, .72) 44%, rgba(3, 18, 36, .35)) !important; }
.audience-employer .audience-photo::after { background: linear-gradient(90deg, rgba(8, 72, 133, .9), rgba(8, 72, 133, .72) 44%, rgba(3, 18, 36, .35)) !important; }

.site-footer {
  color: #eaf1f8 !important;
  background: rgba(4, 18, 34, .94) !important;
  border-top: 1px solid rgba(239, 68, 68, .32);
}
.footer-brand-block > p, .footer-links a, .footer-email,
.footer-bottom { color: #c1ccda !important; }
.footer-links > span, .site-footer .brand-name { color: #f4f7fb !important; }
.footer-links a:hover, .footer-email:hover { color: var(--lime) !important; }
.footer-bottom { border-top-color: rgba(232, 242, 253, .18) !important; }

/* Hero copy and the new in-page video windows stay side by side on desktop. */
.hero-photo-section {
  display: flex;
  align-items: center;
  min-height: 72vh;
  min-height: calc(100svh - 114px);
  padding: 64px 0 46px;
}
.hero-photo-section .container { width: min(1180px, calc(100% - 48px)); }
.hero-photo-section .hero-grid { grid-template-columns: 1.04fr .96fr !important; gap: clamp(38px, 5.5vw, 78px); }
.hero-photo-section .hero-copy { max-width: 700px; padding: 0; }
.hero-photo-section .hero-copy h1 { max-width: 760px; font-size: clamp(51px, 6.6vw, 88px); }
.hero-photo-section .hero-description { max-width: 650px; color: #e0eaf5 !important; }
.hero-photo-section .hero-visual { display: block !important; }
.hero-photo-section .hero-image-wrap { height: clamp(330px, 42vw, 500px); border-radius: 25px; }
.page-hero-grid { grid-template-columns: 1.02fr .98fr !important; }
.page-hero-copy, .journal-page-hero-copy { max-width: 860px; }
.page-hero-photo, .journal-page-hero-photo { display: block !important; min-height: 360px; border-radius: 22px; }
.page-hero-photo .activity-video, .journal-page-hero-photo .activity-video { min-height: 360px; }
.page-hero, .journal-page-hero, .policy-hero {
  display: flex;
  align-items: center;
  min-height: 58vh;
  min-height: 58svh;
  padding-block: 68px;
}
.page-hero-copy h1, .journal-page-hero-copy h1, .policy-hero-copy h1 { max-width: 860px; font-size: clamp(46px, 5.7vw, 76px); }
.policy-hero-grid { grid-template-columns: 1.12fr .88fr; }
.career-connection-art { display: block !important; }
.career-connection-art .activity-video { min-height: 340px; }
.career-connection-panel { grid-template-columns: .92fr 1.08fr !important; }
.journal-home-feature-photo .activity-video,
.journal-home-card-photo .activity-video { transition: transform .45s ease; }
.journal-home-feature-photo:hover .activity-video,
.journal-home-card-photo:hover .activity-video { transform: scale(1.035); }
.mosaic-photo .activity-video { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.mosaic-photo:hover .activity-video { transform: scale(1.045); }

@media (max-width: 1020px) {
  .page-hero-grid, .journal-page-hero-grid { grid-template-columns: 1fr !important; }
  .hero-photo-section .hero-grid { gap: 30px; }
  .hero-photo-section .hero-visual { min-height: 420px; }
  .hero-photo-section .hero-image-wrap { height: 400px; }
}
@media (max-width: 760px) {
  .page-video-tint {
    background:
      radial-gradient(ellipse at 50% 9%, rgba(255, 218, 86, .14), transparent 26%),
      linear-gradient(105deg, rgba(11, 91, 174, .43) 0%, rgba(11, 91, 174, .35) 47%, rgba(8, 72, 133, .35) 53%, rgba(8, 72, 133, .43) 100%),
      linear-gradient(0deg, rgba(2, 15, 31, .4), rgba(2, 15, 31, .23));
  }
  .hero-photo-section {
    min-height: calc(100svh - 102px);
    padding: 46px 0 28px;
  }
  .hero-photo-section .container { width: min(calc(100% - 32px), 560px); }
  .hero-photo-section .hero-grid { grid-template-columns: 1fr !important; gap: 22px; }
  .hero-photo-section .hero-copy h1 { font-size: clamp(47px, 12vw, 72px); }
  .hero-photo-section .hero-visual { width: 100%; min-height: 0; margin: 0; padding: 0; }
  .hero-photo-section .hero-image-wrap { height: 275px; border-radius: 18px; }
  .hero-photo-section .hero-services-panel { position: relative; inset: auto; width: auto; max-width: none; margin: -22px 10px 0; }
  .page-hero, .journal-page-hero, .policy-hero { min-height: 0; padding-block: 46px; }
  .page-hero-grid, .journal-page-hero-grid, .policy-hero-grid { grid-template-columns: 1fr !important; gap: 24px; }
  .page-hero-copy h1, .journal-page-hero-copy h1, .policy-hero-copy h1 { font-size: clamp(41px, 10.5vw, 63px); }
  .page-hero-photo, .journal-page-hero-photo { min-height: 270px; border-radius: 18px; }
  .page-hero-photo .activity-video, .journal-page-hero-photo .activity-video { min-height: 270px; }
  .career-connection-panel { grid-template-columns: 1fr !important; }
  .career-connection-copy { padding: 25px 21px !important; }
  .career-connection-art { min-height: 230px; }
  .career-connection-art .activity-video { min-height: 230px; }
}

@media (prefers-reduced-motion: reduce) {
  .page-video-backdrop .page-video,
  .activity-video { animation: none !important; }
}

/* Darken the page backdrop before applying the blue-toned text surfaces. */
.page-video-tint {
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 218, 86, .06), transparent 28%),
    linear-gradient(112deg, rgba(11, 91, 174, .30) 0%, rgba(11, 91, 174, .27) 47%, rgba(8, 72, 133, .27) 53%, rgba(8, 72, 133, .30) 100%),
    linear-gradient(0deg, rgba(3, 17, 34, .82), rgba(3, 17, 34, .82));
}
main > section {
  background-color: rgba(8, 47, 94, .26) !important;
  background-image: none !important;
}
main > section:nth-of-type(even) { background-color: rgba(8, 72, 133, .26) !important; }

.skip-link { color: #fff !important; background: #04182f !important; }
.announcement-bar { color: #fff !important; background: #084885 !important; }
.announcement-inner a { color: #ffda56 !important; }
.site-header { background: rgba(8, 68, 133, .94) !important; }

/* The Orvanta red remains the button fill; deep navy copy passes on it. */
.site-header .header-cta,
main > section .button-lime { color: #04182f !important; }
.site-header .header-cta:hover,
main > section .button-lime:hover { color: #04182f !important; background: #ff5252 !important; }
main > section .button-lime :is(span, svg),
main > section .button-light,
main > section .button-light :is(span, svg) { color: #04182f !important; }
main > section .button-light:hover { background: #ffe582 !important; }
.filter-pill.is-active { color: #04182f !important; }
.form-field input[type="file"]::file-selector-button,
.form-field input[type="file"]::file-selector-button:hover { color: #04182f !important; }

/* Dark surfaces prevent bright video frames from showing through text panels. */
.hero-services-panel {
  color: #edf3fa !important;
  background: rgba(8, 18, 30, .94) !important;
  border-color: rgba(230, 240, 253, .24) !important;
}
.hero-services-panel :is(h2, p, a, span, strong, small) { color: #eaf1fa !important; }
.hero-services-panel :is(.hero-panel-kicker, h2 em, .hero-service-index, .hero-service-arrow) { color: #ffda56 !important; }
.hero-services-panel .hero-service-copy small { color: #c6d3e1 !important; }
.feature-card-content { background: rgba(8, 18, 30, .96) !important; }

.job-detail-pane,
.live-result-card,
.live-results-placeholder,
.live-results-empty {
  color: #edf3fa !important;
  background: rgba(8, 18, 30, .92) !important;
  border-color: rgba(230, 240, 253, .22) !important;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}
.live-result-card.is-selected { background: rgba(15, 50, 82, .96) !important; }
.live-result-meta span,
.job-detail-meta span:not([hidden]) {
  color: #dce7f5 !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(230, 240, 253, .22) !important;
}
.live-results-placeholder > span {
  color: #ffda56 !important;
  background: rgba(239, 68, 68, .20) !important;
}
.job-detail-description { color: #d6e0eb !important; }

/* The original process-step and journal callout tiles used light paper fills.
   Keep them in the dark glass system so their high-contrast text stays legible. */
main > section .process-grid-page .process-step {
  color: #ffda56 !important;
  background: rgba(255, 255, 255, .08) !important;
  border-color: rgba(255, 218, 86, .38) !important;
}
main > section .process-icon-lime { color: #04182f !important; background: #ffda56 !important; }
main > section .process-icon-peach { color: #04182f !important; background: #ef4444 !important; }
main > section .journal-callout {
  color: #edf3fa !important;
  background: rgba(6, 25, 44, .96) !important;
  border-left-color: #ffda56 !important;
}
main > section .journal-callout strong { color: #ffda56 !important; }
main > section .demo-notice {
  color: #edf3fa !important;
  background: rgba(6, 25, 44, .96) !important;
  border-color: rgba(255, 218, 86, .44) !important;
}
main > section .demo-notice[data-state="error"] {
  background: rgba(4, 24, 47, .96) !important;
  border-color: rgba(239, 68, 68, .68) !important;
}

/* Small amber details use dark ink; amber links remain on dark glass only. */
main > section .floating-icon,
main > section .contact-email-card .contact-email-icon {
  color: #04182f !important;
  background: #ffda56 !important;
}
main > section .policy-section-number,
main > section .journal-index-number {
  color: #ffda56 !important;
  background: rgba(239, 68, 68, .18) !important;
  border: 1px solid rgba(255, 218, 86, .24) !important;
}
.partner-carousel .partner-logo { color: #102a48 !important; background: #f8fafc !important; }
.partner-carousel .partner-logo :is(span, small, strong, a, p) { color: #102a48 !important; }

/* Image-caption scrims also work when a source frame is very bright. */
.hero-photo-section .image-caption {
  color: #fff !important;
  background: rgba(4, 24, 47, .90) !important;
}
.page-hero-photo::after,
.journal-page-hero-photo::after {
  background: linear-gradient(180deg, transparent 0%, rgba(4, 17, 30, .82) 100%) !important;
}
.mosaic-photo::after {
  background: linear-gradient(0deg, rgba(4, 24, 47, .78) 0%, rgba(4, 24, 47, .78) 58%, rgba(4, 24, 47, .28) 100%) !important;
}
.case-study-art::after {
  background: linear-gradient(0deg, rgba(4, 24, 47, .80) 0%, rgba(4, 24, 47, .62) 56%, rgba(4, 24, 47, .30) 100%) !important;
}
.case-study-art :is(span, strong) { color: #fff !important; }
.case-study-art strong { color: #ffda56 !important; }
.feature-card-art::after {
  background: linear-gradient(0deg, rgba(4, 24, 47, .84) 0%, rgba(4, 24, 47, 0) 72%) !important;
}
.feature-card-content p { color: #dbe5ef !important; }
.feature-card-content .feature-link { color: #edf3fa !important; }
.feature-card-content :is(.feature-icon, .feature-icon-lime, .feature-icon-peach) { color: #04182f !important; background: #ffda56 !important; }
.feature-card-art .feature-index {
  color: #fff !important;
  background: rgba(4, 24, 47, .92) !important;
  border-color: rgba(255, 255, 255, .54) !important;
}
.audience-candidate .audience-photo::after {
  background: linear-gradient(90deg, rgba(9, 77, 151, .97) 0%, rgba(9, 77, 151, .95) 62%, rgba(3, 18, 36, .92) 100%) !important;
}
.audience-employer .audience-photo::after {
  background: linear-gradient(90deg, rgba(8, 72, 133, .97) 0%, rgba(8, 72, 133, .95) 62%, rgba(4, 24, 47, .92) 100%) !important;
}

@media (max-width: 760px) {
  .page-video-tint {
    background:
      radial-gradient(ellipse at 50% 9%, rgba(255, 218, 86, .06), transparent 26%),
      linear-gradient(105deg, rgba(11, 91, 174, .28) 0%, rgba(11, 91, 174, .25) 47%, rgba(8, 72, 133, .25) 53%, rgba(8, 72, 133, .28) 100%),
      linear-gradient(0deg, rgba(3, 17, 34, .82), rgba(3, 17, 34, .82));
  }
}

/* Extra-opaque text surfaces for the homepage services panel and job-search
   empty states, so changing video frames can never wash out the copy. */
.hero-services-panel {
  background: #071521 !important;
  border-color: rgba(232, 241, 252, .28) !important;
}
.hero-services-panel .hero-service-row { border-top-color: rgba(232, 241, 252, .20) !important; }
.hero-services-panel .hero-service-copy strong {
  color: #fff !important;
  font-size: 12px;
}
.hero-services-panel .hero-service-copy small {
  color: #d8e2ee !important;
  font-size: 10px;
  line-height: 1.5;
}
@media (max-width: 760px) {
  .hero-services-panel .hero-service-copy strong { font-size: 11.5px; }
  .hero-services-panel .hero-service-copy small { font-size: 10px; }
}

.job-detail-pane,
.live-result-card,
.live-results-placeholder,
.live-results-empty {
  background: #071521 !important;
  border-color: rgba(232, 241, 252, .28) !important;
}
.live-result-card.is-selected { background: #0c2a46 !important; }
.live-results-placeholder,
.live-results-empty {
  border-style: solid !important;
  color: #edf3fa !important;
  font-size: 13px;
}
.live-results-placeholder strong,
.live-results-empty strong {
  color: #fff !important;
  font-size: 16px;
  line-height: 1.35;
}
.live-results-placeholder p { color: #d8e2ee !important; font-size: 13px; line-height: 1.65; }
.live-results-placeholder > span {
  color: #04182f !important;
  background: #ffda56 !important;
}
.job-detail-empty h3 { color: #fff !important; }
.job-detail-empty > p:last-child {
  color: #d8e2ee !important;
  font-size: 13px;
}
.job-detail-description { color: #d8e2ee !important; font-size: 13px; }
.job-detail-company,
.job-detail-location,
.job-detail-date { color: #d8e2ee !important; }
.live-results-header > span { color: #d8e2ee !important; font-size: 11px; }
.live-results-header p { color: #fff !important; font-size: 14px; }
.platform-note { color: #d8e2ee !important; font-size: 12px; line-height: 1.65; }

/* Blue text surfaces keep white copy legible, with yellow reserved for small accents. */
:root {
  --contrast-blue: #084885;
  --contrast-blue-deep: #062b4c;
  --contrast-blue-alt: #084885;
}
body, html { background-color: var(--contrast-blue-deep) !important; }
main > section {
  background: var(--contrast-blue) !important;
  background-image: none !important;
}
main > section:nth-of-type(even) { background: var(--contrast-blue-alt) !important; }

.site-header { background: var(--contrast-blue) !important; }
.announcement-bar { background: #084885 !important; }
.site-footer { background: var(--contrast-blue-deep) !important; }

.hero-services-panel { background: var(--contrast-blue) !important; }
.hero-services-panel .hero-service-row { background: rgba(4, 24, 47, .20) !important; }
.hero-services-panel .hero-service-copy strong,
.hero-services-panel .hero-service-copy small { color: #fff !important; }
.hero-services-panel :is(.hero-panel-kicker, h2 em, .hero-service-index, .hero-service-arrow) { color: #ffda56 !important; }

main > section :is(
  .job-search, .jobs-live-search, .job-card, .feature-card, .process-card,
  .process-split-card, .story-card, .case-study-card, .case-study-body,
  .contact-form, .contact-email-card, .callout-note, .journal-home-feature,
  .journal-home-card, .journal-index-card, .journal-longread,
  .journal-article-rail, .policy-hero-card, .policy-toc, .policy-section,
  .recruiting-policy-preview-inner, .career-connection-panel, .partner-carousel,
  .empty-state, .live-search-field
) {
  color: #edf3fa !important;
  background: var(--contrast-blue) !important;
  border-color: rgba(232, 241, 252, .28) !important;
}
.feature-card-content { background: var(--contrast-blue) !important; }
.story-card-featured,
.policy-contact-note { background: var(--contrast-blue-alt) !important; }
.policy-requirements li { background: var(--contrast-blue) !important; }

.job-detail-pane,
.live-result-card,
.live-results-placeholder { background: var(--contrast-blue) !important; }
.live-results-empty,
.live-result-card.is-selected { background: var(--contrast-blue-alt) !important; }
.job-detail-pane, .live-result-card, .live-results-placeholder, .live-results-empty {
  border-color: rgba(232, 241, 252, .34) !important;
}
.live-result-meta span,
.job-detail-meta span:not([hidden]) { background: rgba(6, 43, 76, .88) !important; }
main > section .demo-notice { background: var(--contrast-blue) !important; }
main > section .demo-notice[data-state="error"] { background: var(--contrast-blue-alt) !important; }
.form-status,
.form-status[data-state="info"],
.form-status[data-state="loading"] { background: var(--contrast-blue) !important; }
.form-status[data-state="error"] { background: var(--contrast-blue-alt) !important; }

.filter-pill, .job-filter-chip, .clear-job-filters {
  color: #edf3fa !important;
  background: var(--contrast-blue-deep) !important;
  border-color: rgba(232, 241, 252, .30) !important;
}
.form-field input, .form-field select, .form-field textarea,
.search-control input, .search-control select, .live-search-field input {
  background-color: var(--contrast-blue-deep) !important;
}
.form-field input::placeholder, .form-field textarea::placeholder,
.search-control input::placeholder, .live-search-field input::placeholder {
  color: #d8e2ee !important;
}

main > section .journal-callout { background: var(--contrast-blue-deep) !important; }
main > section .process-grid-page .process-step { background: var(--contrast-blue-deep) !important; }

.hero-photo-section .image-caption { background: var(--contrast-blue) !important; }
.page-hero-photo::after,
.journal-page-hero-photo::after {
  background: linear-gradient(180deg, transparent 0%, rgba(8, 72, 133, .94) 100%) !important;
}
.mosaic-photo::after {
  background: linear-gradient(0deg, rgba(8, 72, 133, .96) 0%, rgba(8, 72, 133, .84) 58%, rgba(8, 72, 133, .20) 100%) !important;
}
.case-study-art::after {
  background: linear-gradient(0deg, rgba(8, 72, 133, .97) 0%, rgba(8, 72, 133, .78) 56%, rgba(8, 72, 133, .26) 100%) !important;
}
.feature-card-art::after {
  background: linear-gradient(0deg, rgba(8, 72, 133, .96) 0%, rgba(8, 72, 133, .12) 72%) !important;
}
.audience-candidate .audience-photo::after {
  background: linear-gradient(90deg, rgba(8, 72, 133, .98) 0%, rgba(8, 72, 133, .94) 68%, rgba(6, 43, 76, .91) 100%) !important;
}
.audience-employer .audience-photo::after {
  background: linear-gradient(90deg, rgba(8, 72, 133, .98) 0%, rgba(8, 72, 133, .94) 68%, rgba(6, 43, 76, .91) 100%) !important;
}
.journal-page-hero-photo figcaption {
  right: auto;
  left: 18px;
  width: fit-content;
  max-width: calc(100% - 36px);
  padding: 8px 12px;
  border: 1px solid rgba(232, 241, 252, .28);
  border-radius: 999px;
  color: #fff !important;
  background: #062b4c !important;
}
.journal-page-hero-photo figcaption .journal-caption-mark { color: #ffda56 !important; }

/* Final brand direction: keep every page-specific video visible beneath a blue tint,
   use blue and red throughout, and reserve yellow for tiny highlights only. */
:root {
  --brand-blue-950: #04182f;
  --brand-blue-900: #062b4c;
  --brand-blue-700: #084885;
  --brand-blue-500: #135aa2;
  --brand-copy-blue: #dcecff;
  --brand-red: #ef4444;
  --brand-yellow: #ffd85e;
  --ink: var(--brand-copy-blue);
  --ink-deep: var(--brand-blue-950);
  --paper: var(--brand-blue-950);
  --cream: rgba(4, 24, 47, .42);
  --muted: #bdd2ec;
  --line: rgba(88, 151, 218, .34);
  --green: var(--brand-red);
  --green-light: rgba(239, 68, 68, .16);
  --peach: var(--brand-red);
  --lime: var(--brand-yellow);
  color-scheme: dark;
}
html, body {
  color: var(--brand-copy-blue) !important;
  background: var(--brand-blue-950) !important;
}
body { isolation: isolate; }
#main {
  color: var(--brand-copy-blue) !important;
  background: transparent !important;
}

/* Keep the eight unique per-page background clips visible while tinting them
   blue. Text panels below remain opaque enough to protect copy from the footage. */
body > .page-video-backdrop {
  z-index: 0 !important;
  background: var(--brand-blue-950) !important;
}
.page-video-backdrop .page-video {
  opacity: 1 !important;
  filter: saturate(.86) contrast(1.08) brightness(.92) !important;
}
.page-video-tint {
  background:
    radial-gradient(ellipse at 50% 8%, rgba(255, 216, 94, .05) 0%, transparent 23%),
    linear-gradient(112deg, rgba(8, 72, 133, .28) 0%, rgba(8, 72, 133, .30) 42%, rgba(99, 22, 42, .30) 58%, rgba(99, 22, 42, .28) 100%),
    linear-gradient(0deg, rgba(4, 24, 47, .34), rgba(4, 24, 47, .30)) !important;
}
@media (max-width: 760px) {
  .page-video-tint {
    background:
      radial-gradient(ellipse at 50% 8%, rgba(255, 216, 94, .04) 0%, transparent 22%),
      linear-gradient(110deg, rgba(8, 72, 133, .29) 0%, rgba(8, 72, 133, .25) 44%, rgba(99, 22, 42, .25) 56%, rgba(99, 22, 42, .29) 100%),
      linear-gradient(0deg, rgba(4, 24, 47, .37), rgba(4, 24, 47, .32)) !important;
  }
}

:focus-visible { outline-color: var(--brand-yellow) !important; }
body > .skip-link {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
  border: 2px solid var(--brand-red) !important;
}
body > .announcement-bar,
body > .site-header,
body > .site-footer {
  color: var(--brand-copy-blue) !important;
  background: rgba(4, 24, 47, .94) !important;
  background-image: none !important;
  border-color: rgba(88, 151, 218, .36) !important;
}
body > .announcement-bar *,
body > .site-header *,
body > .site-footer * { color: var(--brand-copy-blue) !important; }
body > .site-header .brand-name,
body > .site-header .brand-name *,
body > .site-footer .brand-name,
body > .site-footer .brand-name * {
  color: var(--brand-copy-blue) !important;
  background: transparent !important;
}
body > .site-header .primary-nav a,
body > .site-header .primary-nav a.is-current,
body > .site-header .primary-nav a:hover {
  color: var(--brand-copy-blue) !important;
  background: transparent !important;
}
body > .site-header .primary-nav a:hover,
body > .site-header .primary-nav a.is-current { color: var(--brand-red) !important; }
body > .site-header .primary-nav a::after { background: var(--brand-red) !important; }
body > .site-header .header-cta,
body > .site-header .header-cta * {
  color: var(--brand-blue-950) !important;
  background: var(--brand-red) !important;
}
body > .site-header .header-cta:hover,
body > .site-header .header-cta:hover * {
  color: var(--brand-blue-950) !important;
  background: var(--brand-red) !important;
}
body > .announcement-bar a,
body > .announcement-bar a *,
body > .site-footer .footer-links a,
body > .site-footer .footer-links a *,
body > .site-footer .footer-email,
body > .site-footer .footer-email * {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
body > .site-header .menu-toggle {
  color: var(--brand-red) !important;
  background: var(--brand-blue-700) !important;
  border-color: rgba(88, 151, 218, .48) !important;
}
body > .site-header .menu-toggle span { background: var(--brand-red) !important; }
body > .site-header .primary-nav.is-open {
  color: var(--brand-copy-blue) !important;
  background: var(--brand-blue-950) !important;
}
body > .site-header .primary-nav.is-open a {
  color: var(--brand-copy-blue) !important;
  background: transparent !important;
}

/* Balanced translucent blue/red sections preserve the moving page background. */
#main > section {
  color: var(--brand-copy-blue) !important;
  background: rgba(8, 72, 133, .28) !important;
  background-image: none !important;
  border-color: rgba(88, 151, 218, .28) !important;
}
#main > section:nth-of-type(even) {
  color: var(--brand-copy-blue) !important;
  background: rgba(99, 22, 42, .28) !important;
  background-image: none !important;
}
#main > section * { color: var(--brand-copy-blue) !important; }
#main > section :is(h1, h2, h3, h4, p, li, label, small, strong, figcaption) {
  text-shadow: 0 1px 2px rgba(4, 24, 47, .88);
}

/* red links/highlights sit on deep-blue chips; yellow appears only in tiny marks. */
#main > section a:not(.button) {
  color: var(--brand-red) !important;
  background: rgba(4, 24, 47, .90) !important;
  background-image: none !important;
  border-radius: 5px;
}
#main > section a:not(.button) * {
  color: var(--brand-red) !important;
  background: transparent !important;
  background-image: none !important;
}
#main h1 em, #main h2 em, #main h3 em,
#main .eyebrow, #main .eyebrow-light,
#main .hero-panel-kicker,
#main .hero-service-index, #main .hero-service-arrow,
#main .story-number, #main .journal-index-number,
#main .policy-section-number, #main .process-grid-page .process-step,
#main .case-study-art strong, #main .journal-index-arrow,
#main .policy-topic-list span {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
  background-image: none !important;
  border-radius: 5px;
}
#main h1 em, #main h2 em, #main h3 em {
  padding-inline: .10em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
#main :is(.eyebrow, .eyebrow-light, .hero-panel-kicker) {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 9px;
  border-radius: 999px;
}
#main .eyebrow-dot,
#main .caption-spark,
#main .journal-caption-mark {
  color: var(--brand-yellow) !important;
  background: var(--brand-blue-950) !important;
}
#main .hero-service-index, #main .hero-service-arrow,
#main .story-number, #main .journal-index-number,
#main .policy-section-number, #main .process-grid-page .process-step,
#main .case-study-art strong, #main .journal-index-arrow { padding: 3px 6px; }
#main > section .hero-services-panel,
#main > section .hero-services-panel * {
  color: var(--brand-copy-blue) !important;
  background: transparent !important;
}
#main > section .hero-services-panel {
  background: rgba(4, 24, 47, .95) !important;
  border-color: rgba(88, 151, 218, .52) !important;
}
#main > section .hero-services-panel :is(.hero-panel-kicker, h2 em, .hero-service-index, .hero-service-arrow) {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main > section .hero-services-panel .hero-service-row {
  color: var(--brand-red) !important;
  background: rgba(8, 72, 133, .72) !important;
}

/* Blue UI surfaces, red actions, and pale-blue copy. */
#main > section :is(
  .job-search, .jobs-live-search, .job-card, .feature-card, .process-card,
  .process-split-card, .story-card, .case-study-card, .case-study-body,
  .contact-form, .contact-email-card, .callout-note, .journal-home-feature,
  .journal-home-card, .journal-index-card, .journal-longread,
  .journal-article-rail, .policy-hero-card, .policy-toc, .policy-section,
  .recruiting-policy-preview-inner, .career-connection-panel, .partner-carousel,
  .empty-state, .live-search-field, .job-detail-pane, .live-result-card,
  .live-results-placeholder, .live-results-empty, .feature-card-content,
  .journal-callout, .policy-contact-note, .audience-card, .case-study-art,
  .mosaic-photo, .form-field, .search-control, .contact-form,
  .job-filter-chip, .filter-pill, .demo-notice, .form-status
) {
  color: var(--brand-copy-blue) !important;
  background: rgba(4, 24, 47, .86) !important;
  background-image: none !important;
  border-color: rgba(88, 151, 218, .42) !important;
}
#main > section :is(.story-card-featured, .live-results-empty, .policy-contact-note) {
  background: rgba(8, 72, 133, .78) !important;
}
#main > section :is(.filter-pill, .job-filter-chip, .job-filter-chip *,
  .clear-job-filters, .partner-rotation, .partner-arrow,
  .live-result-meta span, .job-detail-meta span:not([hidden])) {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
  border-color: rgba(88, 151, 218, .46) !important;
}
#main > section .job-filter-chip select {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main > section .button,
#main > section .button-dark,
#main > section .button-light,
#main > section .clear-job-filters,
#main > section button,
#main > section input[type="button"],
#main > section input[type="submit"] {
  color: var(--brand-red) !important;
  background: var(--brand-blue-700) !important;
  border-color: rgba(88, 151, 218, .48) !important;
}
#main > section .button-lime,
#main > section .button-lime * {
  color: var(--brand-blue-950) !important;
  background: var(--brand-red) !important;
}
#main > section .button-lime:hover,
#main > section .button-lime:hover * {
  color: var(--brand-blue-950) !important;
  background: var(--brand-red) !important;
}
#main > section :is(.contact-email-icon, .floating-icon, .process-icon,
  .feature-icon, .process-icon-lime, .process-icon-peach,
  .feature-icon-lime, .feature-icon-peach, .search-icon,
  .mini-avatars span, .live-results-placeholder > span) {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main > section input,
#main > section select,
#main > section textarea,
#main > section option {
  color: var(--brand-copy-blue) !important;
  background: var(--brand-blue-950) !important;
  background-image: none !important;
  border-color: rgba(88, 151, 218, .48) !important;
}
#main > section input::placeholder,
#main > section textarea::placeholder {
  color: var(--brand-copy-blue) !important;
  opacity: 1;
}
#main > section input[type="file"]::file-selector-button {
  color: var(--brand-blue-950) !important;
  background: var(--brand-red) !important;
}
#main > section :is(input, select, textarea):focus-visible {
  outline-color: var(--brand-yellow) !important;
  border-color: var(--brand-yellow) !important;
  box-shadow: 0 0 0 3px rgba(255, 216, 94, .22) !important;
}
#main .form-status[data-state="error"],
#main .form-status[data-state="error"] *,
#main .demo-notice[data-state="error"],
#main .demo-notice[data-state="error"] * {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main .form-status:not([data-state="error"]),
#main .demo-notice:not([data-state="error"]) {
  color: var(--brand-copy-blue) !important;
  background: rgba(4, 24, 47, .92) !important;
}
#main .demo-notice::before {
  color: var(--brand-yellow) !important;
  background: var(--brand-yellow) !important;
}

/* Captions, media cards, and overlays remain blue so moving footage cannot wash
   out copy. Each page's background video is still visible around these panels. */
#main > section .image-caption,
#main > section .photo-caption,
#main > section .journal-page-hero-photo figcaption,
#main > section .mosaic-photo figcaption,
#main > section .case-study-art span {
  color: var(--brand-copy-blue) !important;
  background: rgba(4, 24, 47, .94) !important;
  padding: 8px 12px;
  border-radius: 8px;
}
#main > section .mosaic-photo figcaption { padding: 12px 14px; }
#main > section .mosaic-photo figcaption span,
#main > section .journal-page-hero-photo figcaption .journal-caption-mark {
  color: var(--brand-yellow) !important;
  background: var(--brand-blue-950) !important;
}
#main > section .case-study-art strong {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main .page-hero-photo::after,
#main .journal-page-hero-photo::after {
  background: linear-gradient(180deg, transparent 0%, rgba(4, 24, 47, .93) 100%) !important;
}
#main .mosaic-photo::after,
#main .case-study-art::after,
#main .feature-card-art::after {
  background: linear-gradient(0deg, rgba(4, 24, 47, .96) 0%, rgba(4, 24, 47, .82) 64%, rgba(4, 24, 47, .28) 100%) !important;
}
#main .audience-candidate .audience-photo::after,
#main .audience-employer .audience-photo::after {
  background: linear-gradient(90deg, rgba(4, 24, 47, .95) 0%, rgba(8, 72, 133, .78) 68%, rgba(4, 24, 47, .56) 100%) !important;
}
#main .journal-checklist li::before,
#main .journal-mini-list li::before,
#main .process-grid-page .process-card:not(:last-child)::after {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main li::marker { color: var(--brand-red) !important; }

/* Partner wordmarks stay blue/red; retain each official logo illustration. */
#main > section .partner-logo {
  color: var(--brand-copy-blue) !important;
  background: rgba(4, 24, 47, .92) !important;
  border-color: rgba(88, 151, 218, .42) !important;
}
#main > section .partner-logo * {
  color: var(--brand-copy-blue) !important;
  background-color: transparent !important;
  background-image: none !important;
}
#main > section .partner-logo .partner-mark-fallback {
  color: var(--brand-red) !important;
  background: var(--brand-blue-950) !important;
}
#main > section .partner-logo .partner-mark img { filter: none !important; }
#main > section :is(.process-step, .journal-index-number, .policy-section-number) {
  border-color: rgba(88, 151, 218, .46) !important;
}

/* Keep red accent copy unboxed; actual cards and controls retain their surfaces. */
#main h1 em, #main h2 em, #main h3 em,
#main .eyebrow, #main .eyebrow-light, #main .hero-panel-kicker,
#main .hero-service-index, #main .hero-service-arrow,
#main .story-number, #main .journal-index-number,
#main .policy-section-number, #main .process-grid-page .process-step,
#main .case-study-art strong, #main .journal-index-arrow,
#main .policy-topic-list span,
#main > section a:not(.button),
#main > section .hero-services-panel :is(.hero-panel-kicker, h2 em, .hero-service-index, .hero-service-arrow),
#main > section .case-study-art strong,
#main .journal-checklist li::before,
#main .journal-mini-list li::before,
#main .process-grid-page .process-card:not(:last-child)::after,
#main > section .partner-logo .partner-mark-fallback,
body > .announcement-bar a,
body > .announcement-bar a *,
body > .site-footer .footer-links a,
body > .site-footer .footer-links a *,
body > .site-footer .footer-email,
body > .site-footer .footer-email * {
  background: transparent !important;
  background-image: none !important;
  text-shadow: 0 1px 3px rgba(4, 24, 47, .95);
}
