/* J5 Teknology Services — V8.7 consolidated stylesheet
   Base shared by all pages. Page-dependent rules are scoped to html.j5-home
   or html.j5-about to preserve their original cascade and avoid altering legal pages.
   Maintain stylesheet order in the sections below when editing.
   All superseded standalone CSS files have been removed from this package.
*/

/* ===== styles-v4-3.css | shared base ===== */
:root{
  --navy:#06131f;
  --navy-2:#0b1d2f;
  --ink:#0b1523;
  --muted:#4d5e71;
  --line:#d9e2eb;
  --panel:#f6f8fb;
  --white:#ffffff;
  --blue:#0b86f4;
  --shell:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
img{display:block;max-width:100%}
.shell{width:min(var(--shell), calc(100% - 48px));margin:auto}

.site-header{position:sticky;top:0;z-index:50;display:flex;align-items:center;gap:32px;height:76px;background:#06131f;color:#fff;padding:0 max(3vw,24px);border-bottom:1px solid rgba(255,255,255,.08)}
.logo{display:flex;align-items:center;gap:12px;min-width:300px}
.logo > strong{font-size:47px;letter-spacing:-.08em;line-height:1;font-weight:900}
.logo span{font-size:14px;font-weight:800;letter-spacing:.14em;line-height:1.05}
.logo small{font-size:10px;font-weight:600;letter-spacing:.22em}
.desktop-nav{display:flex;gap:28px;align-items:center;height:100%;margin-left:auto}
.desktop-nav a{display:flex;align-items:center;font-size:13px;color:#dfe7ef;border-bottom:3px solid transparent}
.desktop-nav a.active{color:#57aeff;border-bottom-color:#0b86f4}
.header-cta{background:var(--blue);padding:11px 18px;border-radius:6px;font-size:13px;font-weight:700;white-space:nowrap}

.eyebrow{margin:0 0 14px;font-size:12px;letter-spacing:.14em;font-weight:800;color:#dce7f1;text-transform:uppercase}
.eyebrow.dark{color:#496075}
h1,h2,h3,h4,p{margin:0}
h1{font-size:clamp(2.8rem, 5vw, 4.15rem);line-height:1.02;letter-spacing:-.045em;margin-bottom:16px;max-width:680px}
h2{font-size:clamp(2rem, 4vw, 3.2rem);line-height:1.06;letter-spacing:-.04em;margin-bottom:18px}
h3{font-size:1.42rem;line-height:1.18;letter-spacing:-.02em}
p{line-height:1.6}

.hero{position:relative;min-height:610px;background:var(--navy);color:#fff;overflow:hidden}
.hero-photo{position:absolute;inset:0 0 0 auto;width:62%;background:url('assets/hero-optical-bench.jpg') center/cover no-repeat}
.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#071521 0%,#071521 38%,rgba(7,21,33,.90) 53%,rgba(7,21,33,.34) 76%,rgba(7,21,33,.08) 100%)}
.hero-content{position:relative;padding:84px 0 54px}
.hero-lead{font-size:1.36rem;line-height:1.42;font-weight:650;max-width:710px;margin-bottom:12px}
.hero-copy{max-width:640px;color:#c1ccd7;font-size:1.02rem;margin-bottom:28px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;gap:12px;border-radius:8px;padding:13px 18px;font-size:14px;font-weight:760}
.button.primary{background:var(--blue);color:#fff}
.button.ghost{border:1px solid rgba(255,255,255,.22);color:#fff}
.button.light{border:1px solid #9fb2c5;color:#0b86f4;background:#fff}
.hero-benefits{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:26px;margin-top:56px;max-width:980px}
.benefit{display:flex;gap:14px;align-items:flex-start;color:#e2eaf1;font-size:.98rem;line-height:1.45}
.benefit-icon{font-size:30px;line-height:1;color:#fff;margin-top:2px;flex:0 0 auto}

.problem{display:grid;grid-template-columns:1.12fr .88fr;gap:56px;padding:92px 0;border-bottom:1px solid #edf1f4}
.problem-copy{font-size:1.05rem;color:var(--muted);padding-top:10px}
.problem-copy p + p{margin-top:16px}
.problem-copy strong{color:var(--ink)}

.services{background:linear-gradient(180deg,#f8fafc,#fff);padding:92px 0}
.section-heading{max-width:760px;margin-bottom:34px}
.section-heading.narrow{max-width:720px}
.cards{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:1px;background:var(--line);border:1px solid var(--line)}
.card{background:#fff;padding:30px;min-height:235px}
.service-icon{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:#eff5fb;color:#0b86f4;font-size:22px;margin-bottom:18px}
.card h3{margin-bottom:10px;font-size:1.28rem}
.card p{color:var(--muted);font-size:.98rem}

.process{padding:92px 0;background:#fff;border-top:1px solid #edf1f4}
.process-grid{display:grid;grid-template-columns:320px 1fr;gap:42px;align-items:start}
.process-intro{padding:18px 0}
.process-intro h3{margin-bottom:14px}
.process-intro p{color:var(--muted);font-size:1rem}
.process-intro p + p{margin-top:14px}
.stages{display:grid;grid-template-columns:repeat(3, minmax(0,1fr));gap:18px}
.stage{border:1px solid var(--line);padding:14px;background:#fff;border-radius:12px;box-shadow:0 6px 22px rgba(8,20,33,.04)}
.stage img,.support-tile{width:100%;height:116px;object-fit:cover;border-radius:8px;margin-bottom:12px}
.support-tile{display:grid;place-items:center;background:linear-gradient(180deg,#183049,#0d2235);color:#fff;font-size:56px}
.stage h4{font-size:1rem;line-height:1.3;margin-bottom:8px}
.stage p{font-size:.92rem;color:var(--muted);line-height:1.5}

.applications{padding:36px 0;background:#0a1927;color:#fff}
.application-tags{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}
.application-tags span{padding:8px 12px;border-radius:999px;border:1px solid #34495c;color:#dfe8f0;font-size:.93rem}

.example{padding:92px 0;background:#f7f9fc}
.example-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:36px;align-items:center}
.example-grid p{color:var(--muted);font-size:1.03rem;margin-bottom:20px}
.example-art{display:flex;justify-content:center}
.tech-panel{position:relative;width:min(100%, 470px);height:270px;border-radius:18px;overflow:hidden;background:linear-gradient(180deg,#16324c 0%,#0f2235 54%,#091420 100%);box-shadow:0 22px 50px rgba(10,20,30,.18)}
.tech-sky{position:absolute;inset:0;background:linear-gradient(180deg,#87a7be 0%,#37526a 34%,#15293c 56%,#0f2235 100%)}
.tech-brand{position:absolute;left:28px;bottom:78px;display:flex;align-items:center;gap:10px;color:#fff}
.tech-brand b{font-size:60px;letter-spacing:-.09em;line-height:1}
.tech-brand span{font-size:14px;font-weight:800;letter-spacing:.14em;line-height:1.05}
.tech-brand small{font-size:9px;letter-spacing:.18em}
.tech-panel p{position:absolute;left:28px;bottom:28px;color:#fff;font-size:14px;font-weight:760;letter-spacing:.08em;margin:0;max-width:320px}

.cta{position:relative;min-height:340px;background:#08131f;color:#fff;overflow:hidden}
.cta-photo{position:absolute;inset:0;background:url('assets/cta-shelter-sunset.png') center/cover no-repeat}
.cta-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,19,31,.88) 0%,rgba(7,19,31,.78) 34%,rgba(7,19,31,.48) 58%,rgba(7,19,31,.18) 78%,rgba(7,19,31,.06) 100%)}
.cta-content{position:relative;display:flex;align-items:center;min-height:340px;padding:40px 0}
.cta-copy{max-width:620px}
.cta-copy p:not(.eyebrow){color:#d0dae3;font-size:1rem;margin-bottom:22px}

footer{background:#04101a;color:#8496a6}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 0;font-size:.88rem}
.footer-inner div{display:flex;gap:20px;flex-wrap:wrap}

.legal{padding:70px 0 100px;background:#f7f9fb;min-height:calc(100vh - 136px)}
.legal h1{font-size:3.2rem;margin-bottom:24px}
.legal-box{background:#fff;border:1px solid var(--line);border-radius:12px;padding:28px;max-width:900px}
.legal-box p{margin:0 0 18px}
.legal-box p:last-child{margin-bottom:0}
.legal-note{margin-top:18px;max-width:900px;color:#734f00;background:#fff6d8;border:1px solid #ead58d;border-radius:10px;padding:14px 16px}

@media (max-width: 1080px){
  .desktop-nav{display:none}
  .logo{min-width:0}
  .hero{min-height:700px}
  .hero-photo{width:72%}
  .problem,.process-grid,.example-grid{grid-template-columns:1fr}
  .cards{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width: 760px){
  .shell{width:calc(100% - 34px)}
  .site-header{height:70px;padding:0 18px;gap:18px}
  .logo > strong{font-size:39px}
  .logo span{font-size:12px}
  .header-cta{font-size:0;padding:10px 12px}
  .header-cta::before{content:'✉';font-size:15px}
  h1{font-size:2.55rem}
  .hero{min-height:760px}
  .hero-photo{width:100%;opacity:.55}
  .hero-shade{background:linear-gradient(180deg,rgba(7,21,33,.58),#071521 56%,#071521 100%)}
  .hero-content{padding:56px 0 40px}
  .hero-lead{font-size:1.16rem}
  .hero-benefits{grid-template-columns:1fr;gap:18px;margin-top:34px}
  .problem{padding:68px 0;gap:24px}
  .services,.process,.example{padding:68px 0}
  .cards{grid-template-columns:1fr}
  .stages{grid-template-columns:1fr}
  .example-grid{gap:28px}
  .cta,.cta-content{min-height:400px}
  .cta-overlay{background:linear-gradient(180deg,rgba(7,19,31,.55),rgba(7,19,31,.80) 45%,rgba(7,19,31,.88) 100%)}
  .cta-copy{max-width:100%}
  .footer-inner{flex-direction:column;align-items:flex-start}
}
@media (max-width: 460px){
  .logo span{display:none}
}


/* V4 refinements */
.section-copy{color:var(--muted);font-size:1.04rem;max-width:760px;margin-top:8px}
.fit-band{background:#eef4f9;border-top:1px solid #e3ebf2;border-bottom:1px solid #dde7ef}
.fit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0}
.fit-grid article{padding:34px 30px;border-right:1px solid #d6e1ea}
.fit-grid article:first-child{padding-left:0}
.fit-grid article:last-child{border-right:0;padding-right:0}
.fit-grid span{display:block;color:#0b86f4;font-size:.78rem;font-weight:800;letter-spacing:.14em;margin-bottom:12px}
.fit-grid h3{font-size:1.16rem;margin-bottom:8px}
.fit-grid p{color:var(--muted);font-size:.95rem;line-height:1.55}
.principle-box{margin-top:24px;padding:18px 20px;border-left:3px solid #0b86f4;background:#f4f8fc}
.principle-box strong{display:block;margin-bottom:6px}
.principle-box p{font-size:.94rem}
.applications-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:center}
.applications h2{color:#fff;font-size:2.15rem;margin:0}
.applications .application-tags{margin-top:0;justify-content:flex-start}
@media(max-width:1080px){.fit-grid{grid-template-columns:1fr}.fit-grid article{border-right:0;border-bottom:1px solid #d6e1ea;padding:28px 0}.fit-grid article:last-child{border-bottom:0}.applications-grid{grid-template-columns:1fr}.applications .application-tags{margin-top:6px}}

.header-email{font-size:13px;font-weight:700;color:#dfe7ef;white-space:nowrap;margin-left:auto}
.email-display,.contact-email{display:inline-flex;align-items:center;border:1px solid rgba(255,255,255,.26);border-radius:8px;padding:13px 18px;font-size:14px;font-weight:760;color:#fff;background:rgba(255,255,255,.04)}
.contact-email{font-size:1.05rem;background:rgba(255,255,255,.08)}
@media(max-width:760px){.header-email{font-size:11px}.email-display,.contact-email{font-size:13px}}
@media(max-width:520px){.header-email{display:none}}


/* Contact popup */
button{font:inherit}
.contact-trigger{border:0;cursor:pointer}
.contact-modal{
  position:fixed;
  inset:0;
  z-index:200;
  display:grid;
  place-items:center;
  padding:24px;
  visibility:hidden;
  opacity:0;
  transition:opacity .18s ease, visibility .18s ease;
}
.contact-modal.is-open{
  visibility:visible;
  opacity:1;
}
.contact-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(3,12,20,.72);
  backdrop-filter:blur(4px);
}
.contact-modal-card{
  position:relative;
  z-index:1;
  width:min(520px,100%);
  background:#fff;
  color:var(--ink);
  border-radius:16px;
  padding:34px;
  box-shadow:0 28px 80px rgba(0,0,0,.28);
}
.contact-modal-card h2{
  font-size:2rem;
  margin-bottom:12px;
}
.contact-modal-copy{
  color:var(--muted);
  margin-bottom:18px;
}
.contact-modal-close{
  position:absolute;
  top:12px;
  right:14px;
  width:38px;
  height:38px;
  border:0;
  border-radius:50%;
  background:#eef3f7;
  color:#24384a;
  font-size:24px;
  line-height:1;
  cursor:pointer;
}
.contact-address-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#f7f9fb;
  padding:12px 12px 12px 16px;
}
.contact-address-row span{
  font-weight:750;
  overflow-wrap:anywhere;
}
.copy-email{
  border:0;
  border-radius:7px;
  background:var(--blue);
  color:#fff;
  padding:9px 13px;
  font-weight:750;
  cursor:pointer;
}
.copy-status{
  min-height:1.4em;
  margin-top:10px;
  color:#526274;
  font-size:.88rem;
}
.modal-open{overflow:hidden}
@media(max-width:520px){
  .contact-modal-card{padding:28px 20px 22px}
  .contact-address-row{align-items:stretch;flex-direction:column}
  .copy-email{width:100%}
}

.contact-modal[hidden]{display:none !important;}


/* ===== homepage inline style | home only ===== */
:where(html.j5-home) .project-example-visual{
      position:relative;
      display:block;
      width:min(100%, 610px);
      margin-left:auto;
      border-radius:18px;
      overflow:hidden;
      background:#102338;
      box-shadow:0 22px 50px rgba(10,20,30,.18);
    }
    :where(html.j5-home) .project-example-visual::after{
      content:"";
      position:absolute;
      inset:0;
      background:linear-gradient(180deg, rgba(8,18,30,.04) 0%, rgba(8,18,30,.12) 45%, rgba(8,18,30,.72) 100%);
      pointer-events:none;
    }
    :where(html.j5-home) .project-example-visual img{
      display:block;
      width:100%;
      height:312px;
      object-fit:cover;
      object-position:center;
    }
    :where(html.j5-home) .project-example-caption{
      position:absolute;
      left:24px;
      right:24px;
      bottom:22px;
      z-index:1;
      color:#fff;
      font-size:1rem;
      line-height:1.35;
      font-weight:800;
      letter-spacing:.075em;
      text-transform:uppercase;
      max-width:330px;
      text-shadow:0 2px 10px rgba(0,0,0,.3);
    }
    @media(max-width:760px){
      :where(html.j5-home) .project-example-visual{margin-left:0}
      :where(html.j5-home) .project-example-visual img{height:240px}
    }


/* ===== revised.css | both ===== */
:where(html.j5-home, html.j5-about) .hero{min-height:740px}:where(html.j5-home, html.j5-about) .hero-images{position:absolute;inset:0 0 0 34%;overflow:hidden}:where(html.j5-home, html.j5-about) .hero-image{position:absolute;inset:0;background-size:cover;background-position:center;opacity:0;transition:opacity 1s ease;transform:scale(1.02)}:where(html.j5-home, html.j5-about) .hero-image.active{opacity:1;animation:drift 12s ease-out both}:where(html.j5-home, html.j5-about) .hero-shade{background:linear-gradient(90deg,#071521 0%,#071521 28%,rgba(7,21,33,.96) 43%,rgba(7,21,33,.6) 66%,rgba(7,21,33,.15))}:where(html.j5-home, html.j5-about) .hero-content{padding-top:70px;padding-bottom:38px}:where(html.j5-home, html.j5-about) .hero-slide{min-height:365px;max-width:700px}:where(html.j5-home, html.j5-about) .hero-slide[hidden]{display:none}:where(html.j5-home, html.j5-about) .hero-title{font-size:clamp(2.8rem,5vw,4.15rem);line-height:1.04;letter-spacing:-.045em;max-width:690px;margin-bottom:20px}:where(html.j5-home, html.j5-about) .hero h1{line-height:1.04}:where(html.j5-home, html.j5-about) .hero-lead{max-width:610px;font-size:1.25rem;margin-bottom:15px}:where(html.j5-home, html.j5-about) .hero-copy{max-width:580px;font-size:1.04rem}:where(html.j5-home, html.j5-about) .hero-controls{display:flex;align-items:center;gap:22px;margin-top:27px}:where(html.j5-home, html.j5-about) .slide-selectors{display:flex;gap:8px}:where(html.j5-home, html.j5-about) .slide-dot,
:where(html.j5-home, html.j5-about) .slide-pause{border:1px solid #536777;color:#dce7f1;background:rgba(6,19,31,.65);padding:8px 13px;border-radius:5px;cursor:pointer;font-size:12px}:where(html.j5-home, html.j5-about) .slide-dot.active{background:#0b86f4;border-color:#0b86f4;color:white}:where(html.j5-home, html.j5-about) .slide-pause{border:0;background:transparent;text-decoration:underline;text-underline-offset:4px}:where(html.j5-home, html.j5-about) .hero-benefits{margin-top:30px;max-width:760px;gap:18px}:where(html.j5-home, html.j5-about) .benefit{align-items:center;font-size:1rem}:where(html.j5-home, html.j5-about) .benefit-icon{font-size:24px}:where(html.j5-home, html.j5-about) .fit-grid{grid-template-columns:1fr 1fr}:where(html.j5-home, html.j5-about) .fit-grid article{padding:36px}:where(html.j5-home, html.j5-about) .fit-grid h3{font-size:1.5rem;max-width:390px}:where(html.j5-home, html.j5-about) .fit-grid p{max-width:480px}:where(html.j5-home, html.j5-about) .problem h2{font-size:clamp(2rem,3.6vw,3rem)}:where(html.j5-home, html.j5-about) .delivery-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}:where(html.j5-home, html.j5-about) .delivery-grid article{border-top:2px solid #0b86f4;padding-top:22px}:where(html.j5-home, html.j5-about) .delivery-grid span{color:#0b86f4;font-size:.85rem;font-weight:800}:where(html.j5-home, html.j5-about) .delivery-grid h3{margin:14px 0 10px;font-size:1.3rem}:where(html.j5-home, html.j5-about) .delivery-grid p{color:var(--muted)}:where(html.j5-home, html.j5-about) .menu-toggle{display:none}:where(html.j5-home, html.j5-about) a:focus-visible,
:where(html.j5-home, html.j5-about) button:focus-visible{outline:3px solid #59b5ff;outline-offset:4px}:where(html.j5-home, html.j5-about) section[id]{scroll-margin-top:95px}:where(html.j5-home, html.j5-about) .contact-address-row a{font-weight:750;overflow-wrap:anywhere}:where(html.j5-home, html.j5-about) .card{min-height:225px}:where(html.j5-home, html.j5-about) .example-grid p{max-width:620px}:where(html.j5-home, html.j5-about) .hero-actions .button{min-height:47px}
@keyframes drift{from{transform:scale(1.02)}to{transform:scale(1.085)}}
:where(html.j5-home, html.j5-about) .hero.paused .hero-image{animation-play-state:paused}
@media(max-width:1080px){:where(html.j5-home, html.j5-about) .menu-toggle{display:block;margin-left:auto;border:1px solid #536777;background:none;color:#fff;border-radius:5px;padding:8px 12px;cursor:pointer}:where(html.j5-home, html.j5-about) .desktop-nav.open{display:flex;position:absolute;top:76px;left:0;right:0;height:auto;background:#06131f;padding:24px;flex-wrap:wrap;gap:24px}:where(html.j5-home, html.j5-about) .hero-images{left:20%}:where(html.j5-home, html.j5-about) .delivery-grid{grid-template-columns:repeat(2,1fr)}:where(html.j5-home, html.j5-about) .fit-grid article:first-child{padding-left:24px}:where(html.j5-home, html.j5-about) .fit-grid article:last-child{padding-right:24px}:where(html.j5-home, html.j5-about) .fit-grid article{border-bottom:0}:where(html.j5-home, html.j5-about) .header-cta{margin-left:0}:where(html.j5-home, html.j5-about) .logo{min-width:0}}
@media(max-width:760px){:where(html.j5-home, html.j5-about) .hero{min-height:0}:where(html.j5-home, html.j5-about) .hero-images{left:0;opacity:.7}:where(html.j5-home, html.j5-about) .hero-shade{background:linear-gradient(90deg,rgba(7,21,33,.96),rgba(7,21,33,.83) 65%,rgba(7,21,33,.65))}:where(html.j5-home, html.j5-about) .hero-content{padding:45px 0 30px}:where(html.j5-home, html.j5-about) .hero-slide{min-height:365px}:where(html.j5-home, html.j5-about) .hero-title,
:where(html.j5-home, html.j5-about) .hero h1{font-size:clamp(2.2rem,8.2vw,3rem);max-width:590px}:where(html.j5-home, html.j5-about) .hero-lead{font-size:1.1rem}:where(html.j5-home, html.j5-about) .hero-copy{font-size:1rem}:where(html.j5-home, html.j5-about) .hero .eyebrow{font-size:10px;letter-spacing:.11em}:where(html.j5-home, html.j5-about) .hero-benefits{grid-template-columns:1fr;gap:12px;margin-top:25px}:where(html.j5-home, html.j5-about) .fit-grid{grid-template-columns:1fr}:where(html.j5-home, html.j5-about) .fit-grid article,
:where(html.j5-home, html.j5-about) .fit-grid article:first-child,
:where(html.j5-home, html.j5-about) .fit-grid article:last-child{padding:30px 0;border-bottom:1px solid #d6e1ea}:where(html.j5-home, html.j5-about) .fit-grid article:last-child{border-bottom:0}:where(html.j5-home, html.j5-about) .desktop-nav.open{top:70px;flex-direction:column;align-items:flex-start}:where(html.j5-home, html.j5-about) .delivery-grid{gap:30px 20px}:where(html.j5-home, html.j5-about) .logo span{display:block!important;font-size:10px}:where(html.j5-home, html.j5-about) .logo small{font-size:8px}:where(html.j5-home, html.j5-about) .site-header{gap:12px}:where(html.j5-home, html.j5-about) .menu-toggle{font-size:12px}:where(html.j5-home, html.j5-about) .problem{padding:55px 0}:where(html.j5-home, html.j5-about) .section-copy{font-size:1rem}}
@media(max-width:420px){:where(html.j5-home, html.j5-about) .hero-slide{min-height:390px}:where(html.j5-home, html.j5-about) .delivery-grid{grid-template-columns:1fr}:where(html.j5-home, html.j5-about) .hero-actions{gap:10px}:where(html.j5-home, html.j5-about) .hero-actions .button{font-size:12px;padding:12px}:where(html.j5-home, html.j5-about) .logo>strong{font-size:34px}}
@media(prefers-reduced-motion:reduce){:where(html.j5-home, html.j5-about){scroll-behavior:auto}:where(html.j5-home, html.j5-about) .hero-image,
:where(html.j5-home, html.j5-about) .hero-image.active{animation:none;transition:none;transform:none}}

/* V8.2: broader solution services without changing the existing six-card presentation */
:where(html.j5-home, html.j5-about) .capability-row-heading{grid-column:1/-1;background:#f2f6fa;color:#173149;font-size:1.06rem;letter-spacing:.015em;padding:16px 26px;margin:0}
:where(html.j5-home, html.j5-about) .capability-row-heading-second{border-top:1px solid #d6e1ea}
:where(html.j5-home, html.j5-about) .capability-areas{padding-top:32px}
:where(html.j5-home, html.j5-about) .capability-areas h3{font-size:1.35rem;margin:0 0 15px}
:where(html.j5-home, html.j5-about) .capability-tags{display:flex;flex-wrap:wrap;gap:10px}
:where(html.j5-home, html.j5-about) .capability-tags span{padding:9px 14px;border-radius:999px;border:1px solid #d6e1ea;background:#f4f8fc;color:#26435f;font-size:.92rem;font-weight:600}
@media(max-width:600px){:where(html.j5-home, html.j5-about) .capability-row-heading{padding:14px 20px}}


/* ===== v6.css | home ===== */
/* V6 audience offering: intentionally isolated from existing site components */
:where(html.j5-home) .fit-band{padding:74px 0 82px;background:#f1f5f9}
:where(html.j5-home) .audience-heading{max-width:850px;margin:0 auto 38px;text-align:center}
:where(html.j5-home) .audience-heading h2{font-size:clamp(1.9rem,3.4vw,2.75rem);line-height:1.13;letter-spacing:-.035em;color:#0b1929}
:where(html.j5-home) .audience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:stretch}
:where(html.j5-home) .audience-card{background:#fff;padding:34px;border:1px solid #dce6ef;border-radius:15px;display:flex;flex-direction:column;box-shadow:0 7px 26px rgba(9,26,44,.035)}
:where(html.j5-home) .audience-label{color:#1765a7;font-weight:800;font-size:.78rem;letter-spacing:.13em;margin:0 0 13px}
:where(html.j5-home) .audience-card h3{font-size:clamp(1.55rem,2.25vw,2.15rem);line-height:1.17;letter-spacing:-.035em;margin:0 0 18px;color:#101e30}
:where(html.j5-home) .audience-card>p:not(.audience-label){color:#46576b;font-size:1rem;line-height:1.65;margin:0 0 16px}
:where(html.j5-home) .audience-card .audience-advantage{background:#eef6fd;border-left:3px solid #1689da;padding:14px 17px;color:#20374e!important;border-radius:0 8px 8px 0}
@media(max-width:850px){:where(html.j5-home) .audience-grid{grid-template-columns:1fr}:where(html.j5-home) .audience-card{padding:25px}:where(html.j5-home) .fit-band{padding:55px 0}}


/* ===== v7.css | both ===== */
/* V7: stable carousel and dedicated about page */
/* All slides participate in grid sizing; only the active slide is visible. */
:where(html.j5-home, html.j5-about) .hero-content{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:repeat(4,auto)}
:where(html.j5-home, html.j5-about) .hero-slide{grid-column:1;grid-row:1;min-height:0;max-width:700px;visibility:hidden;opacity:0;pointer-events:none}
:where(html.j5-home, html.j5-about) .hero-slide[hidden]{display:block!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
:where(html.j5-home, html.j5-about) .hero-slide.active:not([hidden]){visibility:visible;opacity:1;pointer-events:auto}
:where(html.j5-home, html.j5-about) .hero-actions{grid-column:1;grid-row:2}:where(html.j5-home, html.j5-about) .hero-controls{grid-column:1;grid-row:3}:where(html.j5-home, html.j5-about) .hero-benefits{grid-column:1;grid-row:4}
:where(html.j5-home, html.j5-about) .about-intro{padding:82px 0;background:#f7fafc}:where(html.j5-home, html.j5-about) .about-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px;align-items:center}:where(html.j5-home, html.j5-about) .about-intro-grid p{color:#4c6076;margin-bottom:17px}:where(html.j5-home, html.j5-about) .about-intro-grid .button{margin-top:10px}
:where(html.j5-home, html.j5-about) .about-page{background:#f7f9fb}:where(html.j5-home, html.j5-about) .about-hero{padding:110px 0 105px;background:linear-gradient(100deg,#071725,#11365a);color:#fff}:where(html.j5-home, html.j5-about) .about-hero .shell{max-width:1080px}:where(html.j5-home, html.j5-about) .about-hero h1{max-width:850px}:where(html.j5-home, html.j5-about) .about-hero p:not(.eyebrow){max-width:760px;color:#dbe8f4;font-size:1.07rem;margin:15px 0}:where(html.j5-home, html.j5-about) .about-hero .about-lead{font-weight:700;color:white!important;font-size:1.32rem!important}
:where(html.j5-home, html.j5-about) .about-details,
:where(html.j5-home, html.j5-about) .experience-sectors,
:where(html.j5-home, html.j5-about) .about-founders{padding:88px 0}:where(html.j5-home, html.j5-about) .about-details h2,
:where(html.j5-home, html.j5-about) .experience-sectors h2,
:where(html.j5-home, html.j5-about) .about-founders h2{max-width:780px}:where(html.j5-home, html.j5-about) .about-capabilities{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:38px}:where(html.j5-home, html.j5-about) .about-capabilities article,
:where(html.j5-home, html.j5-about) .founder-card{background:#fff;border:1px solid #dce7f0;border-radius:13px;padding:24px}:where(html.j5-home, html.j5-about) .about-capabilities h3{font-size:1.2rem;margin-bottom:12px}:where(html.j5-home, html.j5-about) .about-capabilities p,
:where(html.j5-home, html.j5-about) .experience-sectors p,
:where(html.j5-home, html.j5-about) .founder-card p{color:#4a6074}:where(html.j5-home, html.j5-about) .experience-sectors{background:#ecf3f8}:where(html.j5-home, html.j5-about) .experience-sectors p{max-width:850px}:where(html.j5-home, html.j5-about) .sector-list{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:30px}:where(html.j5-home, html.j5-about) .sector-list>div{background:#fff;border:1px solid #d8e5f0;border-radius:9px;padding:22px;display:flex;flex-direction:column;gap:8px}:where(html.j5-home, html.j5-about) .sector-list span{color:#285d8b}:where(html.j5-home, html.j5-about) .founder-intro{max-width:880px;color:#4a6074;margin-bottom:30px}:where(html.j5-home, html.j5-about) .founder-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}:where(html.j5-home, html.j5-about) .founder-card{display:flex;flex-direction:column;gap:18px}:where(html.j5-home, html.j5-about) .founder-card h3{font-size:1.55rem;margin-bottom:6px}:where(html.j5-home, html.j5-about) .founder-card p{margin-top:14px}:where(html.j5-home, html.j5-about) .founder-card .founder-role{color:#1674b6;font-weight:750;margin:0}:where(html.j5-home, html.j5-about) .portrait-placeholder{height:160px;max-width:170px;border-radius:11px;background:linear-gradient(140deg,#173e61,#0a1d32);display:flex;align-items:center;justify-content:center;font-size:2.2rem;color:#e4f3ff;letter-spacing:.06em}:where(html.j5-home, html.j5-about) .about-end{background:#0a1b2b;color:#fff;padding:76px 0}:where(html.j5-home, html.j5-about) .about-end p{max-width:760px;color:#ccdce9;margin-bottom:25px}
@media(max-width:920px){:where(html.j5-home, html.j5-about) .about-capabilities{grid-template-columns:repeat(2,minmax(0,1fr))}:where(html.j5-home, html.j5-about) .founder-grid{grid-template-columns:1fr}:where(html.j5-home, html.j5-about) .about-intro-grid{grid-template-columns:1fr}:where(html.j5-home, html.j5-about) .about-hero{padding:75px 0}}
@media(max-width:600px){:where(html.j5-home, html.j5-about) .sector-list,
:where(html.j5-home, html.j5-about) .about-capabilities{grid-template-columns:1fr}:where(html.j5-home, html.j5-about) .about-details,
:where(html.j5-home, html.j5-about) .experience-sectors,
:where(html.j5-home, html.j5-about) .about-founders{padding:58px 0}:where(html.j5-home, html.j5-about) .about-intro{padding:58px 0}:where(html.j5-home, html.j5-about) .hero-content{padding-top:45px}:where(html.j5-home, html.j5-about) .hero-slide{max-width:100%}}


/* ===== v7-1.css | about ===== */
/* V7.1 streamlined About page */
:where(html.j5-about) .about-v71-hero{padding:86px 0 82px}:where(html.j5-about) .about-v71-hero h1{max-width:820px;font-size:clamp(2.1rem,4.4vw,3.65rem);line-height:1.1}:where(html.j5-about) .about-v71-hero p:not(.eyebrow){max-width:780px;line-height:1.75}:where(html.j5-about) .about-v71-hero .about-lead{margin-top:24px}
:where(html.j5-about) .founders-v71{padding:72px 0 80px}:where(html.j5-about) .founders-v71 .founder-intro{margin:16px 0 34px}:where(html.j5-about) .founder-card-v71{display:grid;grid-template-columns:155px minmax(0,1fr);gap:22px;padding:24px;align-items:start}:where(html.j5-about) .founder-card-v71 .founder-profile p{line-height:1.62;font-size:.96rem}:where(html.j5-about) .founder-card-v71 h3{font-size:1.33rem}:where(html.j5-about) .founder-card-v71 .founder-role{font-size:.93rem}:where(html.j5-about) .founder-photo-placeholder{width:155px;height:185px;background:linear-gradient(145deg,#e2eaf1,#cad9e6);border:1px solid #c9d9e6;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;color:#2e5879;gap:9px}:where(html.j5-about) .founder-photo-placeholder span{font-size:2rem;font-weight:800}:where(html.j5-about) .founder-photo-placeholder small{font-size:10px;text-align:center;padding:0 8px}:where(html.j5-about) .founder-link{display:inline-flex;font-weight:750;color:#117ac3;text-decoration:none;margin-top:16px}:where(html.j5-about) .founder-link:hover{text-decoration:underline}
:where(html.j5-about) .experience-v71{background:#ecf3f8;padding:48px 0 54px;border-top:1px solid #dae5ee}:where(html.j5-about) .experience-v71 h2{font-size:clamp(1.45rem,2.6vw,2rem);margin:10px 0 5px}:where(html.j5-about) .experience-disclaimer,
:where(html.j5-about) .experience-footnote{font-size:.9rem;color:#496479;max-width:780px}:where(html.j5-about) .experience-window{overflow:hidden;margin-top:26px;border:1px solid #d9e5ef;border-radius:12px;background:white}:where(html.j5-about) .experience-track{display:flex;width:max-content;animation:experience-marquee 35s linear infinite}:where(html.j5-about) .experience-window:hover .experience-track,
:where(html.j5-about) .experience-window:focus .experience-track{animation-play-state:paused}:where(html.j5-about) .experience-entry{width:270px;min-height:116px;flex:0 0 270px;border-right:1px solid #e4edf3;display:flex;flex-wrap:wrap;align-content:center;align-items:center;gap:7px 13px;padding:21px 24px}:where(html.j5-about) .experience-entry small{width:100%;font-size:.68rem;color:#557188;letter-spacing:.08em;font-weight:700}:where(html.j5-about) .experience-entry strong{font-size:1.13rem;color:#193d5a}:where(html.j5-about) .experience-footnote{font-size:.78rem;margin-top:14px}:where(html.j5-about) .about-end{padding:56px 0 64px}
@keyframes experience-marquee{to{transform:translateX(-1080px)}}
@media(max-width:900px){:where(html.j5-about) .founder-card-v71{grid-template-columns:125px 1fr}:where(html.j5-about) .founder-photo-placeholder{width:125px;height:155px}}
@media(max-width:600px){:where(html.j5-about) .founders-v71{padding:52px 0}:where(html.j5-about) .founder-card-v71{grid-template-columns:1fr}:where(html.j5-about) .founder-photo-placeholder{width:135px;height:145px}:where(html.j5-about) .about-v71-hero{padding:65px 0}:where(html.j5-about) .experience-entry{width:235px;flex-basis:235px}:where(html.j5-about) .experience-track{animation:none;width:max-content}:where(html.j5-about) .experience-window{overflow-x:auto}}
@media(prefers-reduced-motion:reduce){:where(html.j5-about) .experience-track{animation:none}:where(html.j5-about) .experience-window{overflow-x:auto}}

/* V7.1 corrected About content */
:where(html.j5-about) .founder-card-v71{display:grid;grid-template-columns:155px minmax(0,1fr);gap:22px;align-items:start}
:where(html.j5-about) .founder-card-v71 .founder-profile{min-width:0}
:where(html.j5-about) .about-v71-hero{background:linear-gradient(110deg,#071725,#11365a);color:#fff}
:where(html.j5-about) .about-v71-hero p:not(.eyebrow){color:#dbe8f4}
@media(max-width:600px){:where(html.j5-about) .founder-card-v71{grid-template-columns:1fr}}

/* V7.2 founder portrait slots: display supplied portraits when present */
:where(html.j5-about) .founder-photo-slot{position:relative;overflow:hidden}
:where(html.j5-about) .founder-photo-slot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 16%;z-index:1}


/* ===== about page inline style | about only ===== */
:where(html.j5-about) .experience-v71 .experience-heading-simple{font-size:clamp(1.3rem,2.1vw,1.75rem);letter-spacing:.055em;line-height:1.2;margin:0 0 22px;font-weight:800}:where(html.j5-about) .experience-v71 .experience-footnote{font-size:.77rem;line-height:1.6;color:#63788d;margin-top:14px}


/* ===== v8.css | home ===== */
/* V8 content expansion; existing typography, colors and cards retained. */
:where(html.j5-home) .assessment-v8{margin:1.6rem 0 2rem;padding:clamp(1.4rem,3vw,2.2rem);background:#eef5fb;border:1px solid #d7e5f1;border-left:4px solid #168def;border-radius:15px;color:#101a2b}
:where(html.j5-home) .assessment-v8 h3{font-size:clamp(1.45rem,2.5vw,2.05rem);line-height:1.18;max-width:820px;margin:.75rem 0 1rem}
:where(html.j5-home) .assessment-v8 p:not(.eyebrow){max-width:920px;line-height:1.65;margin:.65rem 0;color:#34445b}
:where(html.j5-home) .assessment-v8 .assessment-note-v8{font-size:.92rem;border-top:1px solid #d5e1ec;margin-top:1.2rem!important;padding-top:1rem}
@media(max-width:700px){:where(html.j5-home) .assessment-v8{margin:1.2rem 0 1.5rem}}

/* V8.3: concise service overview and compact scan-friendly cards. */
:where(html.j5-home) .services .services-second-intro{margin-top:.65rem}
:where(html.j5-home) .services .assessment-v8{margin:1.7rem 0 2rem}
:where(html.j5-home) .services .cards .card{padding:20px 24px;min-height:164px}
:where(html.j5-home) .services .cards .service-icon{width:36px;height:36px;font-size:18px;margin-bottom:10px}
:where(html.j5-home) .services .cards .card h3{font-size:1.08rem;line-height:1.3;margin-bottom:6px}
:where(html.j5-home) .services .cards .card p{font-size:.91rem;line-height:1.5}
:where(html.j5-home) .services .capability-row-heading{padding:13px 24px;font-size:1rem}
@media(max-width:600px){:where(html.j5-home) .services .cards .card{padding:19px 20px;min-height:0}:where(html.j5-home) .services .capability-row-heading{padding:13px 20px}}


/* ===== v8-5.css | home ===== */
/* V8.5: two messages, each with two sequential visuals. Text and layout stay fixed. */
:where(html.j5-home) .hero-image.hero-pair{background:none!important; transform:none!important; animation:none!important; overflow:hidden;}
:where(html.j5-home) .hero-pair-scene{position:absolute;inset:0;background-size:cover;background-position:center;transition:opacity .38s ease-in-out;}
:where(html.j5-home) .hero-pair-scene.scene-a{opacity:1;}
:where(html.j5-home) .hero-pair-scene.scene-b{opacity:0;}
:where(html.j5-home) .hero-image.hero-pair.phase-b .scene-a{opacity:0;}
:where(html.j5-home) .hero-image.hero-pair.phase-b .scene-b{opacity:1;}
@media(prefers-reduced-motion:reduce){:where(html.j5-home) .hero-pair-scene{transition:none!important}}


/* ===== v8-6.css | home ===== */
/* V8.6: compact, separate cards with softer edges; preserves the established palette. */
:where(html.j5-home) .services .cards{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  background:transparent;
  border:0;
}
:where(html.j5-home) .services .capability-row-heading,
:where(html.j5-home) .services .capability-row-heading-second{
  grid-column:1/-1;
  padding:8px 0 7px;
  border:0;
  background:transparent;
  color:#173149;
  font-size:1.04rem;
  line-height:1.35;
}
:where(html.j5-home) .services .capability-row-heading-second{ margin-top:6px; }
:where(html.j5-home) .services .cards .card{
  min-height:138px;
  padding:16px 18px;
  border:1px solid #dce6ef;
  border-radius:12px;
  background:#fff;
  box-shadow:0 5px 18px rgba(9,26,44,.035);
}
:where(html.j5-home) .services .cards .service-icon{
  width:32px;
  height:32px;
  font-size:16px;
  margin-bottom:8px;
}
:where(html.j5-home) .services .cards .card h3{font-size:1rem;line-height:1.26;margin-bottom:6px;}
:where(html.j5-home) .services .cards .card p{font-size:.88rem;line-height:1.45;}
@media(max-width:900px){
  :where(html.j5-home) .services .cards{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  :where(html.j5-home) .services .cards{grid-template-columns:1fr;gap:10px;}
  :where(html.j5-home) .services .cards .card{min-height:0;padding:15px 17px;}
  :where(html.j5-home) .services .capability-row-heading{padding:7px 0 5px;}
}



/* V8.8 — Keep the complete handshake scene inside the short contact banner.
   The source image is much taller than the banner; 'cover' cropped heads.
   Fit by height, anchor at the right and blend gently into the navy text area. */
html.j5-home .cta-photo{
  background-color:#08131f;
  background-size:auto 100%;
  background-position:right center;
  background-repeat:no-repeat;
  -webkit-mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,black 73%,black 100%);
  mask-image:linear-gradient(90deg,transparent 0%,transparent 45%,black 73%,black 100%);
}
@media (max-width:760px){
  html.j5-home .cta-photo{
    background-position:80% center;
    -webkit-mask-image:linear-gradient(90deg,rgba(0,0,0,.5),black 80%);
    mask-image:linear-gradient(90deg,rgba(0,0,0,.5),black 80%);
  }
}

/* V8.8 — Optional Teknology Lab video over the existing static image.
   Until video playback actually starts (or when file is absent), show the PNG. */
html.j5-home .project-example-visual .project-example-video{
  position:absolute;
  inset:0;
  display:block;
  width:100%;
  height:312px;
  object-fit:cover;
  object-position:center;
  opacity:0;
  pointer-events:none;
  transition:opacity .3s ease;
}
html.j5-home .project-example-visual.has-video .project-example-video{opacity:1}
@media (max-width:760px){
  html.j5-home .project-example-visual .project-example-video{height:240px}
}
@media (prefers-reduced-motion:reduce){
  html.j5-home .project-example-visual .project-example-video{transition:none}
}

/* J5 V8.9 — Wider desktop layout. Keep hero, menus and all pages responsive.
   Homepage only; About and legal pages retain their approved column widths.
   Edit --shell below to change the desktop maximum width. */
@media (min-width: 1081px) {
  html.j5-home { --shell: 1440px; }

  /* The service and process introductions were restricted to 760px. */
  html.j5-home .services .section-heading,
  html.j5-home .process .section-heading { max-width: none; }

  /* Use the full desktop content width for introductory paragraphs. */
  html.j5-home .services .section-copy,
  html.j5-home .process .section-copy { max-width: none; }

  /* Allow the blue assessment panel to make use of the wider layout. */
  html.j5-home .services .assessment-v8 h3 { max-width: 1100px; }
  html.j5-home .services .assessment-v8 p:not(.eyebrow) { max-width: 1180px; }
}
