/* Jordan Industries v1.8.5 — original digital-camouflage background refresh.
 * Original pixel texture with woodland + desert colors; no military emblems.
 * The background treatments are intentionally faded and do not affect photography.
 */
:root {
  --ji-woodland: url('../images/ji-marpat-woodland-v185.webp');
  --ji-desert: url('../images/ji-marpat-desert-v185.webp');
  --ji-v185-olive: #58604d;
  --ji-v185-sand: #b89d79;
  --ji-v185-bronze: #bd936f;
  --ji-v185-separator: rgba(203,167,122,.23);
}

/* Deep olive/bronze ground — barely visible outside the content bands. */
body { background-color:#0c100d; }
body::before {
  background:
    radial-gradient(ellipse at 7% 17%,rgba(86,107,78,.20),transparent 39%),
    radial-gradient(ellipse at 91% 73%,rgba(186,141,94,.14),transparent 39%),
    linear-gradient(133deg,rgba(10,13,11,.97),rgba(21,23,19,.93) 55%,rgba(11,13,11,.98)),
    var(--ji-woodland) center / 560px auto repeat;
}

/* More purposeful, thinner digital band at top, with bronze hairline. */
.site-wrap::before {
  height:14px;
  background:
    linear-gradient(90deg,rgba(9,13,11,.60),rgba(17,20,16,.05) 37%,rgba(23,20,16,.04) 65%,rgba(9,12,10,.56)),
    var(--ji-woodland) center 40% / 490px auto repeat;
  border-bottom:1px solid var(--ji-v185-separator);
  box-shadow:0 1px 8px rgba(0,0,0,.28);
}

/* Header retains its original proportions and navigation. */
.utility-bar,
.site-header { position:relative; isolation:isolate; }
.utility-bar::after,
.site-header::after {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:0;
  background:var(--ji-woodland) left 45% / 440px auto repeat;
  opacity:.16;
  -webkit-mask-image:linear-gradient(90deg,black 0%,transparent 26%,transparent 81%,black 100%);
  mask-image:linear-gradient(90deg,black 0%,transparent 26%,transparent 81%,black 100%);
}
.site-header::after {opacity:.13;}
.header-inner,.utility-inner {position:relative;z-index:1;}

/* Main sections: camo visible along both edges, softly disappearing toward copy. */
.hero-section,
.inner-hero,
.ji-showcase,
.ji-capabilities-overview,
.credential-band,
.section-muted,
.ji-tech-section,
.ji-intro-band,
.ji-cad-spotlight,
.ji-cad-detailed,
.ji-cap-detailed,
.ji-about-photo,
.ji-career-values,
.ji-career-openings,
.ji-career-intro,
.ji-career-connect,
.ji-simple-gallery-section,
.ji-sectors,
.ji-process-section,
.signature-strip,
.site-footer,
.final-cta {
  position:relative;
  overflow:hidden;
}

.hero-section::after,
.inner-hero::after,
.ji-showcase::after,
.ji-capabilities-overview::after,
.credential-band::after,
.section-muted::after,
.ji-tech-section::after,
.ji-intro-band::after,
.ji-cad-spotlight::after,
.ji-cad-detailed::after,
.ji-cap-detailed::after,
.ji-about-photo::after,
.ji-career-values::after,
.ji-career-openings::after,
.ji-career-intro::after,
.ji-career-connect::after,
.ji-simple-gallery-section::after,
.ji-sectors::after,
.ji-process-section::after,
.signature-strip::after,
.site-footer::after,
.final-cta::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(8,13,10,.15),transparent 30%,transparent 70%,rgba(8,12,10,.28)),
    var(--ji-woodland) center / 440px auto repeat;
  opacity:.22;
  -webkit-mask-image:linear-gradient(90deg,black 0%,rgba(0,0,0,.60) 12%,transparent 28%,transparent 72%,rgba(0,0,0,.57) 87%,black 100%);
  mask-image:linear-gradient(90deg,black 0%,rgba(0,0,0,.60) 12%,transparent 28%,transparent 72%,rgba(0,0,0,.57) 87%,black 100%);
}

/* Alternating desert tint feels intentional, rather than one wallpaper everywhere. */
.section-muted::after,
.ji-cad-detailed::after,
.ji-career-connect::after,
.ji-process-section::after,
.final-cta::after,
.credential-band::after,
.signature-strip::after {
  background:
    linear-gradient(180deg,rgba(20,18,15,.12),transparent 28%,transparent 72%,rgba(14,13,10,.25)),
    var(--ji-desert) center / 460px auto repeat;
  opacity:.22;
}

/* Interior-page headers: complementary olive/desert gradients beneath camo. */
.inner-hero.ji-camo-inner {
  background:
    radial-gradient(ellipse at 83% 35%,rgba(192,155,110,.14),transparent 42%),
    linear-gradient(105deg,rgba(12,18,14,.97),rgba(19,24,18,.92) 57%,rgba(27,24,19,.92)),
    var(--ji-woodland) center / 480px auto repeat;
  border-bottom:1px solid rgba(185,145,101,.34);
}
.inner-hero.ji-camo-inner::after { opacity:.28; }

/* Hero: camo folds into charcoal on the left and bronze near the image edge. */
.hero-section.ji-mission-hero {
  background:
    radial-gradient(ellipse at 22% 40%,rgba(91,103,80,.16),transparent 40%),
    radial-gradient(ellipse at 94% 35%,rgba(187,149,109,.12),transparent 43%),
    linear-gradient(108deg,#111812 0%,#111611 53%,#161710 100%);
}
.hero-section.ji-mission-hero::after {
  opacity:.26;
  background:var(--ji-woodland) center/520px auto repeat;
  -webkit-mask-image:linear-gradient(90deg,black 0%,rgba(0,0,0,.72) 12%,transparent 35%,transparent 69%,rgba(0,0,0,.58) 89%,black 100%);
  mask-image:linear-gradient(90deg,black 0%,rgba(0,0,0,.72) 12%,transparent 35%,transparent 69%,rgba(0,0,0,.58) 89%,black 100%);
}

/* Edge details around card sections — digital, not full-cover camouflage. */
.ji-service-tile,
.ji-sector-card,
.ji-photo-info-card,
.ji-contact-support-grid article,
.ji-procurement-panels article,
.ji-career-job-card,
.ji-cad-capability-list article,
.ji-cap-copy,
.ji-program-timeline div,
.form-panel {
  border-color:rgba(211,176,134,.25);
  background-color:#171d17;
}
.ji-service-tile::after,
.ji-sector-card::after,
.ji-photo-info-card::after,
.ji-contact-support-grid article::after,
.ji-procurement-panels article::after,
.ji-career-job-card::after,
.ji-cad-capability-list article::after,
.ji-cap-copy::after,
.ji-program-timeline div::after,
.form-panel::after {
  content:"";
  position:absolute;
  inset:0 0 auto auto;
  width:145px;
  height:140px;
  pointer-events:none;
  background:var(--ji-desert) center / 190px auto repeat;
  opacity:.18;
  -webkit-mask-image:linear-gradient(225deg,black 0%,rgba(0,0,0,.72) 32%,transparent 88%);
  mask-image:linear-gradient(225deg,black 0%,rgba(0,0,0,.72) 32%,transparent 88%);
}
.ji-service-tile:nth-child(2n)::after,
.ji-sector-card:nth-child(2n)::after,
.ji-photo-info-card:nth-child(2n)::after {
  background-image:var(--ji-woodland);
  opacity:.16;
}

/* A very soft MARPAT blend around the bronze logo, never a separate hard band. */
.ji-intro-emblem {
  background:
    radial-gradient(ellipse at 52% 55%,rgba(41,44,35,.85),rgba(17,21,17,.92) 64%,#121712 100%),
    var(--ji-woodland) center/490px auto repeat;
  border-color:rgba(211,174,129,.24);
  isolation:isolate;
}
.ji-intro-emblem::before {
  content:"";
  position:absolute;
  inset:0;
  width:auto;
  height:auto;
  background:var(--ji-woodland) center/390px auto repeat;
  opacity:.21;
  -webkit-mask-image:radial-gradient(ellipse at 50% 33%,black 0%,rgba(0,0,0,.55) 37%,transparent 85%);
  mask-image:radial-gradient(ellipse at 50% 33%,black 0%,rgba(0,0,0,.55) 37%,transparent 85%);
}
.ji-intro-emblem img,.ji-intro-emblem span {position:relative;z-index:1;}

/* Maintain an elegant MARPAT treatment at footer and section joins. */
.ji-camo-stripe {
  background:
    linear-gradient(0deg,rgba(14,17,13,.35),rgba(14,17,13,.14)),
    var(--ji-desert) center 42% / 480px auto repeat;
  height:20px;
  border-block:1px solid rgba(199,159,116,.26);
}
.site-footer::before,
.signature-strip::before {
  background:
    linear-gradient(90deg,#111710,rgba(13,18,14,.45) 20%,rgba(17,21,15,.47) 80%,#111710),
    var(--ji-woodland) center / 480px auto repeat;
  height:14px;
  opacity:.68;
}
.site-footer {background:linear-gradient(180deg,#141914 0%,#0b0e0c 100%);}

/* Ensure gradient/pattern pseudo-elements stay behind content and remain noninteractive. */
.hero-section>.shell,
.inner-hero>.shell,
.ji-showcase>.shell,
.ji-capabilities-overview>.shell,
.credential-band>.shell,
.section-muted>.shell,
.ji-tech-section>.shell,
.ji-intro-band>.shell,
.ji-cad-spotlight>.shell,
.ji-cad-detailed>.shell,
.ji-cap-detailed>.shell,
.ji-about-photo>.shell,
.ji-career-values>.shell,
.ji-career-openings>.shell,
.ji-career-intro>.shell,
.ji-career-connect>.shell,
.ji-simple-gallery-section>.shell,
.ji-sectors>.shell,
.ji-process-section>.shell,
.signature-strip>.shell,
.site-footer>.shell,
.final-cta>.shell {
  position:relative;
  z-index:1;
}

@media(max-width:860px){
  .hero-section::after,
  .inner-hero::after,
  .ji-showcase::after,
  .ji-capabilities-overview::after,
  .credential-band::after,
  .section-muted::after,
  .ji-tech-section::after,
  .ji-intro-band::after,
  .ji-cad-spotlight::after,
  .ji-cad-detailed::after,
  .ji-cap-detailed::after,
  .ji-about-photo::after,
  .ji-career-values::after,
  .ji-career-openings::after,
  .ji-career-intro::after,
  .ji-career-connect::after,
  .ji-simple-gallery-section::after,
  .ji-sectors::after,
  .ji-process-section::after,
  .signature-strip::after,
  .site-footer::after,
  .final-cta::after { opacity:.20; background-size:370px auto; }
  .ji-service-tile::after,
  .ji-sector-card::after,
  .ji-photo-info-card::after,
  .ji-contact-support-grid article::after,
  .ji-procurement-panels article::after,
  .ji-career-job-card::after,
  .ji-cad-capability-list article::after,
  .ji-cap-copy::after,
  .ji-program-timeline div::after,
  .form-panel::after { width:94px;height:95px;opacity:.15; }
  .site-wrap::before {height:11px;}
}
@media(prefers-reduced-motion:reduce){
  .ji-service-tile,.ji-sector-card,.ji-photo-info-card {transition:none;}
}
