/* ==========================================================================
   LogicalFrame Multi-Page Corporate Site — Brand System v1.0
   Identity: Navy #12213D · Brand accent: Teal #0E7C86
   Interactive signal: Blue #2F6FED · Typography: Switzer + Inter
   ========================================================================== */

:root{
  /* LogicalFrame Color System v1.0 */
  --navy:#12213D;
  --navy-deep:#0B162B;
  --navy-700:#33456B;
  --navy-500:#6E7FA0;
  --navy-200:#C3CBDA;
  --navy-50:#EEF1F6;
  --teal:#0E7C86;
  --teal-light:#5FC7CF;
  --teal-wash:#E9F4F5;
  --signal:#2F6FED;
  --signal-hover:#2559C7;
  --signal-wash:#EDF3FF;
  --signal-border:#D4E0FB;
  --mist:#F5F7FA;
  --white:#FFFFFF;
  --slate:#8A94A6;

  /* Compatibility tokens used by the multi-page templates */
  --canvas:var(--white);
  --band:var(--mist);
  --ink:var(--navy);
  --charcoal:var(--navy-700);
  --hairline:var(--navy-200);
  --hairline-soft:var(--navy-50);
  --sky:var(--teal);
  --sky-soft:var(--teal-wash);
  --sky-border:#CDE6E8;
  --dark:var(--navy);
  --dark-2:var(--navy-deep);
  --on-dark:var(--navy-200);
  --on-dark-dim:#9BA9C1;
  --line-dark:rgba(255,255,255,.12);

  --sh-xs:0 1px 2px rgba(18,33,61,.05);
  --sh-sm:0 10px 30px rgba(18,33,61,.08);
  --sh-md:0 22px 60px rgba(18,33,61,.12);
  --sh-navy:0 10px 24px rgba(47,111,237,.24);

  --r-sm:10px;
  --r-md:16px;
  --r-lg:22px;
  --max:1180px;
  --font-display:'Switzer','Inter','Helvetica Neue',Arial,sans-serif;
  --font-body:'Inter','Helvetica Neue',Arial,sans-serif;
  --font:var(--font-body);
}

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:var(--font-body);
  font-size:16.5px;
  line-height:1.7;
  color:var(--charcoal);
  background:var(--canvas);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{max-width:100%;height:auto;display:block}
a{text-decoration:none;color:inherit}
ul{list-style:none;margin:0;padding:0}
button,input,textarea,select{font:inherit}
button{cursor:pointer}
::selection{background:var(--teal-wash);color:var(--navy)}

h1,h2,h3,h4{
  font-family:var(--font-display);
  font-weight:600;
  line-height:1.12;
  letter-spacing:-0.028em;
  color:var(--ink);
  margin:0 0 .5em;
  text-wrap:balance;
}
h1{font-size:clamp(2.3rem,4.4vw,3.5rem);letter-spacing:-0.032em}
h2{font-size:clamp(1.65rem,3vw,2.3rem)}
h3{font-size:1.18rem;letter-spacing:-0.015em;line-height:1.3;font-weight:600}
p{margin:0 0 1em}

:focus-visible{outline:2px solid var(--signal);outline-offset:3px;border-radius:6px}

/* ---------- Layout ---------- */
.lf-wrap{width:min(var(--max),calc(100% - 48px));margin-inline:auto}
.lf-section{padding:104px 0}
.lf-section-sm{padding:76px 0}
.lf-soft-section{background:var(--band);border-top:1px solid var(--hairline-soft);border-bottom:1px solid var(--hairline-soft)}
.lf-center{text-align:center}
.lf-center .lf-lead,.lf-center .lf-section-text{margin-inline:auto}

/* Former dark bands → quiet structural bands (60-30-10 discipline) */
.lf-dark{
  background:var(--band);
  border-top:1px solid var(--hairline-soft);
  border-bottom:1px solid var(--hairline-soft);
  color:var(--charcoal);
}
.lf-dark h1,.lf-dark h2,.lf-dark h3,.lf-dark h4{color:var(--ink)}
.lf-dark p{color:var(--charcoal)}

.lf-grid-2{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}
.lf-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.lf-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}

/* ---------- Eyebrows ---------- */
.lf-kicker,.lf-badge{
  display:inline-flex;align-items:center;gap:12px;
  font-size:.76rem;font-weight:650;
  letter-spacing:.14em;text-transform:uppercase;
  color:var(--teal);
}
.lf-kicker::before,.lf-badge::before{
  content:"";width:24px;height:2px;background:var(--teal);border-radius:2px;flex:0 0 auto;
}
.lf-badge{margin-bottom:16px}

/* ---------- Lead & section text ---------- */
.lf-lead{font-size:1.16rem;line-height:1.72;color:var(--charcoal);max-width:58ch}
.lf-section-text{color:var(--slate);max-width:52ch;font-size:1.02rem}

.lf-section-head{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);
  gap:24px 72px;
  align-items:end;
  margin-bottom:56px;
}
.lf-section-head h2{margin:16px 0 0}
.lf-section-head .lf-section-text{margin:0;padding-bottom:6px}

/* ---------- Buttons ---------- */
.lf-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:9px;
  padding:14px 28px;border-radius:var(--r-sm);
  font-weight:600;font-size:.95rem;letter-spacing:.002em;
  border:1px solid transparent;
  transition:transform .16s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease,color .2s ease;
  white-space:nowrap;
}
.lf-btn:active{transform:translateY(1px)}
.lf-btn-primary{
  background:var(--signal);
  color:#fff;
  box-shadow:var(--sh-navy);
}
.lf-btn-primary:hover{background:var(--signal-hover);transform:translateY(-1px);box-shadow:0 12px 26px rgba(30,58,138,.3)}
.lf-btn-secondary{
  background:var(--white);color:var(--ink);
  border-color:var(--hairline);
  box-shadow:var(--sh-xs);
}
.lf-btn-secondary:hover{border-color:#C7D2E4;color:var(--navy);transform:translateY(-1px);box-shadow:var(--sh-sm)}

/* ---------- Header ---------- */
.lf-site-header{position:sticky;top:0;z-index:120}
.lf-topbar{background:var(--dark)}
.lf-topbar-inner{
  display:flex;justify-content:space-between;align-items:center;gap:20px;
  padding:8px 0;font-size:.8rem;color:var(--on-dark-dim);
}
.lf-topbar-links{display:flex;gap:24px}
.lf-topbar-links a{color:var(--on-dark);font-weight:500;transition:color .15s}
.lf-topbar-links a:hover{color:#fff}
.lf-whatsapp{color:#9FC0FF!important}

.lf-nav{
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(1.5) blur(14px);
  -webkit-backdrop-filter:saturate(1.5) blur(14px);
  border-bottom:1px solid var(--hairline-soft);
  transition:box-shadow .25s ease,background .25s ease;
}
.lf-header-scrolled .lf-nav{background:rgba(255,255,255,.95);box-shadow:0 8px 28px rgba(15,23,42,.06)}
.lf-nav-inner{display:flex;align-items:center;gap:28px;padding:15px 0}
.lf-brand{display:inline-flex;align-items:center;flex:0 0 auto}
.lf-logo-img{height:40px;width:auto}
.lf-nav-menu{display:flex;gap:2px;margin-left:auto}
.lf-nav-menu a{
  padding:8px 13px;border-radius:8px;
  font-size:.92rem;font-weight:500;color:var(--charcoal);
  position:relative;
  transition:color .15s,background .15s;
}
.lf-nav-menu a:hover{color:var(--ink);background:var(--band)}
.lf-nav-menu a.active{color:var(--signal);font-weight:600}
.lf-nav-menu a.active::after{
  content:"";position:absolute;left:13px;right:13px;bottom:2px;height:2px;
  background:var(--signal);border-radius:2px;
}
.lf-nav-cta{padding:11px 22px;font-size:.89rem}

.lf-menu-toggle{
  display:none;flex-direction:column;gap:5px;
  background:none;border:0;padding:10px;margin-left:auto;
}
.lf-menu-toggle span{width:23px;height:2px;background:var(--ink);border-radius:2px;transition:transform .2s,opacity .2s,background .2s}
.lf-nav-open .lf-menu-toggle span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.lf-nav-open .lf-menu-toggle span:nth-child(2){opacity:0}
.lf-nav-open .lf-menu-toggle span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

/* ==========================================================================
   HERO — clean white canvas, precise UI panel
   (All page heroes carry .lf-hero.lf-dark; overridden to light here.)
   ========================================================================== */
.lf-hero.lf-dark{
  position:relative;
  background:
    radial-gradient(720px 420px at 94% -6%,rgba(14,124,134,.08),transparent 62%),
    var(--white);
  border:0;
  border-bottom:1px solid var(--hairline-soft);
  color:var(--charcoal);
  overflow:hidden;
}
.lf-hero.lf-dark h1,.lf-hero.lf-dark h2,.lf-hero.lf-dark h3{color:var(--ink)}
.lf-hero.lf-dark p,.lf-hero.lf-dark .lf-lead{color:var(--charcoal)}

.lf-hero-grid{
  display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);
  gap:76px;align-items:center;
  padding:88px 0 96px;
}
.lf-hero h1{margin:20px 0 18px}
.lf-hero-actions{display:flex;flex-wrap:wrap;gap:13px;margin-top:32px}

.lf-hero-metrics{
  display:flex;margin-top:52px;
  border-top:1px solid var(--hairline);
}
.lf-metric{
  flex:1;padding:20px 24px 0 0;
}
.lf-metric + .lf-metric{border-left:1px solid var(--hairline);padding-left:24px}
.lf-metric strong{
  display:block;font-weight:650;font-size:1.34rem;letter-spacing:-0.02em;
  color:var(--ink);
}
.lf-metric span{font-size:.85rem;color:var(--slate)}

/* Hero panel — precise light UI card */
.lf-hero-panel{position:relative}
.lf-dashboard-card{
  position:relative;
  background:var(--white);
  border:1px solid var(--hairline);
  border-radius:var(--r-lg);
  padding:32px;
  box-shadow:var(--sh-md);
}
.lf-dashboard-card::before{
  content:"";position:absolute;top:0;left:24px;right:24px;height:3px;
  background:linear-gradient(90deg,var(--navy),var(--sky));
  border-radius:0 0 4px 4px;
}
.lf-dashboard-top{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:24px}
.lf-dashboard-top h3{color:var(--ink);font-size:1.2rem;margin:0}
.lf-dashboard-card .lf-kicker{font-size:.7rem}
.lf-dotline{display:flex;gap:6px;padding-top:7px}
.lf-dotline span{width:8px;height:8px;border-radius:50%;background:var(--hairline)}
.lf-dotline span:first-child{background:var(--sky)}
.lf-dotline span:nth-child(2){background:#A9C7F9}

.lf-bars{display:grid;gap:12px;margin:24px 0 26px}
.lf-bars span{
  display:block;height:8px;border-radius:99px;
  background:var(--band);
  border:1px solid var(--hairline-soft);
  position:relative;overflow:hidden;
}
.lf-bars span::after{
  content:"";position:absolute;inset:0;width:var(--w,62%);
  border-radius:99px;
  background:linear-gradient(90deg,var(--navy),var(--sky));
  animation:lf-bar-grow 1.2s cubic-bezier(.22,.8,.3,1) both;
}
.lf-bars span:nth-child(2)::after{animation-delay:.12s;opacity:.65}
.lf-bars span:nth-child(3)::after{animation-delay:.24s;opacity:.85}
.lf-bars span:nth-child(4)::after{animation-delay:.36s;opacity:.5}
@keyframes lf-bar-grow{from{width:0}}

.lf-mini-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lf-mini{
  background:var(--band);
  border:1px solid var(--hairline-soft);
  border-radius:var(--r-sm);
  padding:14px 16px;
  transition:border-color .2s,background .2s;
}
.lf-mini:hover{border-color:var(--sky-border);background:var(--sky-soft)}
.lf-mini strong{display:block;color:var(--ink);font-size:.85rem;font-weight:600;margin-bottom:2px}
.lf-mini span{font-size:.83rem;color:var(--slate)}

/* ---------- Cards ---------- */
.lf-card{
  background:var(--white);
  border:1px solid var(--hairline);
  border-radius:var(--r-md);
  padding:30px 28px;
  box-shadow:var(--sh-xs);
  transition:transform .2s ease,box-shadow .22s ease,border-color .2s ease;
}
.lf-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-card h3{margin-top:20px}
.lf-card p{color:var(--slate);font-size:.95rem;margin-bottom:0}
.lf-card.dark,.lf-dark .lf-card{background:var(--white);border-color:var(--hairline)}

.lf-service-card{display:flex;flex-direction:column;justify-content:space-between;gap:22px}
.lf-card-action a,.lf-blog-card-action a,.lf-link{
  font-weight:600;font-size:.92rem;color:var(--signal);
  display:inline-flex;align-items:center;gap:6px;
  transition:gap .18s ease,color .15s;
}
.lf-card-action a:hover,.lf-blog-card-action a:hover,.lf-link:hover{gap:10px;color:var(--sky)}

/* ---------- Icons ---------- */
.lf-icon{
  width:46px;height:46px;border-radius:11px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--sky-soft);
  border:1px solid var(--sky-border);
  color:var(--teal);
  flex:0 0 auto;
}
.lf-icon svg{width:21px;height:21px}
.lf-icon-symbol{font-size:1.15rem;line-height:1}

/* ---------- Feature rows & lists ---------- */
.lf-feature-row{display:flex;gap:18px;align-items:flex-start;padding:19px 0;border-bottom:1px solid var(--hairline-soft)}
.lf-feature-row:last-child{border-bottom:0}
.lf-feature-row .lf-icon{width:42px;height:42px;border-radius:10px}
.lf-feature-row .lf-icon svg{width:19px;height:19px}
.lf-feature-row h3,.lf-feature-row h4{margin:1px 0 3px;font-size:1.04rem}
.lf-feature-row p{margin:0;color:var(--slate);font-size:.94rem}

.lf-feature-list{display:grid;gap:11px;margin-top:18px}
.lf-feature-list li{
  position:relative;padding-left:28px;color:var(--charcoal);font-size:.96rem;
}
.lf-feature-list li::before{
  content:"";position:absolute;left:0;top:5px;
  width:16px;height:16px;border-radius:50%;
  background:var(--sky-soft);border:1px solid var(--sky-border);
}
.lf-feature-list li::after{
  content:"";position:absolute;left:4.5px;top:9.5px;
  width:7px;height:4px;
  border-left:1.8px solid var(--navy);border-bottom:1.8px solid var(--navy);
  transform:rotate(-45deg);
}

/* ---------- Service detail cards ---------- */
.lf-service-detail-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}
.lf-service-detail-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:28px;box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .22s,border-color .2s;
}
.lf-service-detail-card:hover{transform:translateY(-3px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-service-detail-card h3{margin-top:18px;font-size:1.1rem}
.lf-service-detail-card p{color:var(--slate);font-size:.94rem;margin-bottom:0}

/* ---------- Process ---------- */
.lf-process{
  display:grid;
  border-top:1px solid var(--hairline);
}
.lf-process-item{
  display:grid;grid-template-columns:110px 1fr;gap:32px;align-items:baseline;
  padding:30px 0;border-bottom:1px solid var(--hairline);
}
.lf-process-num{
  font-weight:650;font-size:1rem;letter-spacing:.06em;
  color:var(--sky);
  display:flex;align-items:center;gap:14px;
}
.lf-process-num::after{content:"";flex:1;height:1px;background:var(--hairline)}
.lf-process-item h3{margin:0 0 5px}
.lf-process-item p{margin:0;color:var(--slate)}

/* ---------- CTA band (dark anchor #1) ---------- */
.lf-cta-band{
  position:relative;
  display:flex;justify-content:space-between;align-items:center;gap:40px;
  background:
    radial-gradient(600px 300px at 92% -30%,rgba(95,199,207,.20),transparent 62%),
    linear-gradient(160deg,#182B4F,var(--dark) 72%);
  border-radius:var(--r-lg);
  padding:52px 56px;
  color:var(--on-dark);
  overflow:hidden;
  box-shadow:var(--sh-md);
}
.lf-cta-band .lf-kicker,.lf-cta-band .lf-badge{color:#9FC0FF}
.lf-cta-band .lf-kicker::before,.lf-cta-band .lf-badge::before{background:var(--sky)}
.lf-cta-band h2{color:#fff;margin:14px 0 10px;font-size:clamp(1.45rem,2.5vw,2rem)}
.lf-cta-band p{margin:0;color:var(--on-dark-dim);max-width:52ch}
.lf-cta-band .lf-btn-primary{background:var(--signal);box-shadow:0 8px 20px rgba(47,111,237,.35)}
.lf-cta-band .lf-btn-primary:hover{background:var(--signal-hover)}
.lf-cta-band .lf-btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.28);box-shadow:none}
.lf-cta-band .lf-btn-secondary:hover{border-color:rgba(255,255,255,.6);background:rgba(255,255,255,.06)}

/* ---------- Tech cloud & pills ---------- */
.lf-tech-cloud{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}
.lf-tech-cloud span,.lf-pill{
  font-size:.85rem;font-weight:500;
  padding:8px 16px;border-radius:99px;
  background:var(--white);border:1px solid var(--hairline);color:var(--charcoal);
  transition:border-color .15s,color .15s;
}
.lf-tech-cloud span:hover{border-color:var(--sky);color:var(--navy)}
.lf-pill-list{display:flex;flex-wrap:wrap;gap:10px}

/* ---------- Portfolio ---------- */
.lf-portfolio-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:26px}
.lf-portfolio-filters{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:42px}
.lf-portfolio-filters button{
  font-size:.87rem;font-weight:550;
  padding:10px 20px;border-radius:99px;
  background:var(--white);border:1px solid var(--hairline);color:var(--charcoal);
  transition:all .16s ease;
}
.lf-portfolio-filters button:hover{border-color:var(--sky);color:var(--navy)}
.lf-portfolio-filters button.active{
  background:var(--signal);border-color:var(--signal);color:#fff;
  box-shadow:var(--sh-navy);
}
.lf-portfolio-grid,.lf-portfolio-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lf-portfolio-card,.lf-showcase-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:28px;display:flex;flex-direction:column;gap:15px;
  box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .22s,border-color .2s;
}
.lf-portfolio-card:hover,.lf-showcase-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-portfolio-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.lf-category{
  font-size:.72rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;
  color:var(--navy);background:var(--sky-soft);
  border:1px solid var(--sky-border);
  padding:5px 12px;border-radius:99px;white-space:nowrap;
}
.lf-portfolio-card h3{margin:0}
.lf-portfolio-card p{margin:0;color:var(--slate);font-size:.93rem;flex:1}
.lf-portfolio-actions{display:flex;gap:10px;flex-wrap:wrap}
.lf-portfolio-actions .lf-btn{padding:11px 20px;font-size:.88rem}
.lf-showcase-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}

/* ---------- Packages ---------- */
.lf-package-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:stretch}
.lf-package-card{
  position:relative;
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-lg);
  padding:34px 30px;display:flex;flex-direction:column;gap:17px;
  box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .24s,border-color .2s;
}
.lf-package-card:hover{transform:translateY(-5px);box-shadow:var(--sh-md);border-color:#C6D5EC}
.lf-package-top{display:flex;justify-content:space-between;align-items:center;gap:14px}
.lf-package-top span{
  font-size:.72rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;
  color:var(--navy);background:var(--sky-soft);
  padding:5px 12px;border-radius:99px;border:1px solid var(--sky-border);
}
.lf-package-card h3{margin:4px 0 0;font-size:1.35rem}
.lf-package-card > p{color:var(--slate);font-size:.95rem;margin:0}
.lf-package-meta{
  display:grid;grid-template-columns:1fr 1fr;gap:14px;
  border-top:1px solid var(--hairline-soft);
  border-bottom:1px solid var(--hairline-soft);
  padding:16px 0;
}
.lf-package-meta strong{
  display:block;font-size:.7rem;letter-spacing:.09em;
  text-transform:uppercase;color:var(--slate);margin-bottom:3px;font-weight:600;
}
.lf-package-meta span{font-size:.93rem;color:var(--ink);font-weight:600}
.lf-package-actions{margin-top:auto;display:flex;gap:10px;flex-wrap:wrap}

/* ---------- Industries ---------- */
.lf-industry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lf-industry-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:28px;box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .22s,border-color .2s;
  display:flex;flex-direction:column;gap:14px;
}
.lf-industry-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-industry-top{display:flex;align-items:center;gap:15px}
.lf-industry-top .lf-icon{width:42px;height:42px;border-radius:10px}
.lf-industry-top h3{margin:0}
.lf-industry-card p{margin:0;color:var(--slate);font-size:.93rem}
.lf-industry-tags{display:flex;flex-wrap:wrap;gap:7px}
.lf-industry-tags span{
  font-size:.77rem;font-weight:500;
  padding:5px 12px;border-radius:99px;
  background:var(--band);border:1px solid var(--hairline-soft);color:var(--slate);
}
.lf-industry-block{margin-bottom:56px}

/* ---------- Blog ---------- */
.lf-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lf-blog-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:28px;display:flex;flex-direction:column;gap:15px;
  box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .22s,border-color .2s;
}
.lf-blog-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-blog-card-top{display:flex;justify-content:space-between;align-items:center;gap:12px}
.lf-blog-card h3{margin:0;font-size:1.12rem}
.lf-blog-card p{margin:0;color:var(--slate);font-size:.93rem;flex:1}

/* ---------- Articles ---------- */
.lf-article-hero .lf-hero-grid{padding:76px 0 68px}
.lf-article-hero h1{max-width:26ch;font-size:clamp(2rem,3.8vw,2.9rem)}
.lf-article-layout{
  display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:64px;
  align-items:flex-start;padding:72px 0 96px;
}
.lf-article-content{max-width:70ch}
.lf-article-intro{
  background:var(--band);border:1px solid var(--hairline-soft);
  border-left:3px solid var(--sky);
  border-radius:var(--r-sm);padding:24px 26px;margin-bottom:42px;
}
.lf-article-intro p{margin:12px 0 0;color:var(--charcoal)}
.lf-article-section{margin-bottom:46px}
.lf-article-section h2{font-size:1.5rem;margin-bottom:13px}
.lf-article-section p,.lf-article-section li{color:var(--charcoal)}
.lf-article-section ul{display:grid;gap:9px;padding-left:2px}
.lf-article-section ul li{position:relative;padding-left:26px}
.lf-article-section ul li::before{
  content:"";position:absolute;left:0;top:7px;width:15px;height:15px;border-radius:50%;
  background:var(--sky-soft);border:1px solid var(--sky-border);
}
.lf-article-section ul li::after{
  content:"";position:absolute;left:4px;top:11px;width:7px;height:4px;
  border-left:1.8px solid var(--navy);border-bottom:1.8px solid var(--navy);
  transform:rotate(-45deg);
}
.lf-article-sidebar{position:sticky;top:112px;display:grid;gap:20px}
.lf-article-sidebar .lf-card h3{margin-top:0;font-size:1.04rem}
.lf-related-links{display:grid;gap:2px;margin-top:12px}
.lf-related-links a{
  padding:10px 12px;border-radius:8px;font-size:.92rem;font-weight:500;color:var(--charcoal);
  transition:background .15s,color .15s,padding-left .16s;
}
.lf-related-links a:hover{background:var(--sky-soft);color:var(--navy);padding-left:17px}

/* ---------- Contact ---------- */
.lf-contact-hero .lf-hero-grid{padding:80px 0 88px}
.lf-contact-grid{
  display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1.15fr);
  gap:44px;align-items:flex-start;
}
.lf-contact-info{display:grid;gap:16px}
.lf-contact-info-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:24px;display:flex;gap:16px;align-items:flex-start;
  box-shadow:var(--sh-xs);
  transition:transform .18s,box-shadow .2s,border-color .2s;
}
.lf-contact-info-card:hover{transform:translateY(-2px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-contact-info-card .lf-icon{width:42px;height:42px;border-radius:10px}
.lf-contact-info-card .lf-icon svg{width:18px;height:18px}
.lf-contact-info-card h3{margin:1px 0 3px;font-size:1.01rem}
.lf-contact-info-card p,.lf-contact-info-card a{margin:0;color:var(--slate);font-size:.92rem}
.lf-contact-info-card a:hover{color:var(--navy)}
.lf-contact-note{font-size:.86rem;color:var(--slate)}
.lf-contact-form-card,.lf-before-submit-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-lg);
  padding:40px;box-shadow:var(--sh-md);
}
.lf-before-submit-card{padding:26px 28px;margin-bottom:22px;box-shadow:var(--sh-xs);border-radius:var(--r-md)}

/* ---------- Forms ---------- */
.lf-form{display:grid;gap:20px}
.lf-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.lf-field{display:grid;gap:7px}
.lf-field label{font-size:.86rem;font-weight:600;color:var(--ink)}
.lf-field input,.lf-field textarea,.lf-field select{
  width:100%;padding:13px 16px;border-radius:var(--r-sm);
  border:1px solid var(--hairline);background:var(--white);
  color:var(--ink);font-size:.96rem;
  transition:border-color .15s,box-shadow .15s;
}
.lf-field textarea{min-height:132px;resize:vertical}
.lf-field input:focus,.lf-field textarea:focus,.lf-field select:focus{
  outline:none;border-color:var(--signal);
  box-shadow:0 0 0 4px rgba(47,111,237,.13);
}
.lf-field input::placeholder,.lf-field textarea::placeholder{color:#9AA6B8}
.lf-form-section-title{
  font-size:.76rem;font-weight:650;letter-spacing:.12em;text-transform:uppercase;
  color:var(--navy);margin:10px 0 0;
  display:flex;align-items:center;gap:14px;
}
.lf-form-section-title::after{content:"";flex:1;height:1px;background:var(--hairline)}
.lf-submit-btn{width:100%;justify-content:center;padding:16px}
.lf-honeypot{position:absolute!important;left:-9999px!important;opacity:0;pointer-events:none}
.lf-turnstile-wrap{min-height:70px}
.lf-conditional-fields{display:block}
.lf-service-extra{display:none}
.lf-service-extra.active{display:grid;gap:18px;margin-top:18px}
.lf-alert{
  padding:15px 20px;border-radius:var(--r-sm);font-size:.93rem;font-weight:500;
  border:1px solid var(--hairline);background:var(--band);color:var(--charcoal);
}
.lf-alert.success{background:#ECF8F4;border-color:#B9E0D5;color:#176B61}
.lf-alert.error{background:#FDF1F1;border-color:#F1C6C6;color:#B03A3A}

/* ---------- Build / showcase extras ---------- */
.lf-build-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.lf-build-card{
  background:var(--white);border:1px solid var(--hairline);border-radius:var(--r-md);
  padding:28px;box-shadow:var(--sh-xs);
  transition:transform .2s,box-shadow .22s,border-color .2s;
}
.lf-build-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm);border-color:#CFDAEA}
.lf-build-card h3{margin-top:18px}
.lf-build-card p{color:var(--slate);font-size:.94rem;margin:0}

/* ---------- Footer (dark anchor #2) ---------- */
.lf-footer{
  position:relative;
  background:
    radial-gradient(760px 380px at 90% -6%,rgba(95,199,207,.12),transparent 60%),
    linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);
  color:var(--on-dark-dim);
  padding:0 0 44px;
}
.lf-footer-cta{
  display:flex;justify-content:space-between;align-items:center;gap:44px;
  padding:66px 0 56px;
  border-bottom:1px solid var(--line-dark);
}
.lf-footer-cta .lf-badge,.lf-footer-cta .lf-kicker{color:#9FC0FF}
.lf-footer-cta .lf-badge::before,.lf-footer-cta .lf-kicker::before{background:var(--sky)}
.lf-footer-cta h2{color:#fff;margin:14px 0 10px;font-size:clamp(1.5rem,2.7vw,2.1rem);max-width:24ch}
.lf-footer-cta p{margin:0;max-width:54ch;color:var(--on-dark-dim)}
.lf-footer .lf-btn-primary{background:var(--signal);box-shadow:0 8px 20px rgba(47,111,237,.35)}
.lf-footer .lf-btn-primary:hover{background:var(--signal-hover)}
.lf-footer .lf-btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.26);box-shadow:none}
.lf-footer .lf-btn-secondary:hover{border-color:rgba(255,255,255,.55);background:rgba(255,255,255,.06)}

.lf-footer-grid{
  display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:46px;
  padding:56px 0 50px;
}
.lf-footer-brand p{margin:18px 0 20px;font-size:.92rem;max-width:32ch;color:var(--on-dark-dim)}
.lf-footer-brand .lf-logo-img{height:38px}
.lf-social-line{display:flex;gap:10px;flex-wrap:wrap}
.lf-social-line a{
  font-size:.85rem;font-weight:500;color:var(--on-dark);
  padding:7px 16px;border-radius:99px;
  border:1px solid var(--line-dark);
  transition:color .15s,border-color .15s,background .15s;
}
.lf-social-line a:hover{color:#fff;border-color:rgba(138,182,249,.5);background:rgba(47,111,237,.12)}
.lf-footer h3{
  font-size:.76rem;font-weight:650;
  letter-spacing:.12em;text-transform:uppercase;color:#fff;
  margin:0 0 18px;
}
.lf-footer ul{display:grid;gap:10px}
.lf-footer ul a{font-size:.9rem;color:var(--on-dark-dim);transition:color .15s,padding-left .16s}
.lf-footer ul a:hover{color:#fff;padding-left:5px}

.lf-footer-bottom{
  display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;
  padding-top:32px;border-top:1px solid var(--line-dark);
  font-size:.84rem;
}
.lf-footer-bottom a{color:var(--on-dark);transition:color .15s}
.lf-footer-bottom a:hover{color:#fff}

/* ---------- Reveal ---------- */
.lf-js-ready .lf-reveal{
  opacity:0;transform:translateY(20px);
  transition:opacity .65s cubic-bezier(.22,.8,.3,1),transform .65s cubic-bezier(.22,.8,.3,1);
}
.lf-js-ready .lf-reveal.in{opacity:1;transform:none}
.lf-grid-2 .lf-reveal:nth-child(2),.lf-grid-3 .lf-reveal:nth-child(2),.lf-grid-4 .lf-reveal:nth-child(2),
.lf-package-grid .lf-reveal:nth-child(2),.lf-blog-grid .lf-reveal:nth-child(2){transition-delay:.08s}
.lf-grid-3 .lf-reveal:nth-child(3),.lf-grid-4 .lf-reveal:nth-child(3),
.lf-package-grid .lf-reveal:nth-child(3),.lf-blog-grid .lf-reveal:nth-child(3){transition-delay:.16s}
.lf-grid-4 .lf-reveal:nth-child(4){transition-delay:.24s}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .lf-js-ready .lf-reveal{opacity:1;transform:none;transition:none}
  .lf-bars span::after{animation:none}
  *{transition-duration:.01ms!important;animation-duration:.01ms!important}
}

/* ---------- Responsive ---------- */
@media (max-width:1060px){
  .lf-grid-4{grid-template-columns:repeat(2,1fr)}
  .lf-portfolio-grid,.lf-portfolio-category-grid,.lf-blog-grid,.lf-industry-grid,
  .lf-build-grid,.lf-showcase-grid{grid-template-columns:repeat(2,1fr)}
  .lf-package-grid{grid-template-columns:repeat(2,1fr)}
  .lf-footer-grid{grid-template-columns:1fr 1fr 1fr;row-gap:40px}
  .lf-footer-brand{grid-column:1/-1}
  .lf-article-layout{grid-template-columns:1fr;gap:44px}
  .lf-article-sidebar{position:static}
}

@media (max-width:900px){
  .lf-section{padding:78px 0}
  .lf-section-sm{padding:60px 0}
  .lf-hero-grid{grid-template-columns:1fr;gap:52px;padding:64px 0 76px}
  .lf-grid-2{grid-template-columns:1fr}
  .lf-grid-3{grid-template-columns:1fr}
  .lf-section-head{grid-template-columns:1fr;gap:14px;margin-bottom:42px}
  .lf-service-detail-grid{grid-template-columns:1fr}
  .lf-cta-band{flex-direction:column;align-items:flex-start;padding:40px 30px}
  .lf-footer-cta{flex-direction:column;align-items:flex-start}
  .lf-contact-grid{grid-template-columns:1fr}
  .lf-process-item{grid-template-columns:1fr;gap:10px;align-items:start}
  .lf-process-num::after{max-width:120px}

  .lf-menu-toggle{display:flex}
  .lf-nav-cta{display:none}
  .lf-nav-menu{
    position:fixed;inset:0;
    background:var(--dark);
    flex-direction:column;justify-content:center;align-items:center;gap:4px;
    opacity:0;pointer-events:none;transition:opacity .25s ease;
    z-index:110;
  }
  .lf-nav-open .lf-nav-menu{opacity:1;pointer-events:auto}
  body.lf-nav-open{overflow:hidden}
  .lf-nav-open .lf-menu-toggle{position:fixed;top:16px;right:20px;z-index:140}
  .lf-nav-open .lf-menu-toggle span{background:#fff}
  .lf-nav-menu a{
    font-size:1.45rem;font-weight:600;letter-spacing:-0.02em;
    color:var(--on-dark);padding:11px 26px;border-radius:10px;
  }
  .lf-nav-menu a:hover{color:#fff;background:rgba(255,255,255,.05)}
  .lf-nav-menu a.active{color:#fff}
  .lf-nav-menu a.active::after{left:26px;right:26px;bottom:6px}
}

@media (max-width:620px){
  body{font-size:16px}
  .lf-wrap{width:calc(100% - 36px)}
  .lf-grid-4,.lf-portfolio-grid,.lf-portfolio-category-grid,.lf-blog-grid,
  .lf-industry-grid,.lf-build-grid,.lf-showcase-grid,.lf-package-grid{grid-template-columns:1fr}
  .lf-form-grid{grid-template-columns:1fr}
  .lf-mini-grid{grid-template-columns:1fr 1fr}
  .lf-hero-metrics{flex-direction:column;border-top:0}
  .lf-metric{padding:14px 0;border-top:1px solid var(--hairline)}
  .lf-metric + .lf-metric{border-left:0;padding-left:0}
  .lf-topbar-inner span:first-child{display:none}
  .lf-topbar-inner{justify-content:center}
  .lf-hero-actions .lf-btn{width:100%}
  .lf-footer-grid{grid-template-columns:1fr 1fr}
  .lf-dashboard-card{padding:26px 22px}
  .lf-contact-form-card{padding:28px 22px}
  .lf-cta-band{padding:36px 24px}
}


/* ========================================================================== 
   LogicalFrame Brand v1.0 — multi-page navigation and final refinements
   ========================================================================== */
.lf-skip-link{
  position:fixed;left:18px;top:-100px;z-index:1000;padding:11px 16px;
  border-radius:8px;background:var(--signal);color:#fff;font-weight:600;
  transition:top .2s ease;
}
.lf-skip-link:focus{top:18px}

.lf-brand{display:inline-flex;align-items:center;flex:0 0 auto}
.lf-logo-img{width:178px;height:auto}
.lf-topbar{background:var(--navy)}
.lf-topbar-inner{padding:7px 0;font-size:.74rem;color:var(--navy-200)}
.lf-nav-inner{gap:18px;padding:13px 0}
.lf-nav-menu{gap:0}
.lf-nav-menu>a,.lf-submenu-toggle{
  min-height:38px;display:inline-flex;align-items:center;gap:5px;padding:8px 10px;
  border:0;border-radius:8px;background:transparent;color:var(--navy-700);
  font:500 .84rem/1 var(--font-body);cursor:pointer;white-space:nowrap;
  transition:color .15s ease,background .15s ease;
}
.lf-nav-menu>a:hover,.lf-submenu-toggle:hover{background:var(--mist);color:var(--navy)}
.lf-nav-menu>a.active,.lf-nav-item.active>.lf-submenu-toggle{color:var(--signal);font-weight:600}
.lf-nav-item{position:relative;display:flex;align-items:center}
.lf-submenu-toggle span{font-size:.78rem;transition:transform .2s ease}
.lf-has-submenu.is-open>.lf-submenu-toggle span{transform:rotate(180deg)}
.lf-submenu{
  position:absolute;top:calc(100% + 12px);left:50%;transform:translateX(-50%) translateY(-6px);
  width:310px;padding:10px;border:1px solid var(--navy-50);border-radius:14px;
  background:rgba(255,255,255,.98);box-shadow:0 24px 64px rgba(18,33,61,.15);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s ease,transform .18s ease;
}
.lf-submenu-wide{width:min(720px,calc(100vw - 40px));display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
.lf-has-submenu.is-open>.lf-submenu{
  opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)
}
.lf-submenu a{display:block;padding:12px 13px;border-radius:9px;color:var(--navy-700);transition:background .15s ease,color .15s ease}
.lf-submenu a:hover{background:var(--mist);color:var(--navy)}
.lf-submenu strong{display:block;font-family:var(--font-display);font-size:.9rem;font-weight:600;color:var(--navy);line-height:1.25}
.lf-submenu small{display:block;margin-top:3px;color:var(--navy-500);font-size:.74rem;line-height:1.4}
.lf-submenu-label{display:block;margin:8px 12px 4px;padding-top:10px;border-top:1px solid var(--navy-50);color:var(--teal);font-size:.68rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase}
.lf-nav-cta{padding:11px 17px;font-size:.82rem}

.lf-kicker,.lf-badge{color:var(--teal)}
.lf-kicker::before,.lf-badge::before{background:var(--teal)}
.lf-card-action a,.lf-blog-card-action a,.lf-link{color:var(--signal)}
.lf-icon{background:var(--teal-wash);border-color:#CDE6E8;color:var(--teal)}
.lf-mini:hover{border-color:#CDE6E8;background:var(--teal-wash)}
.lf-category,.lf-package-top span{color:var(--teal);background:var(--teal-wash);border-color:#CDE6E8}
.lf-dashboard-card::before{background:linear-gradient(90deg,var(--teal),var(--teal-light))}
.lf-dashboard-top h3,h3[style*="color:#fff"]{color:var(--navy)!important}
.lf-bars span{background:var(--navy-50)}
.lf-bars span::after{background:linear-gradient(90deg,var(--teal),var(--teal-light))}
.lf-form-section-title{color:var(--teal)}
.lf-field>span{font-size:.84rem;font-weight:500;color:var(--navy-700)}
.lf-contact-dark-section{background:var(--mist);border-top:1px solid var(--navy-50);border-bottom:1px solid var(--navy-50)}
.lf-contact-info-card{display:grid;grid-template-columns:auto 1fr;align-items:center}
.lf-contact-info-card>strong{font-family:var(--font-display);font-size:.88rem;color:var(--navy)}
.lf-contact-info-card>span{font-size:.84rem;color:var(--navy-700)}
.lf-simple-page{min-height:70vh;padding:80px 0;background:var(--mist)}
.lf-simple-page .lf-card{max-width:860px;margin:0 auto;padding:clamp(28px,5vw,58px)}
.lf-simple-page h1{margin-bottom:24px}
.lf-simple-page h2{font-size:1.35rem;margin-top:32px}
.lf-simple-page li{margin:8px 0;color:var(--navy-700)}
.lf-btn-light{background:var(--signal);color:#fff}

@media (max-width:1120px){
  .lf-nav-menu>a,.lf-submenu-toggle{padding-inline:7px;font-size:.8rem}
  .lf-nav-inner{gap:11px}
  .lf-nav-cta{padding-inline:13px}
}

@media (max-width:900px){
  .lf-nav-menu{padding:90px 24px 34px;overflow-y:auto;justify-content:flex-start;align-items:stretch}
  .lf-nav-menu>a,.lf-submenu-toggle{width:100%;justify-content:space-between;color:var(--navy-200);font-size:1.08rem;padding:13px 16px;min-height:auto}
  .lf-nav-menu>a.active,.lf-nav-item.active>.lf-submenu-toggle{color:#fff}
  .lf-nav-item{display:block;width:min(520px,100%);margin-inline:auto}
  .lf-nav-menu>a{width:min(520px,100%);margin-inline:auto}
  .lf-submenu{
    position:static;width:100%!important;display:none;transform:none!important;opacity:1;visibility:visible;pointer-events:auto;
    margin:2px 0 10px;padding:6px;background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.09);box-shadow:none
  }
  .lf-has-submenu:hover>.lf-submenu,.lf-has-submenu:focus-within>.lf-submenu{display:none}
  .lf-has-submenu.is-open>.lf-submenu{display:grid;grid-template-columns:1fr}
  .lf-submenu a:hover{background:rgba(255,255,255,.07)}
  .lf-submenu strong{color:#fff}
  .lf-submenu small{color:var(--navy-200)}
  .lf-submenu-label{color:var(--teal-light);border-color:rgba(255,255,255,.1)}
}

@media (max-width:620px){
  .lf-logo-img{width:164px}
  .lf-topbar-links{gap:14px}
  .lf-topbar-inner{font-size:.7rem}
  .lf-footer-grid{grid-template-columns:1fr}
}

/* Content-detail refinements shared by all legacy page templates */
[hidden]{display:none!important}
.lf-field.full{grid-column:1/-1}
.lf-card ul,.lf-package-card ul,.lf-industry-block ul,.lf-before-submit-card ul{
  display:grid;gap:9px;margin-top:18px;
}
.lf-card ul li,.lf-package-card ul li,.lf-industry-block ul li,.lf-before-submit-card ul li{
  position:relative;padding-left:24px;color:var(--navy-700);font-size:.91rem;line-height:1.55;
}
.lf-card ul li::before,.lf-package-card ul li::before,.lf-industry-block ul li::before,.lf-before-submit-card ul li::before{
  content:"";position:absolute;left:0;top:.62em;width:8px;height:8px;border-radius:2px;
  background:var(--teal);transform:rotate(45deg);
}
.lf-process{counter-reset:lf-process}
.lf-process-item{counter-increment:lf-process}
.lf-process-num::before{content:counter(lf-process,decimal-leading-zero);color:var(--teal);font-family:var(--font-display);font-weight:600}
.lf-feature-row>span{
  display:inline-flex;align-items:center;justify-content:center;min-width:38px;height:30px;
  border-radius:8px;background:var(--teal-wash);border:1px solid #CDE6E8;
  color:var(--teal);font-family:var(--font-display);font-size:.76rem;font-weight:600;
}
.lf-feature-row{align-items:center}
.lf-feature-row p{flex:1}
.lf-package-meta{grid-template-columns:1fr}
.lf-package-meta>div+div{padding-top:10px;border-top:1px solid var(--navy-50)}
.lf-industry-block{margin:4px 0 0}
.lf-industry-block>strong{font-family:var(--font-display);font-size:.84rem;color:var(--navy)}
.lf-blog-card-top>span{
  font-size:.72rem;font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--teal)
}
.lf-blog-card-action .lf-btn{margin-top:8px;padding:10px 16px;font-size:.84rem}
.lf-contact-form-card{position:relative}
.lf-contact-form-card::before{
  content:"";position:absolute;top:0;left:28px;right:28px;height:3px;border-radius:0 0 4px 4px;
  background:linear-gradient(90deg,var(--teal),var(--teal-light));
}
@media (max-width:620px){
  .lf-field.full{grid-column:auto}
}

.lf-portfolio-filters button:hover{border-color:var(--signal);color:var(--signal)}

/* ========================================================================== 
   v3.2 — Deterministic desktop dropdown navigation
   ========================================================================== */
@media (min-width:901px){
  .lf-has-submenu{z-index:1}
  .lf-has-submenu.is-open{z-index:30}

  /* The submenu begins directly below its trigger. This removes the dead
     pointer gap that previously caused the menu to close while entering it. */
  .lf-submenu{
    top:calc(100% - 1px);
    max-height:calc(100vh - 126px);
    overflow-x:hidden;
    overflow-y:auto;
    overscroll-behavior:contain;
    scrollbar-gutter:stable;
    scrollbar-width:thin;
    scrollbar-color:var(--navy-200) transparent;
  }
  .lf-submenu-wide{align-content:start}
  .lf-submenu::-webkit-scrollbar{width:8px}
  .lf-submenu::-webkit-scrollbar-track{background:transparent}
  .lf-submenu::-webkit-scrollbar-thumb{background:var(--navy-200);border:2px solid transparent;border-radius:999px;background-clip:padding-box}
  .lf-submenu::-webkit-scrollbar-thumb:hover{background:var(--navy-500);border:2px solid transparent;background-clip:padding-box}
}

/* ---------- Google Analytics consent ---------- */
.lf-analytics-consent {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 10000;
  width: min(540px, calc(100vw - 32px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 24px;
  padding: 22px;
  color: #12213D;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #C3CBDA;
  border-radius: 16px;
  box-shadow: 0 22px 60px rgba(18, 33, 61, 0.2);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.lf-analytics-consent.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.lf-analytics-consent.is-leaving {
  opacity: 0;
  transform: translateY(10px);
}

.lf-analytics-consent__copy strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display, 'Switzer', 'Inter', sans-serif);
  font-size: 16px;
  font-weight: 600;
}

.lf-analytics-consent__copy p {
  margin: 0 0 7px;
  color: #33456B;
  font-size: 13px;
  line-height: 1.55;
}

.lf-analytics-consent__copy a {
  color: #2F6FED;
  font-size: 12px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lf-analytics-consent__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lf-consent-button {
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 8px;
  font: 600 13px/1 var(--font-body, 'Inter', sans-serif);
  cursor: pointer;
  transition: background 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.lf-consent-button:hover { transform: translateY(-1px); }
.lf-consent-button:focus-visible { outline: 3px solid rgba(47, 111, 237, 0.28); outline-offset: 2px; }

.lf-consent-button--primary {
  color: #FFFFFF;
  background: #2F6FED;
  border: 1px solid #2F6FED;
}

.lf-consent-button--primary:hover { background: #2559C7; border-color: #2559C7; }

.lf-consent-button--secondary {
  color: #12213D;
  background: #FFFFFF;
  border: 1px solid #C3CBDA;
}

.lf-consent-button--secondary:hover { border-color: #6E7FA0; }

@media (max-width: 680px) {
  .lf-analytics-consent {
    right: 16px;
    bottom: 16px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
  }
  .lf-analytics-consent__actions { justify-content: stretch; }
  .lf-consent-button { flex: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lf-analytics-consent,
  .lf-consent-button { transition: none; }
}

/* ========================================================================== 
   v3.6 — Selective navy accents and published-product proof
   ========================================================================== */
.lf-card.lf-accent-card{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(460px 250px at 100% 0,rgba(95,199,207,.16),transparent 64%),
    linear-gradient(155deg,#1A3158 0%,var(--navy) 66%,var(--navy-deep) 100%);
  border-color:rgba(255,255,255,.12);
  box-shadow:0 22px 54px rgba(18,33,61,.18);
}
.lf-card.lf-accent-card::after{
  content:"";
  position:absolute;
  right:-42px;
  bottom:-54px;
  width:150px;
  height:150px;
  border:1px solid rgba(95,199,207,.2);
  border-radius:28px;
  transform:rotate(18deg);
  pointer-events:none;
}
.lf-card.lf-accent-card:hover{
  border-color:rgba(95,199,207,.38);
  box-shadow:0 28px 66px rgba(18,33,61,.24);
}
.lf-card.lf-accent-card > *{position:relative;z-index:1}
.lf-card.lf-accent-card > h3:first-child{margin-top:0}
.lf-card.lf-accent-card h2,
.lf-card.lf-accent-card h3,
.lf-card.lf-accent-card h4{color:#fff}
.lf-card.lf-accent-card p,
.lf-card.lf-accent-card .lf-section-text{color:var(--navy-200)}
.lf-card.lf-accent-card .lf-badge,
.lf-card.lf-accent-card .lf-kicker{color:var(--teal-light)}
.lf-card.lf-accent-card .lf-badge::before,
.lf-card.lf-accent-card .lf-kicker::before{background:var(--teal-light)}
.lf-card.lf-accent-card ul li{color:#DFE6F0}
.lf-card.lf-accent-card ul li::before{background:var(--teal-light)}

.lf-product-proof-section{padding-top:0}
.lf-product-proof-card{
  position:relative;
  overflow:hidden;
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(330px,.75fr);
  gap:56px;
  align-items:center;
  padding:clamp(38px,6vw,68px);
  color:#fff;
  background:
    radial-gradient(720px 360px at 100% -15%,rgba(95,199,207,.18),transparent 62%),
    linear-gradient(145deg,#1A3158 0%,var(--navy) 58%,var(--navy-deep) 100%);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--r-lg);
  box-shadow:0 28px 76px rgba(18,33,61,.22);
}
.lf-product-proof-card::before{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(95,199,207,.12);
  border-radius:calc(var(--r-lg) - 8px);
  pointer-events:none;
}
.lf-product-proof-copy,
.lf-product-proof-stats{position:relative;z-index:1}
.lf-product-proof-card .lf-badge{color:var(--teal-light)}
.lf-product-proof-card .lf-badge::before{background:var(--teal-light)}
.lf-product-proof-card h2{color:#fff;margin:14px 0 18px;max-width:18ch}
.lf-product-proof-card p{color:var(--navy-200);max-width:64ch;margin-bottom:0}
.lf-product-proof-card p strong{color:#fff;font-weight:600}
.lf-product-proof-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.lf-btn-outline-light{
  color:#fff;
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.28);
  box-shadow:none;
}
.lf-btn-outline-light:hover{
  color:#fff;
  background:rgba(255,255,255,.09);
  border-color:rgba(255,255,255,.55);
  transform:translateY(-1px);
}
.lf-product-proof-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.lf-product-proof-stats div{
  min-height:126px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  padding:22px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  transition:transform .2s ease,background .2s ease,border-color .2s ease;
}
.lf-product-proof-stats div:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.085);
  border-color:rgba(95,199,207,.38);
}
.lf-product-proof-stats strong{
  color:#fff;
  font-family:var(--font-display);
  font-size:clamp(1.4rem,2.6vw,2rem);
  line-height:1;
  letter-spacing:-.03em;
}
.lf-product-proof-stats span{margin-top:9px;color:var(--navy-200);font-size:.84rem;line-height:1.4}
.lf-ecosystem-grid .lf-card{height:100%}

@media (max-width:900px){
  .lf-product-proof-card{grid-template-columns:1fr;gap:38px}
}
@media (max-width:620px){
  .lf-product-proof-card{padding:32px 24px}
  .lf-product-proof-actions .lf-btn{width:100%}
  .lf-product-proof-stats{grid-template-columns:1fr}
  .lf-product-proof-stats div{min-height:104px}
}



/* ==========================================================================
   v3.7 — LogicalFrame product portfolio
   ========================================================================== */
.lf-product-home-section{
  background:linear-gradient(180deg,var(--white),#F8FAFD);
  border-top:1px solid var(--hairline-soft);
  border-bottom:1px solid var(--hairline-soft);
}
.lf-product-home-section .lf-section-head > div:last-child{display:grid;gap:14px;justify-items:start}
.lf-product-home-grid,.lf-product-portfolio-grid{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;
}
.lf-product-card{
  position:relative;display:flex;flex-direction:column;gap:15px;min-height:100%;
  padding:28px;border:1px solid var(--hairline);border-radius:var(--r-md);
  background:var(--white);box-shadow:var(--sh-xs);overflow:hidden;
  transition:transform .22s ease,box-shadow .24s ease,border-color .22s ease;
}
.lf-product-card::after{
  content:"";position:absolute;right:-44px;bottom:-54px;width:132px;height:132px;
  border:1px solid rgba(14,124,134,.12);border-radius:28px;transform:rotate(18deg);
  pointer-events:none;
}
.lf-product-card:hover{transform:translateY(-5px);box-shadow:var(--sh-md);border-color:#C9D7EA}
.lf-product-card.is-public{
  background:linear-gradient(155deg,#182B4F,var(--navy) 74%);
  border-color:rgba(255,255,255,.11);box-shadow:0 20px 50px rgba(18,33,61,.18);
}
.lf-product-card.is-public::after{border-color:rgba(95,199,207,.18)}
.lf-product-card.is-public h3{color:#fff}
.lf-product-card.is-public p{color:var(--navy-200)}
.lf-product-card.is-public .lf-icon{background:rgba(95,199,207,.10);border-color:rgba(95,199,207,.32);color:var(--teal-light)}
.lf-product-card.is-public .lf-category{color:#DDF8FA;background:rgba(95,199,207,.10);border-color:rgba(95,199,207,.28)}
.lf-product-card.is-public .lf-product-status{color:var(--navy-200);border-color:rgba(255,255,255,.14);background:rgba(255,255,255,.06)}
.lf-product-card.is-public .lf-link{color:#AFC8FF}
.lf-product-card.is-public .lf-link:hover{color:#fff}
.lf-product-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.lf-product-card h3{margin:2px 0 0;font-size:1.24rem}
.lf-product-card p{color:var(--slate);font-size:.94rem;line-height:1.65;margin:0;flex:1}
.lf-product-status{
  display:inline-flex;align-items:center;min-height:29px;padding:5px 10px;border-radius:99px;
  border:1px solid var(--hairline-soft);background:var(--mist);color:var(--navy-700);
  font-size:.7rem;font-weight:600;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap;
}
.lf-product-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px;position:relative;z-index:1}
.lf-product-links .lf-btn{padding:10px 16px;font-size:.84rem}
.lf-product-card.is-public .lf-btn-secondary{background:transparent;color:#fff;border-color:rgba(255,255,255,.26)}
.lf-product-card.is-public .lf-btn-secondary:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.48)}
.lf-product-map-card{
  position:relative;padding:30px;background:var(--white);border:1px solid var(--hairline);
  border-radius:var(--r-lg);box-shadow:var(--sh-md);overflow:hidden;
}
.lf-product-map-card::before{
  content:"";position:absolute;top:0;left:24px;right:24px;height:3px;
  background:linear-gradient(90deg,var(--navy),var(--teal));border-radius:0 0 4px 4px;
}
.lf-product-map-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;margin-bottom:22px}
.lf-product-map-head h3{margin:14px 0 0;max-width:22ch}
.lf-product-map-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.lf-product-map-grid > div{
  min-height:112px;padding:17px;border-radius:12px;background:var(--mist);border:1px solid var(--hairline-soft);
  transition:transform .2s ease,border-color .2s ease,background .2s ease;
}
.lf-product-map-grid > div:hover{transform:translateY(-3px);background:#fff;border-color:var(--navy-200)}
.lf-product-map-grid span{display:block;color:var(--teal);font-size:.7rem;font-weight:700;letter-spacing:.11em;margin-bottom:10px}
.lf-product-map-grid strong{display:block;color:var(--navy);font-size:.9rem;line-height:1.35}
.lf-product-map-grid small{display:block;color:var(--slate);font-size:.75rem;line-height:1.45;margin-top:5px}
.lf-product-capability-list{display:grid;border-top:1px solid var(--hairline)}
.lf-product-capability-list > div{display:grid;grid-template-columns:minmax(135px,.55fr) 1fr;gap:26px;padding:22px 0;border-bottom:1px solid var(--hairline)}
.lf-product-capability-list strong{color:var(--navy);font-family:var(--font-display);font-size:1rem}
.lf-product-capability-list span{color:var(--slate);font-size:.93rem}

@media (max-width:980px){
  .lf-product-home-grid,.lf-product-portfolio-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:680px){
  .lf-product-home-grid,.lf-product-portfolio-grid{grid-template-columns:1fr}
  .lf-product-card{padding:24px}
  .lf-product-map-grid{grid-template-columns:1fr}
  .lf-product-capability-list > div{grid-template-columns:1fr;gap:5px}
}

/* ========================================================================== 
   v3.8 — richer section contrast, visual portfolio proof and tighter footer
   ========================================================================== */

/* More breathing room between major sections without removing content. */
.lf-section{padding:116px 0}
.lf-section-sm{padding:88px 0}

/* Reintroduce selected navy bands as controlled visual anchors. */
.lf-dark:not(.lf-hero){
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(820px 420px at 92% -10%,rgba(95,199,207,.15),transparent 62%),
    radial-gradient(620px 360px at -8% 110%,rgba(47,111,237,.12),transparent 64%),
    linear-gradient(160deg,#182B4F 0%,var(--navy) 62%,var(--navy-deep) 100%);
  border:0;
  color:var(--navy-200);
}
.lf-dark:not(.lf-hero)::before{
  content:"";
  position:absolute;
  inset:22px;
  border:1px solid rgba(255,255,255,.045);
  border-radius:24px;
  pointer-events:none;
}
.lf-dark:not(.lf-hero) > .lf-wrap{position:relative;z-index:1}
.lf-dark:not(.lf-hero) h1,
.lf-dark:not(.lf-hero) h2,
.lf-dark:not(.lf-hero) h3,
.lf-dark:not(.lf-hero) h4{color:#fff}
.lf-dark:not(.lf-hero) p,
.lf-dark:not(.lf-hero) .lf-section-text{color:var(--navy-200)}
.lf-dark:not(.lf-hero) .lf-badge,
.lf-dark:not(.lf-hero) .lf-kicker{color:var(--teal-light)}
.lf-dark:not(.lf-hero) .lf-badge::before,
.lf-dark:not(.lf-hero) .lf-kicker::before{background:var(--teal-light)}
.lf-dark:not(.lf-hero) .lf-link,
.lf-dark:not(.lf-hero) .lf-card-action a{color:#AFC8FF}
.lf-dark:not(.lf-hero) .lf-link:hover,
.lf-dark:not(.lf-hero) .lf-card-action a:hover{color:#fff}

/* White cards remain readable and layered on navy bands. */
.lf-dark:not(.lf-hero) .lf-card,
.lf-dark:not(.lf-hero) .lf-service-detail-card,
.lf-dark:not(.lf-hero) .lf-build-card{
  background:#fff;
  border-color:rgba(255,255,255,.18);
  box-shadow:0 18px 42px rgba(3,10,24,.22);
}
.lf-dark:not(.lf-hero) .lf-card h2,
.lf-dark:not(.lf-hero) .lf-card h3,
.lf-dark:not(.lf-hero) .lf-card h4,
.lf-dark:not(.lf-hero) .lf-service-detail-card h3,
.lf-dark:not(.lf-hero) .lf-build-card h3{color:var(--navy)}
.lf-dark:not(.lf-hero) .lf-card p,
.lf-dark:not(.lf-hero) .lf-card li,
.lf-dark:not(.lf-hero) .lf-service-detail-card p,
.lf-dark:not(.lf-hero) .lf-build-card p{color:var(--slate)}
.lf-dark:not(.lf-hero) .lf-card .lf-category{color:var(--teal)}
.lf-dark:not(.lf-hero) .lf-card .lf-product-status{color:var(--navy-700);background:var(--mist);border-color:var(--navy-50)}
.lf-card-band .lf-service-detail-grid{gap:18px}
.lf-card-band .lf-service-detail-card{min-height:100%;padding:26px}

/* Preserve every module while using desktop space more efficiently. */
.lf-feature-compact-section{
  background:#fff;
  border-top:1px solid var(--hairline-soft);
  border-bottom:1px solid var(--hairline-soft);
}
.lf-feature-compact-section .lf-feature-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:14px;
  margin-top:12px;
}
.lf-feature-compact-section .lf-feature-row{
  display:grid;
  grid-template-columns:46px minmax(0,1fr);
  align-items:center;
  gap:14px;
  min-height:78px;
  padding:17px 20px;
  background:var(--mist);
  border:1px solid var(--navy-50);
  border-radius:13px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}
.lf-feature-compact-section .lf-feature-row:hover{
  transform:translateY(-2px);
  background:#fff;
  border-color:var(--navy-200);
  box-shadow:var(--sh-sm);
}
.lf-feature-compact-section .lf-feature-row > span{
  display:grid;
  place-items:center;
  width:40px;
  height:32px;
  border-radius:9px;
  color:var(--teal);
  background:var(--teal-wash);
  border:1px solid var(--sky-border);
  font-family:var(--font-display);
  font-size:.78rem;
  font-weight:700;
}
.lf-feature-compact-section .lf-feature-row p{color:var(--navy-700);font-weight:500;line-height:1.45}

/* Portfolio cards now lead with visual evidence rather than descriptive copy. */
.lf-showcase-card-visual,
.lf-portfolio-card-visual{
  display:flex;
  flex-direction:column;
  padding:0;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--hairline);
  border-radius:var(--r-md);
  box-shadow:var(--sh-xs);
  transition:transform .22s ease,box-shadow .24s ease,border-color .22s ease;
}
.lf-showcase-card-visual:hover,
.lf-portfolio-card-visual:hover{transform:translateY(-5px);box-shadow:var(--sh-md);border-color:#C9D7EA}
.lf-showcase-preview{
  position:relative;
  display:block;
  aspect-ratio:1200/760;
  overflow:hidden;
  background:var(--mist);
  border-bottom:1px solid var(--navy-50);
}
.lf-showcase-preview img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .5s cubic-bezier(.22,.8,.3,1),filter .3s ease;
}
.lf-showcase-card-visual:hover .lf-showcase-preview img,
.lf-portfolio-card-visual:hover .lf-showcase-preview img{transform:scale(1.025)}
.lf-showcase-preview > span{
  position:absolute;
  left:16px;
  bottom:14px;
  padding:6px 10px;
  border-radius:99px;
  color:#fff;
  background:rgba(18,33,61,.88);
  backdrop-filter:blur(8px);
  font-size:.67rem;
  font-weight:650;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.lf-showcase-body{display:flex;flex:1;flex-direction:column;gap:12px;padding:24px}
.lf-showcase-body h3{margin:0;font-size:1.2rem}
.lf-showcase-body p{margin:0;color:var(--slate);font-size:.92rem;line-height:1.62;flex:1}
.lf-showcase-body .lf-portfolio-actions{margin-top:8px}
.lf-showcase-body .lf-portfolio-actions .lf-btn{padding:10px 15px;font-size:.82rem}
.lf-portfolio-card-visual .lf-portfolio-card-top{align-items:center}
.lf-concept-note{color:var(--slate);font-size:.72rem;font-weight:500}

/* About page: product evidence and compact capability map. */
.lf-about-dashboard h3{color:var(--navy)!important}
.lf-about-map{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:20px}
.lf-about-map > div{padding:17px;border-radius:12px;background:var(--mist);border:1px solid var(--navy-50)}
.lf-about-map span{display:block;color:var(--teal);font-size:.72rem;font-weight:700;letter-spacing:.08em;margin-bottom:10px}
.lf-about-map strong{display:block;color:var(--navy);font-size:.94rem}
.lf-about-map small{display:block;color:var(--slate);font-size:.75rem;line-height:1.45;margin-top:4px}
.lf-about-intro-grid{align-items:start}
.lf-about-product-grid .lf-card{display:flex;flex-direction:column;gap:12px;min-height:100%}
.lf-about-product-grid .lf-card h3{margin:0}
.lf-about-product-grid .lf-card p{flex:1}
.lf-about-product-grid .lf-card-action{margin-top:6px}
.lf-about-process-list{display:grid;gap:12px}
.lf-about-process-list > div{display:grid;grid-template-columns:46px 1fr;gap:2px 15px;padding:18px 20px;background:#fff;border:1px solid var(--navy-50);border-radius:13px;box-shadow:var(--sh-xs)}
.lf-about-process-list > div > span{grid-row:1/3;display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--teal-wash);color:var(--teal);font-weight:700;font-size:.78rem}
.lf-about-process-list strong{color:var(--navy);font-family:var(--font-display);font-size:.98rem}
.lf-about-process-list small{color:var(--slate);font-size:.8rem;line-height:1.45}
.lf-about-final-cta{padding-top:100px;padding-bottom:108px}

/* Footer is still complete, but no longer dominates short pages. */
.lf-footer{padding-bottom:30px}
.lf-footer-cta{padding:46px 0 40px;gap:34px}
.lf-footer-cta h2{font-size:clamp(1.4rem,2.35vw,1.9rem);margin:10px 0 7px}
.lf-footer-cta p{font-size:.9rem;line-height:1.6}
.lf-footer-grid{grid-template-columns:1.25fr repeat(4,1fr);gap:32px;padding:38px 0 34px}
.lf-footer-brand p{margin:14px 0 16px;font-size:.86rem;line-height:1.6}
.lf-footer h3{margin-bottom:13px}
.lf-footer ul{gap:7px}
.lf-footer ul a{font-size:.83rem;line-height:1.35}
.lf-social-line a{padding:6px 13px;font-size:.8rem}
.lf-footer-bottom{padding-top:22px;font-size:.8rem}

@media (max-width:980px){
  .lf-section{padding:92px 0}
  .lf-section-sm{padding:72px 0}
  .lf-footer-grid{grid-template-columns:1fr 1fr 1fr;gap:30px}
}
@media (max-width:760px){
  .lf-section{padding:76px 0}
  .lf-section-sm{padding:62px 0}
  .lf-dark:not(.lf-hero)::before{inset:12px;border-radius:18px}
  .lf-feature-compact-section .lf-feature-list{grid-template-columns:1fr}
  .lf-about-map{grid-template-columns:1fr}
  .lf-about-final-cta{padding-top:76px;padding-bottom:80px}
  .lf-footer-cta{padding:38px 0 34px}
  .lf-footer-grid{grid-template-columns:1fr 1fr;padding:32px 0 28px}
}
@media (max-width:520px){
  .lf-showcase-body{padding:21px}
  .lf-showcase-body .lf-portfolio-actions{display:grid}
  .lf-showcase-body .lf-portfolio-actions .lf-btn{width:100%}
  .lf-footer-grid{grid-template-columns:1fr;gap:26px}
  .lf-footer-brand{padding-bottom:4px}
}
.lf-dark:not(.lf-hero) .lf-card .lf-card-action a{color:var(--signal)}
.lf-dark:not(.lf-hero) .lf-card .lf-card-action a:hover{color:var(--teal)}

/* ========================================================================== 
   v3.9 — Friend-inspired homepage architecture, translated into the approved
   LogicalFrame Navy / Teal / Signal Blue system. No gold or fourth accent.
   ========================================================================== */

/* Homepage header: dark, integrated with the hero, while preserving the
   existing multi-page navigation and deterministic submenu behaviour. */
.lf-home-v39 .lf-topbar{background:#081326}
.lf-home-v39 .lf-nav{
  background:rgba(11,22,43,.94);
  border-bottom-color:rgba(255,255,255,.11);
  backdrop-filter:saturate(1.3) blur(16px);
  -webkit-backdrop-filter:saturate(1.3) blur(16px);
}
.lf-home-v39 .lf-header-scrolled .lf-nav{background:rgba(11,22,43,.98);box-shadow:0 12px 34px rgba(3,10,24,.24)}
.lf-home-v39 .lf-nav-menu>a,.lf-home-v39 .lf-submenu-toggle{color:var(--navy-200)}
.lf-home-v39 .lf-nav-menu>a:hover,.lf-home-v39 .lf-submenu-toggle:hover{color:#fff;background:rgba(255,255,255,.07)}
.lf-home-v39 .lf-nav-menu>a.active,.lf-home-v39 .lf-nav-item.active>.lf-submenu-toggle{color:#fff}
.lf-home-v39 .lf-nav-menu>a.active::after{background:var(--signal)}
.lf-home-v39 .lf-menu-toggle span{background:#fff}
.lf-home-v39 .lf-submenu{background:rgba(255,255,255,.99)}
.lf-home-v39 .lf-submenu-toggle span{color:var(--teal-light)}

/* Shared homepage layout */
.lf-home-section{padding:clamp(82px,8vw,124px) 0}
.lf-home-head{
  display:grid;grid-template-columns:minmax(0,1.18fr) minmax(300px,.82fr);
  gap:clamp(32px,6vw,82px);align-items:end;margin-bottom:clamp(42px,5vw,64px)
}
.lf-home-head h2{margin:14px 0 0;font-size:clamp(2rem,3.7vw,3.15rem);max-width:18ch}
.lf-home-head p{margin:0 0 14px;color:var(--navy-700);font-size:1rem;line-height:1.75}
.lf-home-head .lf-link{display:inline-block;font-weight:650}

/* Hero */
.lf-home-hero{
  position:relative;overflow:hidden;color:#fff;
  background:
    radial-gradient(900px 560px at 88% 10%,rgba(47,111,237,.18),transparent 64%),
    radial-gradient(650px 420px at 12% 12%,rgba(14,124,134,.12),transparent 64%),
    linear-gradient(145deg,#081326 0%,var(--navy-deep) 54%,var(--navy) 100%);
}
.lf-home-grid-lines{
  position:absolute;inset:0;pointer-events:none;opacity:.48;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:84px 84px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.76) 72%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.76) 72%,transparent 100%);
}
.lf-home-hero-inner{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr);gap:clamp(44px,6vw,86px);align-items:center;padding:clamp(82px,8vw,126px) 0 0}
.lf-home-hero-copy{padding-bottom:clamp(44px,5vw,72px)}
.lf-home-hero .lf-kicker{color:var(--teal-light)}
.lf-home-hero .lf-kicker::before{background:var(--teal-light)}
.lf-home-hero h1{color:#fff;font-size:clamp(2.8rem,5.5vw,5rem);line-height:1.01;letter-spacing:-.045em;margin:20px 0 24px;max-width:13ch}
.lf-home-hero h1 em{font-style:normal;color:var(--teal-light)}
.lf-home-hero .lf-lead{color:#fff;max-width:62ch;font-size:clamp(1.03rem,1.45vw,1.18rem);line-height:1.72}
.lf-btn-on-dark{color:#fff;background:transparent;border-color:rgba(255,255,255,.3);box-shadow:none}
.lf-btn-on-dark:hover{color:#fff;background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.62);transform:translateY(-1px)}
.lf-home-hero-note{margin:20px 0 0;color:var(--navy-200);font-size:.78rem;font-weight:500;letter-spacing:.05em}

.lf-home-system{position:relative;min-height:510px;isolation:isolate}
.lf-system-window{position:absolute;background:rgba(13,29,55,.96);border:1px solid rgba(255,255,255,.16);box-shadow:0 34px 80px rgba(0,0,0,.34)}
.lf-system-window-main{width:min(100%,520px);right:0;top:38px;border-radius:18px;overflow:hidden;transform:rotate(-1deg)}
.lf-system-chrome{height:48px;display:flex;align-items:center;gap:8px;padding:0 18px;border-bottom:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.035)}
.lf-system-chrome i,.lf-system-chrome span{width:9px;height:9px;border-radius:50%;background:var(--teal-light);opacity:.75}
.lf-system-chrome i:nth-child(2),.lf-system-chrome span:nth-child(2){opacity:.5}
.lf-system-chrome i:nth-child(3),.lf-system-chrome span:nth-child(3){opacity:.28}
.lf-system-chrome strong{margin-left:auto;color:var(--navy-200);font:600 .68rem/1 var(--font-body);letter-spacing:.08em;text-transform:uppercase}
.lf-system-body{display:grid;grid-template-columns:64px 1fr;min-height:332px}
.lf-system-body aside{border-right:1px solid rgba(255,255,255,.08);padding:22px 17px;display:grid;align-content:start;gap:18px}
.lf-system-body aside i{width:28px;height:8px;border-radius:99px;background:rgba(255,255,255,.12)}
.lf-system-body aside i:first-child{height:28px;border-radius:8px;background:rgba(95,199,207,.24);border:1px solid rgba(95,199,207,.38)}
.lf-system-content{padding:24px}
.lf-system-heading{display:flex;justify-content:space-between;align-items:center;color:#fff;font-size:.84rem;font-weight:600}
.lf-system-heading b{padding:5px 9px;border-radius:99px;color:var(--teal-light);background:rgba(95,199,207,.12);font-size:.62rem;letter-spacing:.08em;text-transform:uppercase}
.lf-system-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:22px 0}
.lf-system-kpis span{height:68px;border:1px solid rgba(255,255,255,.08);border-radius:10px;background:linear-gradient(145deg,rgba(255,255,255,.06),rgba(47,111,237,.08))}
.lf-system-chart{height:110px;display:flex;align-items:end;gap:9px;padding:16px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.07)}
.lf-system-chart i{flex:1;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,var(--teal-light),var(--teal));opacity:.8}
.lf-system-chart i:nth-child(1){height:28%}.lf-system-chart i:nth-child(2){height:54%}.lf-system-chart i:nth-child(3){height:44%}.lf-system-chart i:nth-child(4){height:74%}.lf-system-chart i:nth-child(5){height:64%}.lf-system-chart i:nth-child(6){height:92%}
.lf-system-table{display:grid;gap:8px;margin-top:18px}.lf-system-table span{height:9px;border-radius:99px;background:rgba(255,255,255,.1)}.lf-system-table span:nth-child(2){width:82%}.lf-system-table span:nth-child(3){width:66%}
.lf-system-window-mobile{width:176px;left:0;bottom:18px;border-radius:24px;padding:27px 18px 20px;transform:rotate(4deg);z-index:2}
.lf-system-mobile-notch{position:absolute;top:9px;left:50%;width:48px;height:5px;border-radius:99px;background:rgba(255,255,255,.16);transform:translateX(-50%)}
.lf-system-app-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;color:var(--teal-light);background:rgba(95,199,207,.12);border:1px solid rgba(95,199,207,.28)}
.lf-system-app-mark svg{width:22px;height:22px}
.lf-system-window-mobile strong{display:block;color:#fff;font-size:.84rem;margin:17px 0 14px}
.lf-system-mobile-card{height:92px;border-radius:12px;background:linear-gradient(145deg,rgba(47,111,237,.28),rgba(95,199,207,.12));border:1px solid rgba(255,255,255,.1)}
.lf-system-mobile-row{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:12px}.lf-system-mobile-row i{height:33px;border-radius:8px;background:rgba(255,255,255,.07)}
.lf-system-status{position:absolute;right:22px;bottom:34px;z-index:3;padding:11px 15px;border-radius:10px;color:var(--navy);background:#fff;box-shadow:0 16px 36px rgba(0,0,0,.28);font-size:.76rem;font-weight:650}
.lf-system-status span{display:inline-block;width:8px;height:8px;margin-right:7px;border-radius:50%;background:var(--teal)}
.lf-frame-corner{position:absolute;width:38px;height:38px;border:2px solid var(--teal-light);opacity:.72}
.lf-frame-corner-a{right:-4px;top:2px;border-left:0;border-bottom:0}.lf-frame-corner-b{left:10px;bottom:0;border-right:0;border-top:0}

.lf-home-capability-rail{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid rgba(255,255,255,.14)}
.lf-home-capability-rail a{display:block;padding:25px 24px 33px;border-right:1px solid rgba(255,255,255,.13);transition:background .2s ease,transform .2s ease}
.lf-home-capability-rail a:first-child{padding-left:0}.lf-home-capability-rail a:last-child{border-right:0}
.lf-home-capability-rail a:hover{background:rgba(255,255,255,.035);transform:translateY(-2px)}
.lf-home-capability-rail strong{display:block;color:#fff;font-family:var(--font-display);font-size:1.12rem;margin-bottom:7px}
.lf-home-capability-rail span{display:block;color:var(--navy-200);font-size:.82rem;line-height:1.5}

/* Compact service index — all services retained, homepage repetition removed. */
.lf-home-services{background:var(--mist)}
.lf-service-index{border-top:1px solid var(--navy-200);background:rgba(255,255,255,.54)}
.lf-service-index-row{position:relative;display:grid;grid-template-columns:80px minmax(230px,1fr) minmax(280px,.92fr) 28px;gap:clamp(16px,2.4vw,32px);align-items:center;padding:21px 24px;border-bottom:1px solid var(--navy-200);transition:background .2s ease,padding-left .2s ease,box-shadow .2s ease}
.lf-service-index-row::before{content:"";position:absolute;left:0;inset-block:0;width:3px;background:var(--teal);transform:scaleY(0);transition:transform .2s ease}
.lf-service-index-row:hover{background:#fff;padding-left:32px;box-shadow:0 12px 26px rgba(18,33,61,.06)}
.lf-service-index-row:hover::before{transform:scaleY(1)}
.lf-service-code{color:var(--teal);font-size:.72rem;font-weight:750;letter-spacing:.12em}
.lf-service-name{display:flex;align-items:center;gap:11px;flex-wrap:wrap;color:var(--navy);font-family:var(--font-display);font-size:clamp(1.08rem,1.7vw,1.42rem);font-weight:600;line-height:1.25}
.lf-service-name small{padding:5px 8px;border-radius:4px;color:#fff;background:var(--signal);font:650 .55rem/1 var(--font-body);letter-spacing:.09em;text-transform:uppercase}
.lf-service-scope{color:var(--navy-500);font-size:.77rem;font-weight:550;letter-spacing:.025em}
.lf-service-arrow{justify-self:end;color:var(--navy);font-size:1.2rem;transition:transform .2s ease,color .2s ease}
.lf-service-index-row:hover .lf-service-arrow{color:var(--signal);transform:translateX(5px)}
.lf-service-index-row.is-lead{background:var(--navy)}
.lf-service-index-row.is-lead .lf-service-code{color:var(--teal-light)}
.lf-service-index-row.is-lead .lf-service-name{color:#fff}
.lf-service-index-row.is-lead .lf-service-scope{color:var(--navy-200)}
.lf-service-index-row.is-lead .lf-service-arrow{color:var(--teal-light)}
.lf-service-index-row.is-lead:hover{background:#192D50}

/* Interactive product proof */
.lf-home-proof-section{background:#fff}
.lf-proof-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.75fr);gap:clamp(24px,4vw,48px);align-items:start}
.lf-proof-tabs{border-top:1px solid var(--navy-200)}
.lf-proof-tabs button{position:relative;display:grid;width:100%;grid-template-columns:42px 1fr;gap:3px 14px;padding:20px;border:0;border-bottom:1px solid var(--navy-200);background:#fff;text-align:left;color:var(--navy-700);transition:background .2s ease,padding-left .2s ease}
.lf-proof-tabs button::before{content:"";position:absolute;left:0;inset-block:0;width:3px;background:var(--teal);transform:scaleY(0);transition:transform .2s ease}
.lf-proof-tabs button:hover,.lf-proof-tabs button.is-active{background:var(--mist);padding-left:28px}
.lf-proof-tabs button.is-active::before{transform:scaleY(1)}
.lf-proof-tabs button>span{grid-row:1/3;color:var(--teal);font-size:.7rem;font-weight:750;letter-spacing:.08em;padding-top:3px}
.lf-proof-tabs strong{color:var(--navy);font-family:var(--font-display);font-size:1.08rem}.lf-proof-tabs small{color:var(--navy-500);font-size:.76rem}
.lf-proof-stage{min-width:0}
.lf-proof-panel{display:grid;grid-template-columns:minmax(0,1.28fr) minmax(260px,.72fr);min-height:510px;border:1px solid var(--navy-200);background:var(--mist);box-shadow:var(--sh-sm);overflow:hidden}
.lf-proof-panel[hidden]{display:none!important}
.lf-proof-browser{align-self:stretch;margin:28px 0 28px 28px;background:#fff;border:1px solid var(--navy-200);box-shadow:0 22px 48px rgba(18,33,61,.12);overflow:hidden}
.lf-proof-browser-bar{height:42px;display:flex;align-items:center;gap:7px;padding:0 14px;border-bottom:1px solid var(--navy-50);background:#fff}
.lf-proof-browser-bar i{width:7px;height:7px;border-radius:50%;background:var(--navy-200)}
.lf-proof-browser-bar i:first-child{background:var(--teal)}.lf-proof-browser-bar span{margin-left:auto;color:var(--navy-500);font-size:.63rem;font-weight:650;letter-spacing:.05em}
.lf-proof-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(26px,4vw,48px)}
.lf-proof-copy h3{font-size:clamp(1.45rem,2.3vw,2.05rem);margin:14px 0 10px}.lf-proof-copy>ul{display:grid;gap:9px;margin:14px 0 26px}.lf-proof-copy>ul li{position:relative;padding-left:21px;color:var(--navy-700);font-size:.88rem}.lf-proof-copy>ul li::before{content:"";position:absolute;left:0;top:.65em;width:7px;height:7px;background:var(--teal);transform:rotate(45deg)}
.lf-proof-copy .lf-btn{align-self:flex-start}.lf-proof-actions{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.lf-proof-connect-grid{display:grid;grid-template-columns:92px 1fr .8fr;min-height:370px}
.lf-proof-connect-grid aside{padding:18px 13px;border-right:1px solid var(--navy-50);background:var(--mist)}.lf-proof-connect-grid aside b{display:block;color:var(--navy);font-size:.7rem;margin-bottom:18px}.lf-proof-connect-grid aside span{display:block;height:9px;border-radius:99px;background:var(--navy-200);margin:13px 0}.lf-proof-connect-grid aside span:first-of-type{background:var(--teal);width:76%}
.lf-proof-thread{padding:20px 16px;display:grid;align-content:start;gap:12px;border-right:1px solid var(--navy-50)}.lf-proof-thread div{height:56px;border-radius:8px;border:1px solid var(--navy-50);background:linear-gradient(90deg,var(--teal-wash),#fff)}.lf-proof-thread div:nth-child(2){background:var(--signal-wash)}
.lf-proof-detail{padding:24px 18px}.lf-proof-detail strong{font-size:.78rem;color:var(--navy)}.lf-proof-detail p{height:9px;border-radius:99px;background:var(--navy-50);margin:15px 0}.lf-proof-detail p:nth-of-type(2){width:72%}.lf-proof-detail button{margin-top:30px;padding:9px;border:0;border-radius:6px;color:#fff;background:var(--signal);font-size:.63rem;font-weight:650}
.lf-proof-book-hero{margin:22px;height:145px;padding:28px;border-radius:10px;background:linear-gradient(145deg,var(--navy),var(--navy-700));color:#fff}.lf-proof-book-hero strong{display:block;font-family:var(--font-display);font-size:1.25rem;max-width:12ch}.lf-proof-book-hero span{display:block;width:58%;height:9px;margin-top:22px;border-radius:99px;background:rgba(255,255,255,.3)}
.lf-proof-books{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:0 22px 22px}.lf-proof-books i{height:150px;border-radius:4px 9px 9px 4px;background:linear-gradient(160deg,var(--teal),var(--navy));box-shadow:4px 7px 14px rgba(18,33,61,.16)}.lf-proof-books i:nth-child(2){background:linear-gradient(160deg,var(--signal),var(--navy-700))}.lf-proof-books i:nth-child(3){background:linear-gradient(160deg,var(--navy-700),var(--teal))}.lf-proof-books i:nth-child(4){background:linear-gradient(160deg,var(--navy),var(--signal))}
.lf-proof-widget-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:20px;background:var(--mist);border-bottom:1px solid var(--navy-50)}.lf-proof-widget-grid span{padding:14px 8px;border:1px solid var(--navy-50);border-radius:7px;background:#fff;color:var(--navy-700);font-size:.65rem;font-weight:650;text-align:center}.lf-proof-widget-canvas{display:grid;grid-template-columns:1.1fr .9fr;grid-template-rows:1fr 1fr;gap:12px;padding:20px;height:250px}.lf-proof-widget-canvas div{border-radius:8px;background:linear-gradient(145deg,var(--navy),var(--navy-700))}.lf-proof-widget-canvas div:first-child{grid-row:1/3}.lf-proof-widget-canvas div:nth-child(2){background:var(--teal-wash);border:1px solid #CDE6E8}.lf-proof-widget-canvas div:nth-child(3){background:var(--signal-wash);border:1px solid var(--signal-border)}

/* People / disciplines, without fabricated biographies or stock portraits. */
.lf-home-people-section{background:var(--mist);border-block:1px solid var(--navy-50)}
.lf-home-people-layout{display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);gap:clamp(44px,7vw,100px);align-items:center}
.lf-home-people-copy h2{font-size:clamp(2rem,3.5vw,3rem);margin:15px 0 20px}.lf-home-people-copy p{color:var(--navy-700);max-width:58ch}.lf-home-people-copy .lf-btn{margin-top:18px}
.lf-discipline-list{border-top:1px solid var(--navy-200)}
.lf-discipline-list article{display:grid;grid-template-columns:52px 1fr;gap:20px;padding:22px 16px;border-bottom:1px solid var(--navy-200);transition:background .2s ease,padding-left .2s ease}
.lf-discipline-list article:hover{background:#fff;padding-left:24px}
.lf-discipline-list article>span{color:var(--teal);font-size:.72rem;font-weight:750;letter-spacing:.1em}
.lf-discipline-list strong{display:block;color:var(--navy);font-family:var(--font-display);font-size:1.1rem}.lf-discipline-list p{margin:6px 0 0;color:var(--navy-500);font-size:.84rem;line-height:1.55}

/* Process rail */
.lf-home-process-section{background:#fff}
.lf-home-process-rail{display:grid;grid-template-columns:repeat(5,1fr);border-top:2px solid var(--navy)}
.lf-home-process-rail article{position:relative;padding:25px 22px 8px;border-right:1px solid var(--navy-200)}.lf-home-process-rail article:last-child{border-right:0}.lf-home-process-rail article:first-child{padding-left:0}
.lf-home-process-rail article::before{content:"";position:absolute;top:-8px;left:0;width:14px;height:14px;border-radius:50%;background:var(--navy);box-shadow:0 0 0 5px #fff}
.lf-home-process-rail span{color:var(--teal);font-size:.7rem;font-weight:750;letter-spacing:.12em}.lf-home-process-rail h3{margin:13px 0 8px;font-size:1.1rem}.lf-home-process-rail p{margin:0;color:var(--navy-500);font-size:.81rem;line-height:1.55}

/* Dark industry band */
.lf-home-industries-section{position:relative;color:#fff;background:linear-gradient(145deg,var(--navy-deep),var(--navy));overflow:hidden}
.lf-home-industries-section::before{content:"";position:absolute;inset:0;pointer-events:none;background:radial-gradient(700px 360px at 92% -4%,rgba(95,199,207,.12),transparent 62%)}
.lf-home-industries-section .lf-wrap{position:relative}
.lf-home-industries-section h2{color:#fff}.lf-home-industries-section .lf-home-head p{color:var(--navy-200)}.lf-home-industries-section .lf-link{color:var(--teal-light)}.lf-home-industries-section .lf-badge{color:var(--teal-light)}.lf-home-industries-section .lf-badge::before{background:var(--teal-light)}
.lf-home-industry-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.12)}
.lf-home-industry-grid article{padding:30px 28px 34px;background:rgba(8,19,38,.66);transition:background .2s ease,transform .2s ease}.lf-home-industry-grid article:hover{background:rgba(255,255,255,.055);transform:translateY(-2px)}
.lf-home-industry-grid article>span{display:block;color:var(--teal-light);font-size:.67rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase;margin-bottom:18px}
.lf-home-industry-grid .lf-icon{background:rgba(95,199,207,.1);border-color:rgba(95,199,207,.25);color:var(--teal-light)}
.lf-home-industry-grid h3{color:#fff;margin:18px 0 10px}.lf-home-industry-grid p{margin:0;color:var(--navy-200);font-size:.86rem;line-height:1.62}

/* Portfolio evidence */
.lf-home-work-section{background:var(--mist)}
.lf-home-featured-work{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);background:#fff;border:1px solid var(--navy-200);box-shadow:var(--sh-sm);overflow:hidden}
.lf-home-featured-image{position:relative;min-height:410px;background:var(--navy)}.lf-home-featured-image img{width:100%;height:100%;object-fit:cover}.lf-home-featured-image>span{position:absolute;left:18px;bottom:16px;padding:7px 10px;border-radius:99px;color:#fff;background:rgba(18,33,61,.9);font-size:.65rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.lf-home-featured-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(30px,4vw,52px)}.lf-home-featured-copy h3{font-size:clamp(1.6rem,2.7vw,2.35rem);margin:14px 0}.lf-home-featured-copy p{color:var(--navy-700);line-height:1.72}.lf-home-featured-copy .lf-hero-actions{margin-top:24px}
.lf-home-work-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:24px}
.lf-home-work-card{overflow:hidden;border:1px solid var(--navy-200);background:#fff;transition:transform .2s ease,box-shadow .2s ease}.lf-home-work-card:hover{transform:translateY(-4px);box-shadow:var(--sh-sm)}.lf-home-work-card>a{display:block;aspect-ratio:16/10;overflow:hidden;background:var(--navy)}.lf-home-work-card img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}.lf-home-work-card:hover img{transform:scale(1.025)}.lf-home-work-card>div{padding:22px}.lf-home-work-card h3{margin:11px 0 15px;font-size:1.1rem}

/* Products */
.lf-home-products-section{position:relative;color:#fff;background:linear-gradient(160deg,var(--navy),#081326)}
.lf-home-products-section h2{color:#fff}.lf-home-products-section .lf-home-head p{color:var(--navy-200)}.lf-home-products-section .lf-link{color:var(--teal-light)}.lf-home-products-section .lf-badge{color:var(--teal-light)}.lf-home-products-section .lf-badge::before{background:var(--teal-light)}
.lf-home-product-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.lf-home-product-card{position:relative;display:flex;flex-direction:column;min-height:310px;padding:26px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.035);transition:transform .2s ease,background .2s ease,border-color .2s ease}.lf-home-product-card:hover{transform:translateY(-4px);background:rgba(255,255,255,.06);border-color:rgba(95,199,207,.35)}
.lf-home-product-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.lf-home-product-top .lf-icon{background:rgba(95,199,207,.1);border-color:rgba(95,199,207,.25);color:var(--teal-light)}.lf-home-product-top>span{color:var(--teal-light);font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;text-align:right}
.lf-home-product-card>small{display:block;color:var(--navy-200);font-size:.68rem;letter-spacing:.08em;text-transform:uppercase;margin-top:24px}.lf-home-product-card h3{color:#fff;margin:10px 0}.lf-home-product-card p{color:var(--navy-200);font-size:.85rem;line-height:1.65;flex:1}.lf-home-product-card>a{color:#fff;font-size:.82rem;font-weight:650;margin-top:18px}.lf-home-product-card>a:hover{color:var(--teal-light)}

/* Engagement and stack */
.lf-home-engagement-section{background:#fff}
.lf-engagement-index{padding:24px;border:1px solid var(--navy-200);background:var(--mist)}
.lf-engagement-index>a{display:grid;grid-template-columns:90px minmax(0,1fr) 250px 28px;gap:22px;align-items:center;padding:22px 18px;border-bottom:1px solid var(--navy-200);background:#fff;transition:transform .2s ease,box-shadow .2s ease}.lf-engagement-index>a:last-child{border-bottom:0}.lf-engagement-index>a:hover{transform:translateX(4px);box-shadow:var(--sh-sm)}
.lf-engagement-index>a>span{display:grid;place-items:center;min-height:38px;border-radius:7px;color:#fff;background:var(--navy);font-size:.65rem;font-weight:750;letter-spacing:.08em}.lf-engagement-index>a>div strong{display:block;color:var(--navy);font-family:var(--font-display);font-size:1.15rem}.lf-engagement-index>a>div small{display:block;margin-top:5px;color:var(--navy-500);font-size:.8rem;line-height:1.5}.lf-engagement-index>a>em{color:var(--navy-500);font-style:normal;font-size:.7rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase}.lf-engagement-index>a>b{color:var(--navy);font-size:1.2rem}.lf-engagement-index>a.is-featured{background:var(--navy)}.lf-engagement-index>a.is-featured>span{color:var(--navy);background:var(--teal-light)}.lf-engagement-index>a.is-featured>div strong{color:#fff}.lf-engagement-index>a.is-featured>div small,.lf-engagement-index>a.is-featured>em{color:var(--navy-200)}.lf-engagement-index>a.is-featured>b{color:var(--teal-light)}
.lf-home-stack{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1.3fr);gap:clamp(32px,6vw,82px);align-items:center;margin-top:clamp(60px,7vw,90px);padding-top:clamp(54px,6vw,78px);border-top:1px solid var(--navy-200)}.lf-home-stack h2{margin:14px 0}.lf-home-stack p{color:var(--navy-500)}

/* CTA */
.lf-home-contact-section{padding-top:0;background:#fff}
.lf-home-contact-band{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(300px,.7fr);gap:clamp(34px,6vw,80px);align-items:center;padding:clamp(38px,5vw,64px);color:#fff;background:linear-gradient(145deg,var(--navy-deep),var(--navy));border:1px solid rgba(255,255,255,.1);box-shadow:0 28px 70px rgba(18,33,61,.18)}
.lf-home-contact-band .lf-badge{color:var(--teal-light)}.lf-home-contact-band .lf-badge::before{background:var(--teal-light)}.lf-home-contact-band h2{color:#fff;margin:14px 0 14px}.lf-home-contact-band p{margin:0;color:var(--navy-200)}
.lf-home-contact-actions{display:flex;flex-direction:column;gap:12px}.lf-home-contact-actions .lf-btn{width:100%}.lf-home-contact-actions small{text-align:center;color:var(--navy-200)}.lf-home-contact-actions small a{color:var(--teal-light)}

/* About page people section */
.lf-about-people-section{background:var(--mist);border-block:1px solid var(--navy-50)}
.lf-about-discipline-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.lf-about-discipline{position:relative;padding:24px;background:#fff;border:1px solid var(--navy-200);box-shadow:var(--sh-xs)}
.lf-about-discipline>span{position:absolute;right:18px;top:18px;color:var(--navy-200);font-size:.7rem;font-weight:750;letter-spacing:.1em}.lf-about-discipline h3{margin:20px 0 10px}.lf-about-discipline p{color:var(--navy-700);font-size:.86rem;line-height:1.6}.lf-about-discipline small{display:block;color:var(--teal);font-size:.67rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase;margin-top:18px}
.lf-about-team-head{margin-top:72px}.lf-about-team-head h2{margin-top:14px}.lf-about-team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px;margin-top:34px}.lf-about-team-card{display:grid;grid-template-columns:180px 1fr;background:#fff;border:1px solid var(--navy-200);overflow:hidden}.lf-about-team-card img{width:100%;height:100%;object-fit:cover}.lf-about-team-card>div{padding:24px}.lf-about-team-card h3{margin:12px 0}.lf-about-team-card p{color:var(--navy-700);font-size:.87rem}

/* Elegant, compact footer inspired by the submitted layout, with every
   important destination preserved and ecosystem links moved into a slim row. */
.lf-footer-v39{padding-bottom:22px;background:#07101f}
.lf-footer-v39 .lf-footer-cta-compact{padding:36px 0 30px;gap:28px}
.lf-footer-v39 .lf-footer-cta-compact h2{font-size:clamp(1.28rem,2vw,1.7rem);max-width:34ch;margin:9px 0 5px}.lf-footer-v39 .lf-footer-cta-compact p{font-size:.82rem;max-width:64ch}.lf-footer-v39 .lf-footer-cta-compact .lf-btn{padding:11px 18px;font-size:.82rem}
.lf-footer-grid-v39{grid-template-columns:1.25fr repeat(3,1fr);gap:clamp(26px,4vw,54px);padding:34px 0 30px}
.lf-footer-v39 .lf-footer-brand p{max-width:36ch;margin:13px 0 15px;font-size:.82rem;line-height:1.55}.lf-footer-v39 .lf-footer-brand .lf-logo-img{height:34px}
.lf-footer-v39 h3{margin-bottom:12px;font-size:.68rem}.lf-footer-v39 ul{gap:5px}.lf-footer-v39 ul a{font-size:.78rem;line-height:1.35}.lf-footer-v39 .lf-social-line a{padding:5px 11px;font-size:.74rem}
.lf-footer-ecosystem{display:flex;align-items:center;gap:10px 20px;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--line-dark);border-bottom:1px solid var(--line-dark)}
.lf-footer-ecosystem>span{color:#fff;font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.lf-footer-ecosystem a{color:var(--on-dark-dim);font-size:.74rem}.lf-footer-ecosystem a:hover{color:var(--teal-light)}
.lf-footer-v39 .lf-footer-bottom{padding-top:17px;font-size:.74rem}

@media (max-width:1120px){
  .lf-home-hero-inner{grid-template-columns:1fr .86fr;gap:46px}.lf-home-system{min-height:470px}.lf-system-window-mobile{left:-8px}.lf-system-status{right:0}
  .lf-service-index-row{grid-template-columns:70px 1fr 30px}.lf-service-scope{display:none}
  .lf-proof-panel{grid-template-columns:1.15fr .85fr}.lf-proof-connect-grid{grid-template-columns:78px 1fr}.lf-proof-detail{display:none}
  .lf-about-discipline-grid{grid-template-columns:repeat(2,1fr)}
  .lf-footer-grid-v39{grid-template-columns:1fr 1fr 1fr}.lf-footer-grid-v39 .lf-footer-brand{grid-column:1/-1}
}
@media (max-width:900px){
  .lf-home-v39 .lf-nav-menu>a,.lf-home-v39 .lf-submenu-toggle{color:var(--navy-200)}
  .lf-home-hero-inner{grid-template-columns:1fr;padding-top:66px}.lf-home-hero-copy{padding-bottom:0}.lf-home-system{min-height:500px;max-width:640px;width:100%;margin-inline:auto}.lf-system-window-main{width:88%}.lf-system-window-mobile{left:2%;bottom:20px}
  .lf-home-capability-rail{grid-template-columns:repeat(2,1fr);margin-top:18px}.lf-home-capability-rail a:nth-child(2){border-right:0}.lf-home-capability-rail a:nth-child(n+3){border-top:1px solid rgba(255,255,255,.13)}.lf-home-capability-rail a:nth-child(3){padding-left:0}
  .lf-home-head{grid-template-columns:1fr;gap:18px}.lf-home-head h2{max-width:22ch}
  .lf-proof-layout{grid-template-columns:1fr}.lf-proof-tabs{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid var(--navy-200)}.lf-proof-tabs button{grid-template-columns:1fr;border-bottom:0;border-right:1px solid var(--navy-200);padding:15px}.lf-proof-tabs button:last-child{border-right:0}.lf-proof-tabs button>span{grid-row:auto}.lf-proof-tabs button:hover,.lf-proof-tabs button.is-active{padding-left:15px}.lf-proof-tabs small{display:none}.lf-proof-tabs button::before{inset:auto 0 0;width:auto;height:3px;transform:scaleX(0)}.lf-proof-tabs button.is-active::before{transform:scaleX(1)}
  .lf-home-people-layout{grid-template-columns:1fr}
  .lf-home-process-rail{grid-template-columns:repeat(3,1fr)}.lf-home-process-rail article:nth-child(3){border-right:0}.lf-home-process-rail article:nth-child(n+4){margin-top:28px;border-top:1px solid var(--navy-200);padding-top:26px}.lf-home-process-rail article:nth-child(4){padding-left:0}
  .lf-home-industry-grid,.lf-home-product-grid{grid-template-columns:repeat(2,1fr)}
  .lf-home-featured-work{grid-template-columns:1fr}.lf-home-featured-image{min-height:0;aspect-ratio:16/9}.lf-home-work-grid{grid-template-columns:1fr 1fr}.lf-home-work-grid article:last-child{grid-column:1/-1;max-width:calc(50% - 12px)}
  .lf-engagement-index>a{grid-template-columns:76px 1fr 26px}.lf-engagement-index>a>em{display:none}.lf-home-stack{grid-template-columns:1fr}
  .lf-home-contact-band{grid-template-columns:1fr}
  .lf-footer-v39 .lf-footer-cta-compact{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .lf-home-section{padding:68px 0}.lf-home-hero h1{font-size:clamp(2.55rem,12vw,3.55rem)}.lf-home-system{min-height:400px}.lf-system-window-main{width:100%;top:22px}.lf-system-body{grid-template-columns:48px 1fr;min-height:280px}.lf-system-content{padding:17px}.lf-system-kpis{gap:7px}.lf-system-window-mobile{width:138px;left:-2px;bottom:0;padding:24px 13px 15px}.lf-system-mobile-card{height:68px}.lf-system-status{right:0;bottom:14px;font-size:.66rem;padding:9px 11px}
  .lf-home-capability-rail{grid-template-columns:1fr}.lf-home-capability-rail a{padding:18px 0;border-right:0;border-top:1px solid rgba(255,255,255,.13)}.lf-home-capability-rail a:first-child{border-top:0}.lf-home-capability-rail a:nth-child(3){padding-left:0}
  .lf-service-index-row{grid-template-columns:52px 1fr 22px;gap:12px;padding:17px 12px}.lf-service-index-row:hover{padding-left:16px}.lf-service-name{font-size:1rem}.lf-service-name small{display:none}
  .lf-proof-tabs{grid-template-columns:1fr}.lf-proof-tabs button{border-right:0;border-bottom:1px solid var(--navy-200);grid-template-columns:38px 1fr}.lf-proof-tabs small{display:block}.lf-proof-panel{grid-template-columns:1fr;min-height:0}.lf-proof-browser{margin:18px 18px 0}.lf-proof-copy{padding:26px 22px 30px}.lf-proof-connect-grid{min-height:290px}.lf-proof-books i{height:110px}
  .lf-discipline-list article{grid-template-columns:42px 1fr;padding-inline:8px}
  .lf-home-process-rail{grid-template-columns:1fr;border-top:0}.lf-home-process-rail article,.lf-home-process-rail article:nth-child(n+4){padding:20px 0;border-right:0;border-top:1px solid var(--navy-200);margin-top:0}.lf-home-process-rail article:first-child{border-top:2px solid var(--navy)}.lf-home-process-rail article::before{display:none}
  .lf-home-industry-grid,.lf-home-product-grid,.lf-home-work-grid{grid-template-columns:1fr}.lf-home-work-grid article:last-child{grid-column:auto;max-width:none}
  .lf-home-featured-copy{padding:26px 22px}.lf-home-featured-copy .lf-hero-actions{display:grid}.lf-home-featured-copy .lf-btn{width:100%}
  .lf-engagement-index{padding:12px}.lf-engagement-index>a{grid-template-columns:62px 1fr 20px;gap:12px;padding:16px 10px}.lf-engagement-index>a>div strong{font-size:1rem}
  .lf-home-contact-band{padding:30px 22px}.lf-home-contact-actions .lf-btn{white-space:normal;text-align:center}
  .lf-about-discipline-grid,.lf-about-team-grid{grid-template-columns:1fr}.lf-about-team-card{grid-template-columns:1fr}.lf-about-team-card img{aspect-ratio:4/3}
  .lf-footer-grid-v39{grid-template-columns:1fr;gap:24px}.lf-footer-grid-v39 .lf-footer-brand{grid-column:auto}.lf-footer-ecosystem{align-items:flex-start;flex-direction:column;gap:7px;padding:14px 0}
}

/* ========================================================================== 
   LogicalFrame v4.0 — Site-wide marketing system
   Carries the approved homepage language across every public page while
   preserving the multi-page information architecture and brand palette.
   ========================================================================== */

/* Global shell: dark branded navigation on every page. */
.lf-site-v4 .lf-topbar{background:#07101f}
.lf-site-v4 .lf-nav{
  background:rgba(18,33,61,.96);
  border-bottom:1px solid rgba(255,255,255,.11);
  backdrop-filter:saturate(1.25) blur(14px);
  -webkit-backdrop-filter:saturate(1.25) blur(14px);
}
.lf-site-v4 .lf-header-scrolled .lf-nav{background:rgba(11,22,43,.985);box-shadow:0 16px 40px rgba(3,10,24,.24)}
.lf-site-v4 .lf-nav-menu>a,.lf-site-v4 .lf-submenu-toggle{color:var(--navy-200)}
.lf-site-v4 .lf-nav-menu>a:hover,.lf-site-v4 .lf-submenu-toggle:hover{color:#fff;background:rgba(255,255,255,.065)}
.lf-site-v4 .lf-nav-menu>a.active,.lf-site-v4 .lf-nav-item.active>.lf-submenu-toggle{color:#fff}
.lf-site-v4 .lf-nav-menu>a.active::after{background:var(--signal)}
.lf-site-v4 .lf-submenu-toggle span{color:var(--teal-light)}
.lf-site-v4 .lf-menu-toggle span{background:#fff}
.lf-site-v4 .lf-submenu{background:rgba(255,255,255,.99);border-color:rgba(18,33,61,.1);box-shadow:0 28px 72px rgba(3,10,24,.24)}

/* Consistent section rhythm and visual hierarchy. */
.lf-site-v4 .lf-section{padding:clamp(84px,8vw,124px) 0}
.lf-site-v4 .lf-section-sm{padding:clamp(58px,6vw,86px) 0}
.lf-site-v4:not(.lf-home-v39):not(.lf-page-web-design-services) main>.lf-section:nth-of-type(even):not(.lf-dark):not(.lf-soft-section){
  background:var(--mist);border-block:1px solid var(--navy-50)
}
.lf-site-v4 .lf-section-head{gap:30px clamp(48px,7vw,92px);margin-bottom:clamp(44px,5vw,68px)}
.lf-site-v4 .lf-section-head h2{font-size:clamp(1.9rem,3.45vw,2.85rem);max-width:19ch}
.lf-site-v4 .lf-section-head .lf-section-text{font-size:1rem;line-height:1.75;color:var(--navy-700)}
.lf-site-v4 .lf-badge,.lf-site-v4 .lf-kicker{font-size:.7rem;font-weight:720;letter-spacing:.14em}

/* Every standard page hero now shares the homepage's dark, technical canvas. */
.lf-site-v4 .lf-hero.lf-dark{
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(820px 520px at 92% 18%,rgba(47,111,237,.18),transparent 66%),
    radial-gradient(520px 380px at 14% 20%,rgba(14,124,134,.14),transparent 68%),
    linear-gradient(145deg,#081326 0%,#12213D 72%,#172C52 100%);
  border:0;
}
.lf-site-v4 .lf-hero.lf-dark::before{
  content:"";position:absolute;inset:0;z-index:-2;opacity:.38;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.065) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.065) 1px,transparent 1px);
  background-size:72px 72px;
  -webkit-mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.86) 72%,transparent 100%);
  mask-image:linear-gradient(180deg,#000 0%,rgba(0,0,0,.86) 72%,transparent 100%);
}
.lf-site-v4 .lf-hero.lf-dark::after{
  content:"";position:absolute;right:6%;top:22%;width:34px;height:34px;z-index:-1;
  border-top:2px solid var(--teal-light);border-right:2px solid var(--teal-light);opacity:.8
}
.lf-site-v4 .lf-hero-grid{padding:clamp(76px,8vw,118px) 0 clamp(82px,8vw,124px);gap:clamp(48px,7vw,96px)}
.lf-site-v4 .lf-hero.lf-dark h1,.lf-site-v4 .lf-hero.lf-dark h2,.lf-site-v4 .lf-hero.lf-dark h3{color:#fff}
.lf-site-v4 .lf-hero.lf-dark h1{font-size:clamp(2.7rem,5.25vw,4.9rem);line-height:1.02;letter-spacing:-.045em;max-width:14ch}
.lf-site-v4 .lf-hero.lf-dark p,.lf-site-v4 .lf-hero.lf-dark .lf-lead{color:#fff}
.lf-site-v4 .lf-hero.lf-dark .lf-kicker{color:var(--teal-light)}
.lf-site-v4 .lf-hero.lf-dark .lf-kicker::before{background:var(--teal-light)}
.lf-site-v4 .lf-hero.lf-dark .lf-btn-secondary{color:#fff;background:transparent;border-color:rgba(255,255,255,.28);box-shadow:none}
.lf-site-v4 .lf-hero.lf-dark .lf-btn-secondary:hover{background:rgba(255,255,255,.07);border-color:rgba(255,255,255,.55)}
.lf-site-v4 .lf-hero.lf-dark .lf-hero-metrics{border-color:rgba(255,255,255,.16)}
.lf-site-v4 .lf-hero.lf-dark .lf-metric+.lf-metric{border-color:rgba(255,255,255,.16)}
.lf-site-v4 .lf-hero.lf-dark .lf-metric strong{color:#fff}
.lf-site-v4 .lf-hero.lf-dark .lf-metric span{color:var(--navy-200)}

/* Dark hero evidence panel: a reusable marketing visual, not a white admin card. */
.lf-site-v4 .lf-hero .lf-dashboard-card{
  color:#fff;background:linear-gradient(155deg,rgba(30,53,96,.84),rgba(11,22,43,.94));
  border:1px solid rgba(255,255,255,.16);border-radius:10px;
  box-shadow:0 34px 90px rgba(3,10,24,.38);overflow:hidden
}
.lf-site-v4 .lf-hero .lf-dashboard-card::before{left:0;right:0;height:2px;background:linear-gradient(90deg,var(--teal-light),var(--signal))}
.lf-site-v4 .lf-hero .lf-dashboard-top h3,.lf-site-v4 .lf-hero h3[style*="color:#fff"]{color:#fff!important}
.lf-site-v4 .lf-hero .lf-dotline span{background:rgba(255,255,255,.24)}
.lf-site-v4 .lf-hero .lf-dotline span:first-child{background:var(--teal-light)}
.lf-site-v4 .lf-hero .lf-bars span{background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.08)}
.lf-site-v4 .lf-hero .lf-bars span::after{background:linear-gradient(90deg,var(--teal-light),var(--signal))}
.lf-site-v4 .lf-hero .lf-mini{background:rgba(255,255,255,.055);border-color:rgba(255,255,255,.11)}
.lf-site-v4 .lf-hero .lf-mini:hover{background:rgba(95,199,207,.1);border-color:rgba(95,199,207,.34)}
.lf-site-v4 .lf-hero .lf-mini strong{color:#fff}
.lf-site-v4 .lf-hero .lf-mini span{color:var(--navy-200)}

/* Marketing card language across service, product, portfolio and article pages. */
.lf-site-v4 .lf-card,.lf-site-v4 .lf-service-detail-card,.lf-site-v4 .lf-blog-card,.lf-site-v4 .lf-package-card,.lf-site-v4 .lf-portfolio-card{
  border-radius:8px;border-color:var(--navy-200);box-shadow:0 8px 28px rgba(18,33,61,.055)
}
.lf-site-v4 .lf-card:hover,.lf-site-v4 .lf-service-detail-card:hover,.lf-site-v4 .lf-blog-card:hover,.lf-site-v4 .lf-package-card:hover,.lf-site-v4 .lf-portfolio-card:hover{
  transform:translateY(-5px);border-color:#AEBBD0;box-shadow:0 24px 56px rgba(18,33,61,.12)
}
.lf-site-v4 .lf-card{position:relative;overflow:hidden}
.lf-site-v4 .lf-card::after{
  content:"";position:absolute;left:0;top:0;width:100%;height:2px;
  background:linear-gradient(90deg,var(--teal),transparent 76%);opacity:0;transition:opacity .2s ease
}
.lf-site-v4 .lf-card:hover::after{opacity:1}
.lf-site-v4 .lf-grid-3,.lf-site-v4 .lf-grid-4{gap:clamp(20px,2.4vw,30px)}

/* Restore genuinely dark bands, keeping their cards white for rich contrast. */
.lf-site-v4 .lf-dark:not(.lf-hero){
  position:relative;color:#fff;background:linear-gradient(150deg,#081326,var(--navy));
  border-block:1px solid rgba(255,255,255,.08);overflow:hidden
}
.lf-site-v4 .lf-dark:not(.lf-hero)::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(720px 360px at 94% -8%,rgba(95,199,207,.13),transparent 62%)
}
.lf-site-v4 .lf-dark:not(.lf-hero)>.lf-wrap{position:relative}
.lf-site-v4 .lf-dark:not(.lf-hero) h1,.lf-site-v4 .lf-dark:not(.lf-hero) h2,.lf-site-v4 .lf-dark:not(.lf-hero)>h3{color:#fff}
.lf-site-v4 .lf-dark:not(.lf-hero) p,.lf-site-v4 .lf-dark:not(.lf-hero) .lf-section-text{color:var(--navy-200)}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-badge,.lf-site-v4 .lf-dark:not(.lf-hero) .lf-kicker{color:var(--teal-light)}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-badge::before,.lf-site-v4 .lf-dark:not(.lf-hero) .lf-kicker::before{background:var(--teal-light)}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card{background:#fff;border-color:rgba(255,255,255,.14)}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card h3,.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card h4{color:var(--navy)}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card p,.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card li{color:var(--navy-700)}

/* Homepage Product Evidence v4: selector rail above a balanced evidence stage. */
.lf-home-v40 .lf-home-proof-section{background:linear-gradient(180deg,#fff 0%,var(--mist) 100%)}
.lf-home-v40 .lf-proof-layout{display:block}
.lf-home-v40 .lf-proof-tabs{
  display:grid;grid-template-columns:repeat(3,1fr);gap:0;
  border:1px solid var(--navy-200);border-bottom:0;background:#fff
}
.lf-home-v40 .lf-proof-tabs button{
  min-height:112px;grid-template-columns:42px 1fr;align-content:center;
  padding:22px 24px;border-bottom:0;border-right:1px solid var(--navy-200);background:#fff
}
.lf-home-v40 .lf-proof-tabs button:last-child{border-right:0}
.lf-home-v40 .lf-proof-tabs button::before{left:0;right:0;top:auto;bottom:0;width:auto;height:4px;transform:scaleX(0);transform-origin:left}
.lf-home-v40 .lf-proof-tabs button:hover{padding-left:24px;background:var(--mist)}
.lf-home-v40 .lf-proof-tabs button.is-active{padding-left:24px;color:#fff;background:var(--navy)}
.lf-home-v40 .lf-proof-tabs button.is-active::before{transform:scaleX(1);background:var(--teal-light)}
.lf-home-v40 .lf-proof-tabs button.is-active>span,.lf-home-v40 .lf-proof-tabs button.is-active strong{color:#fff}
.lf-home-v40 .lf-proof-tabs button.is-active small{color:var(--navy-200)}
.lf-home-v40 .lf-proof-panel{
  grid-template-columns:minmax(330px,.78fr) minmax(0,1.22fr);min-height:540px;
  color:#fff;background:linear-gradient(145deg,#081326,var(--navy));
  border:1px solid var(--navy);box-shadow:0 30px 72px rgba(18,33,61,.18)
}
.lf-home-v40 .lf-proof-browser{order:2;margin:34px 34px 34px 0;border-radius:8px;box-shadow:0 28px 70px rgba(0,0,0,.24)}
.lf-home-v40 .lf-proof-copy{order:1;padding:clamp(38px,5vw,66px)}
.lf-home-v40 .lf-proof-copy .lf-category{align-self:flex-start;color:var(--teal-light);background:rgba(95,199,207,.1);border-color:rgba(95,199,207,.3)}
.lf-home-v40 .lf-proof-copy h3{color:#fff;font-size:clamp(1.7rem,2.8vw,2.6rem);line-height:1.08;margin:18px 0 14px}
.lf-home-v40 .lf-proof-copy>ul{margin:16px 0 18px}
.lf-home-v40 .lf-proof-copy>ul li{color:var(--navy-200);font-size:.88rem}
.lf-home-v40 .lf-proof-copy>ul li::before{background:var(--teal-light)}
.lf-proof-facts{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.lf-proof-facts span{padding:7px 10px;border:1px solid rgba(255,255,255,.15);border-radius:99px;color:#fff;background:rgba(255,255,255,.045);font-size:.66rem;font-weight:650;letter-spacing:.05em;text-transform:uppercase}
.lf-home-v40 .lf-proof-actions .lf-link{color:var(--teal-light)}

/* Compact, elegant footer across all pages. */
.lf-site-v4 .lf-footer-v39{background:#07101f;border-top:1px solid rgba(255,255,255,.08)}
.lf-site-v4 .lf-footer-grid-v39{padding:32px 0 28px}
.lf-site-v4 .lf-footer-v39 h3{color:#fff;letter-spacing:.13em}
.lf-site-v4 .lf-footer-v39 ul a{color:#93A1B8}
.lf-site-v4 .lf-footer-v39 ul a:hover{color:var(--teal-light)}
.lf-site-v4 .lf-footer-cta-compact{border-bottom:1px solid rgba(255,255,255,.08)}
.lf-site-v4 .lf-footer-ecosystem{padding:14px 0}

/* Static/legal pages inherit the same marketing shell without becoming tall. */
.lf-site-v4.lf-static-page .lf-simple-page{padding:clamp(68px,7vw,102px) 0;background:var(--mist)}
.lf-site-v4.lf-static-page .lf-simple-page .lf-card{border-radius:8px;box-shadow:0 20px 60px rgba(18,33,61,.1)}

@media (max-width:1000px){
  .lf-home-v40 .lf-proof-panel{grid-template-columns:1fr;min-height:0}
  .lf-home-v40 .lf-proof-browser{order:1;margin:28px 28px 0}
  .lf-home-v40 .lf-proof-copy{order:2;padding:34px 28px 38px}
  .lf-site-v4 .lf-hero-grid{grid-template-columns:1fr;gap:44px}
  .lf-site-v4 .lf-hero-panel{max-width:720px;width:100%}
}

@media (max-width:900px){
  .lf-site-v4 .lf-nav-menu{background:#081326}
  .lf-site-v4 .lf-nav-menu>a,.lf-site-v4 .lf-submenu-toggle{color:var(--navy-200)}
  .lf-site-v4 .lf-nav-menu>a:hover,.lf-site-v4 .lf-submenu-toggle:hover{background:rgba(255,255,255,.06);color:#fff}
  .lf-site-v4 .lf-section-head{grid-template-columns:1fr;gap:18px}
  .lf-site-v4 .lf-section-head h2{max-width:24ch}
}

@media (max-width:700px){
  .lf-home-v40 .lf-proof-tabs{grid-template-columns:1fr;border-bottom:1px solid var(--navy-200)}
  .lf-home-v40 .lf-proof-tabs button{min-height:82px;border-right:0;border-bottom:1px solid var(--navy-200);grid-template-columns:42px 1fr}
  .lf-home-v40 .lf-proof-tabs button:last-child{border-bottom:0}
  .lf-home-v40 .lf-proof-tabs button::before{top:0;bottom:0;left:0;right:auto;width:4px;height:auto;transform:scaleY(0);transform-origin:top}
  .lf-home-v40 .lf-proof-tabs button.is-active::before{transform:scaleY(1)}
  .lf-home-v40 .lf-proof-browser{margin:18px 18px 0}
  .lf-home-v40 .lf-proof-copy{padding:28px 22px 32px}
  .lf-site-v4 .lf-hero.lf-dark h1{font-size:clamp(2.45rem,12vw,3.65rem)}
  .lf-site-v4 .lf-hero-grid{padding:62px 0 72px}
}
.lf-home-v40 .lf-proof-browser{align-self:center;height:auto}

/* ========================================================================== 
   v4.1 — Professional mega navigation and button legibility
   ========================================================================== */

/* Variant colours must win over generic card-link rules. This fixes primary
   buttons whose label inherited Signal Blue on a Signal Blue background. */
.lf-site-v4 a.lf-btn-primary,
.lf-site-v4 button.lf-btn-primary,
.lf-site-v4 input.lf-btn-primary,
.lf-site-v4 .lf-blog-card-action a.lf-btn-primary,
.lf-site-v4 .lf-card-action a.lf-btn-primary,
.lf-site-v4 .lf-portfolio-actions a.lf-btn-primary{
  color:#fff!important;
}
.lf-site-v4 a.lf-btn-secondary,
.lf-site-v4 button.lf-btn-secondary{
  color:var(--navy)!important;
}
.lf-site-v4 .lf-dark a.lf-btn-secondary,
.lf-site-v4 .lf-hero.lf-dark a.lf-btn-secondary,
.lf-site-v4 a.lf-btn-on-dark{
  color:#fff!important;
}
.lf-blog-card-action{margin-top:auto;padding-top:4px}
.lf-blog-card-action .lf-btn{
  min-width:132px;min-height:42px;justify-content:space-between;gap:14px;
  box-shadow:0 10px 24px rgba(47,111,237,.2)
}
.lf-blog-card-action .lf-btn::after{content:"→";font-size:1rem;line-height:1;transition:transform .18s ease}
.lf-blog-card-action .lf-btn:hover::after{transform:translateX(3px)}

:root{--lf-header-bottom:104px}
.lf-site-header{isolation:isolate}
.lf-nav{position:relative}
.lf-nav-inner{position:relative}
.lf-has-mega{position:static}
.lf-mega-backdrop{
  position:fixed;z-index:108;inset:var(--lf-header-bottom) 0 0;
  background:rgba(3,10,24,.42);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);
  opacity:0;visibility:hidden;pointer-events:none;transition:opacity .22s ease,visibility .22s ease
}
body.lf-mega-open .lf-mega-backdrop{opacity:1;visibility:visible;pointer-events:auto}
body.lf-mega-open{overflow-x:hidden}

@media (min-width:901px){
  .lf-site-header{z-index:140}
  .lf-nav-item.lf-has-mega{z-index:auto}
  .lf-nav-item.lf-has-mega.is-open{z-index:auto}
  .lf-nav-item.lf-has-mega>.lf-submenu-toggle{position:relative}
  .lf-nav-item.lf-has-mega>.lf-submenu-toggle::after{
    content:"";position:absolute;left:11px;right:11px;bottom:2px;height:2px;border-radius:2px;
    background:var(--teal-light);transform:scaleX(0);transform-origin:center;transition:transform .18s ease
  }
  .lf-nav-item.lf-has-mega.is-open>.lf-submenu-toggle::after{transform:scaleX(1)}

  .lf-submenu.lf-mega-menu{
    position:fixed;z-index:160;top:var(--lf-header-bottom);left:50vw;
    width:min(1180px,calc(100vw - 32px));max-height:min(720px,calc(100vh - var(--lf-header-bottom) - 18px));
    padding:0;border:1px solid rgba(18,33,61,.12);border-top:0;border-radius:0 0 18px 18px;
    background:rgba(255,255,255,.985);box-shadow:0 34px 90px rgba(3,10,24,.28);
    overflow:auto;overscroll-behavior:contain;scrollbar-gutter:auto;
    opacity:0;visibility:hidden;pointer-events:none;
    transform:translateX(-50%) translateY(-10px);
    transition:opacity .18s ease,transform .2s ease,visibility .18s ease
  }
  .lf-has-submenu.is-open>.lf-submenu.lf-mega-menu{
    opacity:1;visibility:visible;pointer-events:auto;transform:translateX(-50%) translateY(0)
  }
  .lf-submenu.lf-mega-menu::-webkit-scrollbar{width:7px}
  .lf-submenu.lf-mega-menu::-webkit-scrollbar-thumb{background:#AEB8CA;border:2px solid transparent;background-clip:padding-box;border-radius:99px}

  .lf-mega-shell{display:grid;grid-template-columns:minmax(250px,.72fr) minmax(0,2.28fr);min-height:390px}
  .lf-mega-intro{
    position:relative;display:flex;flex-direction:column;padding:36px 32px 34px;
    color:#fff;background:
      radial-gradient(430px 260px at 10% 0%,rgba(95,199,207,.2),transparent 62%),
      linear-gradient(150deg,#081326,var(--navy));overflow:hidden
  }
  .lf-mega-intro::after{
    content:"";position:absolute;right:26px;bottom:26px;width:44px;height:44px;
    border-right:2px solid var(--teal-light);border-bottom:2px solid var(--teal-light);opacity:.65
  }
  .lf-mega-eyebrow{
    display:flex;align-items:center;gap:9px;color:var(--teal-light);font-size:.67rem;font-weight:700;
    letter-spacing:.13em;text-transform:uppercase
  }
  .lf-mega-eyebrow::before{content:"";width:22px;height:2px;background:var(--teal-light)}
  .lf-mega-intro h2{margin:18px 0 14px;color:#fff;font-size:clamp(1.45rem,2.1vw,2rem);line-height:1.08;letter-spacing:-.035em}
  .lf-mega-intro p{margin:0;color:var(--navy-200);font-size:.84rem;line-height:1.65}
  .lf-mega-primary{
    display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:auto;padding:14px 0 2px;
    color:#fff!important;border-top:1px solid rgba(255,255,255,.15);font-size:.82rem;font-weight:650
  }
  .lf-mega-primary:hover{color:var(--teal-light)!important}
  .lf-mega-primary span:last-child{transition:transform .18s ease}
  .lf-mega-primary:hover span:last-child{transform:translateX(4px)}

  .lf-mega-groups{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:24px 22px 20px}
  .lf-mega-group{min-width:0;padding:8px 10px}
  .lf-mega-group+.lf-mega-group{border-left:1px solid var(--navy-50)}
  .lf-mega-group-title{
    display:block;margin:0 12px 11px;color:var(--teal);font-size:.66rem;font-weight:750;
    letter-spacing:.11em;text-transform:uppercase
  }
  .lf-mega-link{
    position:relative;display:grid!important;grid-template-columns:38px minmax(0,1fr) 18px;align-items:start;gap:11px;
    padding:12px!important;border:1px solid transparent;border-radius:10px!important;color:var(--navy)!important;
    transition:background .16s ease,border-color .16s ease,transform .16s ease!important
  }
  .lf-mega-link:hover{background:var(--mist)!important;border-color:var(--navy-50);transform:translateY(-1px)}
  .lf-mega-icon{
    display:grid;place-items:center;width:38px;height:38px;border:1px solid #CDE6E8;border-radius:9px;
    color:var(--teal);background:var(--teal-wash)
  }
  .lf-mega-icon svg{width:18px;height:18px}
  .lf-mega-link-copy{min-width:0}
  .lf-mega-link strong{display:flex!important;align-items:center;gap:5px;color:var(--navy)!important;font-size:.82rem!important;line-height:1.28!important}
  .lf-mega-link small{
    display:-webkit-box!important;margin-top:4px!important;color:var(--navy-500)!important;font-size:.69rem!important;line-height:1.42!important;
    -webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden
  }
  .lf-mega-arrow{align-self:center;color:var(--navy-500);font-size:.92rem;opacity:0;transform:translateX(-4px);transition:opacity .16s ease,transform .16s ease,color .16s ease}
  .lf-mega-link:hover .lf-mega-arrow{opacity:1;transform:none;color:var(--signal)}
  .lf-mega-external{color:var(--teal);font-size:.7rem}

  .lf-mega-bottom{
    display:flex;align-items:center;justify-content:space-between;gap:24px;padding:14px 26px;
    border-top:1px solid var(--navy-50);background:#F8FAFD;color:var(--navy-700);font-size:.74rem
  }
  .lf-mega-bottom strong{color:var(--navy)}
  .lf-mega-bottom>a{display:inline-flex;align-items:center;gap:10px;color:var(--signal)!important;font-weight:650;white-space:nowrap}
  .lf-mega-bottom>a:hover{color:var(--signal-hover)!important}

  .lf-mega-shell-solutions{grid-template-columns:minmax(250px,.72fr) minmax(0,2.28fr)}
  .lf-mega-solution-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px;padding:26px 28px}
  .lf-mega-solution-grid .lf-mega-link{padding:14px!important}

  .lf-mega-portfolio-groups{grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:30px}
  .lf-mega-company-groups{grid-template-columns:.92fr 1.08fr;padding-inline:30px}
  .lf-mega-company-groups .lf-mega-group:first-child{padding-right:22px}
  .lf-mega-company-groups .lf-mega-group:last-child{padding-left:22px}
  .lf-mega-ecosystem-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start}
  .lf-mega-ecosystem-group .lf-mega-group-title{grid-column:1/-1}
  .lf-mega-ecosystem-group .lf-mega-link{grid-template-columns:34px minmax(0,1fr) 14px;padding:10px!important}
  .lf-mega-ecosystem-group .lf-mega-icon{width:34px;height:34px}
  .lf-mega-ecosystem-group .lf-mega-link small{-webkit-line-clamp:1}
}

@media (max-width:1120px) and (min-width:901px){
  .lf-submenu.lf-mega-menu{width:calc(100vw - 20px)}
  .lf-mega-shell{grid-template-columns:235px minmax(0,1fr)}
  .lf-mega-intro{padding:30px 25px}
  .lf-mega-groups{padding:20px 14px}
  .lf-mega-link{grid-template-columns:34px minmax(0,1fr) 14px;gap:8px;padding:10px!important}
  .lf-mega-icon{width:34px;height:34px}
  .lf-mega-link small{font-size:.65rem!important}
}

@media (max-width:900px){
  .lf-mega-backdrop{display:none!important}
  body.lf-mega-open{overflow:auto}
  .lf-has-mega{position:relative}
  .lf-submenu.lf-mega-menu{
    position:static!important;display:none;width:100%!important;max-height:none!important;margin:3px 0 12px!important;padding:0!important;
    transform:none!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    border:1px solid rgba(255,255,255,.1)!important;border-radius:12px!important;background:rgba(255,255,255,.045)!important;box-shadow:none!important;overflow:hidden!important
  }
  .lf-has-submenu.is-open>.lf-submenu.lf-mega-menu{display:block!important}
  .lf-mega-shell,.lf-mega-shell-solutions{display:block;min-height:0}
  .lf-mega-intro{padding:22px 20px;background:rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.08)}
  .lf-mega-intro h2{margin:10px 0 8px;color:#fff;font-size:1.2rem}
  .lf-mega-intro p{color:var(--navy-200);font-size:.8rem;line-height:1.55}
  .lf-mega-eyebrow{color:var(--teal-light);font-size:.61rem;letter-spacing:.1em;text-transform:uppercase}
  .lf-mega-primary{display:inline-flex;align-items:center;gap:10px;margin-top:14px;color:#fff!important;font-size:.78rem;font-weight:650}
  .lf-mega-groups,.lf-mega-solution-grid,.lf-mega-portfolio-groups,.lf-mega-company-groups,.lf-mega-ecosystem-group{display:block;padding:10px}
  .lf-mega-group{padding:6px 0}
  .lf-mega-group+.lf-mega-group{border:0;border-top:1px solid rgba(255,255,255,.08);margin-top:5px;padding-top:12px}
  .lf-mega-group-title{display:block;margin:5px 10px 8px;color:var(--teal-light);font-size:.63rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
  .lf-mega-link{
    display:grid!important;grid-template-columns:34px minmax(0,1fr) 16px;gap:10px;align-items:center;
    padding:10px!important;border-radius:9px!important;color:#fff!important
  }
  .lf-mega-link:hover{background:rgba(255,255,255,.07)!important}
  .lf-mega-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(95,199,207,.25);border-radius:8px;color:var(--teal-light);background:rgba(95,199,207,.08)}
  .lf-mega-icon svg{width:17px;height:17px}
  .lf-mega-link strong{display:block!important;color:#fff!important;font-size:.82rem!important}
  .lf-mega-link small{display:none!important}
  .lf-mega-arrow{justify-self:end;color:var(--navy-200)}
  .lf-mega-bottom{display:none}
}

@media (prefers-reduced-motion:reduce){
  .lf-mega-backdrop,.lf-submenu.lf-mega-menu,.lf-mega-link,.lf-mega-arrow,.lf-blog-card-action .lf-btn::after{transition:none!important}
}

/* The former nav blur established a fixed-position containing block, which
   constrained mobile navigation and offset desktop mega panels. The v4 shell
   is already visually opaque, so remove that containment side effect. */
.lf-site-v4 .lf-nav{backdrop-filter:none;-webkit-backdrop-filter:none}
@media (max-width:900px){
  .lf-site-v4 .lf-nav-menu{top:0;right:0;bottom:0;left:0;width:100%;height:100dvh;max-height:none}
}

/* ========================================================================== 
   v4.2 — Mega-menu rendering stability and dark-band card contrast
   ========================================================================== */

/* The page dimmer must not blur or repaint the underlying page. The prior
   backdrop-filter could look like a rendering fault on some Chromium/Windows
   combinations and made the hero text appear smeared behind an open menu. */
.lf-mega-backdrop{
  background:rgba(4,12,27,.56);
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

/* Use a solid, isolated desktop panel so its text and surfaces do not inherit
   visual effects from the dark navigation or the page behind it. */
@media (min-width:901px){
  .lf-site-v4 .lf-submenu.lf-mega-menu{
    color:var(--navy-700);
    background:#fff;
    border-color:rgba(18,33,61,.14);
    box-shadow:0 30px 76px rgba(3,10,24,.30);
    isolation:isolate;
    contain:layout paint;
  }
  .lf-site-v4 .lf-mega-shell,
  .lf-site-v4 .lf-mega-shell-solutions{
    grid-template-columns:minmax(278px,.78fr) minmax(0,2.22fr);
    min-height:382px;
  }
  .lf-site-v4 .lf-mega-intro{
    padding:34px 32px 32px;
  }
  .lf-site-v4 .lf-mega-intro h2{
    max-width:10.5ch;
    font-size:clamp(1.42rem,1.85vw,1.82rem);
    line-height:1.1;
  }
  .lf-site-v4 .lf-mega-intro p{
    color:#D1D9E7;
    font-size:.86rem;
  }

  /* A pale structural field and discrete white navigation cards create clear
     separation without adding another accent colour. */
  .lf-site-v4 .lf-mega-groups,
  .lf-site-v4 .lf-mega-solution-grid,
  .lf-site-v4 .lf-mega-portfolio-groups,
  .lf-site-v4 .lf-mega-company-groups{
    background:#F6F8FC;
  }
  .lf-site-v4 .lf-mega-group + .lf-mega-group{
    border-left-color:#DDE3EC;
  }
  .lf-site-v4 .lf-mega-group-title{
    color:#0E7C86;
  }
  .lf-site-v4 .lf-mega-link{
    color:var(--navy)!important;
    background:#fff!important;
    border-color:#E3E8F0!important;
    box-shadow:0 1px 2px rgba(18,33,61,.025);
  }
  .lf-site-v4 .lf-mega-link:hover,
  .lf-site-v4 .lf-mega-link:focus-visible{
    color:var(--navy)!important;
    background:#EEF3F8!important;
    border-color:#C8D4E3!important;
    box-shadow:0 8px 22px rgba(18,33,61,.07);
  }
  .lf-site-v4 .lf-mega-link strong{
    color:var(--navy)!important;
    font-weight:650!important;
  }
  .lf-site-v4 .lf-mega-link small{
    color:#536481!important;
    font-weight:450;
  }
  .lf-site-v4 .lf-mega-arrow{
    color:#6E7FA0;
  }
  .lf-site-v4 .lf-mega-bottom{
    background:#fff;
    color:#536481;
    border-top-color:#DDE3EC;
  }
  .lf-site-v4 .lf-mega-bottom strong{
    color:var(--navy);
  }
}

/* White cards inside navy bands must use light-surface typography. A later
   v4 site-wide dark-band rule previously recoloured every paragraph to
   navy-200, including paragraphs inside white cards. */
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-blog-card,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-package-card,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-portfolio-card{
  color:var(--navy-700);
  background:#fff;
}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card h3,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card h4,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card h3,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card h4,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card h3,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card h4,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-blog-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-blog-card h3,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-package-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-package-card h3,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-portfolio-card h2,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-portfolio-card h3{
  color:var(--navy)!important;
}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card p,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card li,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card small,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card p,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card li,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card small,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card p,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card li,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-blog-card p,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-package-card p,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-portfolio-card p{
  color:var(--navy-700)!important;
  opacity:1;
}
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-service-detail-card .lf-icon,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-card .lf-icon,
.lf-site-v4 .lf-dark:not(.lf-hero) .lf-build-card .lf-icon{
  color:var(--teal);
  background:var(--teal-wash);
  border-color:#CDE6E8;
}

/* Keep the mobile mega menu deliberately dark. These rules counter only the
   desktop light-card treatment above. */
@media (max-width:900px){
  .lf-site-v4 .lf-submenu.lf-mega-menu{
    color:#fff;
    background:rgba(255,255,255,.045)!important;
    contain:none;
  }
  .lf-site-v4 .lf-mega-groups,
  .lf-site-v4 .lf-mega-solution-grid,
  .lf-site-v4 .lf-mega-portfolio-groups,
  .lf-site-v4 .lf-mega-company-groups{
    background:transparent;
  }
  .lf-site-v4 .lf-mega-link{
    color:#fff!important;
    background:transparent!important;
    border-color:transparent!important;
    box-shadow:none;
  }
  .lf-site-v4 .lf-mega-link:hover,
  .lf-site-v4 .lf-mega-link:focus-visible{
    color:#fff!important;
    background:rgba(255,255,255,.07)!important;
    border-color:transparent!important;
    box-shadow:none;
  }
  .lf-site-v4 .lf-mega-link strong{color:#fff!important}
  .lf-site-v4 .lf-mega-link small{color:var(--navy-200)!important}
}

/* ================================================================
   v4.3 — Authentic LogicalFrame team presentation
   ================================================================ */
.lf-home-team-layout{
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
  gap:clamp(38px,6vw,84px);
  align-items:center;
}
.lf-home-team-visual{
  position:relative;
  margin:0;
  min-height:520px;
  overflow:hidden;
  background:var(--navy);
  border:1px solid var(--navy-200);
  box-shadow:0 28px 70px rgba(18,33,61,.16);
}
.lf-home-team-visual::before,
.lf-team-story-photo::before{
  content:"";
  position:absolute;
  z-index:2;
  width:44px;
  height:44px;
  top:18px;
  left:18px;
  border-top:2px solid var(--teal-light);
  border-left:2px solid var(--teal-light);
  pointer-events:none;
}
.lf-home-team-visual::after,
.lf-team-story-photo::after{
  content:"";
  position:absolute;
  z-index:2;
  width:44px;
  height:44px;
  right:18px;
  bottom:18px;
  border-right:2px solid var(--teal-light);
  border-bottom:2px solid var(--teal-light);
  pointer-events:none;
}
.lf-home-team-visual img{
  width:100%;
  height:100%;
  min-height:520px;
  object-fit:cover;
  object-position:center;
}
.lf-home-team-visual figcaption{
  position:absolute;
  z-index:3;
  left:24px;
  right:24px;
  bottom:24px;
  display:grid;
  gap:6px;
  padding:18px 20px;
  color:#fff;
  background:rgba(7,16,31,.9);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 16px 38px rgba(0,0,0,.2);
}
.lf-home-team-visual figcaption span{
  color:var(--teal-light);
  font-size:.67rem;
  font-weight:750;
  letter-spacing:.11em;
  text-transform:uppercase;
}
.lf-home-team-visual figcaption strong{
  color:#fff;
  font-family:var(--font-display);
  font-size:clamp(1rem,1.5vw,1.25rem);
  line-height:1.3;
}
.lf-home-team-copy h2{
  margin:15px 0 20px;
  font-size:clamp(2rem,3.6vw,3.15rem);
}
.lf-home-team-copy>p{
  max-width:58ch;
  color:var(--navy-700);
  line-height:1.75;
}
.lf-home-team-members{
  display:grid;
  margin:28px 0;
  border-top:1px solid var(--navy-200);
}
.lf-home-team-members article{
  display:grid;
  grid-template-columns:58px 1fr;
  gap:16px;
  align-items:center;
  padding:13px 0;
  border-bottom:1px solid var(--navy-200);
}
.lf-home-team-members img{
  width:58px;
  height:58px;
  object-fit:cover;
  object-position:center 24%;
  border:1px solid var(--navy-200);
  background:#fff;
}
.lf-home-team-members strong{
  display:block;
  color:var(--navy);
  font-family:var(--font-display);
  font-size:1rem;
}
.lf-home-team-members span{
  display:block;
  margin-top:3px;
  color:var(--teal);
  font-size:.72rem;
  font-weight:700;
  letter-spacing:.045em;
  text-transform:uppercase;
}

.lf-team-story{
  display:grid;
  grid-template-columns:minmax(0,1.3fr) minmax(320px,.7fr);
  margin-top:clamp(36px,5vw,58px);
  background:#fff;
  border:1px solid var(--navy-200);
  box-shadow:var(--sh-sm);
  overflow:hidden;
}
.lf-team-story-photo{
  position:relative;
  margin:0;
  min-height:500px;
  background:var(--navy);
  overflow:hidden;
}
.lf-team-story-photo img{
  width:100%;
  height:100%;
  min-height:500px;
  object-fit:cover;
  object-position:center;
}
.lf-team-story-photo figcaption{
  position:absolute;
  z-index:3;
  left:22px;
  bottom:22px;
  max-width:34ch;
  padding:12px 15px;
  color:#fff;
  background:rgba(7,16,31,.9);
  border-left:3px solid var(--teal-light);
  font-size:.76rem;
  line-height:1.5;
}
.lf-team-story-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:clamp(30px,4vw,52px);
}
.lf-team-story-copy h3{
  margin:14px 0 16px;
  font-size:clamp(1.55rem,2.7vw,2.25rem);
}
.lf-team-story-copy p{
  color:var(--navy-700);
  line-height:1.72;
}
.lf-team-story-copy ul{
  display:grid;
  gap:12px;
  margin:24px 0 0;
  padding:22px 0 0;
  border-top:1px solid var(--navy-200);
  list-style:none;
}
.lf-team-story-copy li{
  position:relative;
  padding-left:20px;
  color:var(--navy-700);
  font-size:.84rem;
}
.lf-team-story-copy li::before{
  content:"";
  position:absolute;
  left:0;
  top:.62em;
  width:7px;
  height:7px;
  transform:rotate(45deg);
  background:var(--teal);
}
.lf-about-team-head{
  max-width:760px;
  margin-top:clamp(64px,8vw,96px);
}
.lf-about-team-head h2{
  margin:14px 0 12px;
}
.lf-about-team-head p{
  color:var(--navy-700);
}
.lf-about-team-grid-v43{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  margin-top:34px;
}
.lf-about-team-card-v43{
  display:flex;
  flex-direction:column;
  min-width:0;
  background:#fff;
  border:1px solid var(--navy-200);
  box-shadow:var(--sh-xs);
  overflow:hidden;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
}
.lf-about-team-card-v43:hover{
  transform:translateY(-5px);
  border-color:rgba(14,124,134,.45);
  box-shadow:0 22px 48px rgba(18,33,61,.13);
}
.lf-team-card-photo{
  position:relative;
  aspect-ratio:4/5;
  overflow:hidden;
  background:var(--navy-50);
}
.lf-team-card-photo::after{
  content:"";
  position:absolute;
  inset:auto 0 0;
  height:42%;
  background:linear-gradient(180deg,transparent,rgba(7,16,31,.78));
  pointer-events:none;
}
.lf-team-card-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 22%;
  transition:transform .45s ease;
}
.lf-about-team-card-v43:hover .lf-team-card-photo img{
  transform:scale(1.025);
}
.lf-team-card-photo>span{
  position:absolute;
  z-index:2;
  left:18px;
  right:18px;
  bottom:16px;
  color:#fff;
  font-size:.68rem;
  font-weight:750;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.lf-team-card-body{
  display:flex;
  flex-direction:column;
  flex:1;
  padding:24px;
}
.lf-team-card-body h3{
  margin:0 0 11px;
  font-size:1.35rem;
}
.lf-team-card-body>p{
  margin:0;
  color:var(--navy-700);
  font-size:.86rem;
  line-height:1.68;
}
.lf-team-focus{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-top:auto;
  padding-top:22px;
}
.lf-team-focus span{
  padding:6px 9px;
  color:var(--teal);
  background:#eaf5f5;
  border:1px solid rgba(14,124,134,.15);
  font-size:.62rem;
  font-weight:700;
  letter-spacing:.035em;
}
.lf-about-expertise-head{
  max-width:760px;
  margin:clamp(64px,8vw,96px) 0 32px;
}
.lf-about-expertise-head h2{
  margin-top:14px;
}

@media (max-width:1024px){
  .lf-home-team-layout,.lf-team-story{grid-template-columns:1fr}
  .lf-home-team-visual,.lf-home-team-visual img{min-height:440px}
  .lf-team-story-photo,.lf-team-story-photo img{min-height:460px}
  .lf-about-team-grid-v43{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .lf-home-team-visual,.lf-home-team-visual img{min-height:360px}
  .lf-home-team-visual figcaption{left:14px;right:14px;bottom:14px;padding:14px 15px}
  .lf-team-story-photo,.lf-team-story-photo img{min-height:360px}
  .lf-about-team-grid-v43{grid-template-columns:1fr}
  .lf-team-card-photo{aspect-ratio:4/4.6}
  .lf-home-team-members article{grid-template-columns:52px 1fr}.lf-home-team-members img{width:52px;height:52px}
}

/* v4.3 specificity guards against the legacy two-column profile card rules. */
.lf-about-team-card-v43>.lf-team-card-photo{padding:0}
.lf-about-team-card-v43>.lf-team-card-body{padding:24px}
.lf-about-team-card-v43 img{aspect-ratio:auto}


/* ==========================================================================\n   v4.4 Products & Store catalogue\n   ========================================================================== */
.lf-store-hero .lf-hero-panel{align-self:stretch}.lf-store-map{height:100%;padding:30px;background:rgba(9,24,47,.82);border:1px solid rgba(95,199,207,.25);border-radius:18px;color:#fff;box-shadow:0 28px 65px rgba(0,0,0,.2)}.lf-store-map-head{display:flex;justify-content:space-between;gap:20px}.lf-store-map .lf-kicker{color:var(--teal-light)}.lf-store-map .lf-kicker:before{background:var(--teal-light)}.lf-store-flow{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:12px;margin:30px 0}.lf-store-flow>div{min-height:158px;padding:20px 17px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:12px}.lf-store-flow>i{color:var(--teal-light);font-style:normal}.lf-store-flow span{display:block;color:var(--teal-light);font-size:.7rem;font-weight:700}.lf-store-flow strong{display:block;margin:11px 0 8px}.lf-store-flow small{display:block;color:#c3cbda;font-size:.68rem;line-height:1.55}.lf-store-map>p{margin:0;color:#c3cbda;font-size:.8rem}
.lf-store-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.lf-store-card{display:flex;flex-direction:column;min-width:0;padding:27px;background:#fff;border:1px solid var(--navy-200);border-radius:16px;box-shadow:var(--sh-xs);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}.lf-store-card:hover{transform:translateY(-4px);border-color:rgba(14,124,134,.42);box-shadow:var(--sh-md)}.lf-store-card-head,.lf-store-card-meta{display:flex;align-items:center;justify-content:space-between;gap:14px}.lf-store-state{padding:6px 9px;border-radius:999px;font-size:.61rem;font-weight:750;letter-spacing:.04em;text-transform:uppercase;background:var(--mist);color:var(--navy-700);border:1px solid var(--navy-50)}.lf-store-state.is-available{background:#e8f6f1;color:#087558;border-color:#bfe7d8}.lf-store-state.is-public{background:var(--teal-wash);color:var(--teal);border-color:#cde6e8}.lf-store-state.is-planned{background:var(--signal-wash);color:var(--signal);border-color:var(--signal-border)}.lf-store-state.is-private{background:#f2f0f8;color:#65558f;border-color:#dfdaed}.lf-store-card-meta{margin:22px 0 7px;color:var(--teal);font-size:.67rem;font-weight:700;text-transform:uppercase;letter-spacing:.08em}.lf-store-card-meta strong{color:var(--navy);font-size:.78rem}.lf-store-card h3{margin:8px 0}.lf-store-card>p{color:var(--navy-700);font-size:.84rem}.lf-store-channels{display:flex;flex-wrap:wrap;gap:7px;margin:5px 0 20px}.lf-store-channels span{padding:5px 8px;border:1px solid var(--navy-200);border-radius:999px;color:var(--navy-700);font-size:.61rem}.lf-store-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:auto;padding-top:5px}.lf-store-actions .lf-btn{padding:11px 16px;font-size:.78rem}.lf-store-fulfilment{margin:18px 0 0!important;padding-top:15px;border-top:1px solid var(--navy-50);color:var(--navy-500)!important;font-size:.68rem!important;line-height:1.55}.lf-store-channels-section{background:var(--mist);border-block:1px solid var(--navy-50)}
@media(max-width:1020px){.lf-store-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lf-store-flow{grid-template-columns:1fr}.lf-store-flow>i{transform:rotate(90deg);text-align:center}.lf-store-flow>div{min-height:0}}
@media(max-width:680px){.lf-store-grid{grid-template-columns:1fr}.lf-store-map{padding:22px}.lf-store-card{padding:23px}}

/* ========================================================================== 
   v4.6 — Expanded specialist services catalogue
   ========================================================================== */
.lf-service-directory-section{padding-bottom:34px}
.lf-service-jump-nav{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:34px
}
.lf-service-jump-nav a{
  display:flex;align-items:center;justify-content:space-between;gap:16px;padding:18px 20px;
  border:1px solid var(--navy-50);border-radius:12px;background:#fff;color:var(--navy);
  font-weight:650;box-shadow:0 10px 26px rgba(18,33,61,.05);transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease
}
.lf-service-jump-nav a:hover,.lf-service-jump-nav a:focus-visible{
  transform:translateY(-2px);border-color:var(--navy-200);box-shadow:0 16px 34px rgba(18,33,61,.09)
}
.lf-service-jump-nav a span{
  display:grid;place-items:center;min-width:30px;height:30px;padding:0 8px;border-radius:999px;background:var(--teal-wash);color:var(--teal);font-size:.75rem
}
.lf-service-category-grid .lf-service-card{height:100%}
.lf-service-category-grid .lf-service-card p{color:var(--navy-700)}
.lf-service-category-grid .lf-card-action{margin-top:22px}
.lf-wordpress-specialist-section{background:linear-gradient(180deg,#fff 0%,var(--mist) 100%)}

@media (min-width:901px){
  .lf-site-v4 .lf-mega-services .lf-mega-link small{-webkit-line-clamp:1}
  .lf-site-v4 .lf-mega-services .lf-mega-link{padding-block:10px!important}
}
@media (max-width:900px){
  .lf-service-jump-nav{grid-template-columns:1fr}
}

/* ========================================================================== 
   v4.6.2 — Progressive-disclosure Services mega menu and category footer
   ========================================================================== */

@media (min-width:901px){
  .lf-site-v4 .lf-mega-services{
    max-height:none;
    overflow:hidden;
  }
  .lf-site-v4 .lf-mega-shell-services{
    grid-template-columns:minmax(260px,.76fr) minmax(0,2.24fr);
    min-height:424px;
  }
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro{
    min-height:424px;
  }
  .lf-mega-intro-proof{
    display:grid;
    gap:8px;
    margin:22px 0 10px;
    padding:16px 0;
    border-top:1px solid rgba(255,255,255,.13);
    border-bottom:1px solid rgba(255,255,255,.13);
  }
  .lf-mega-intro-proof span{
    display:flex;
    align-items:baseline;
    gap:8px;
    color:#D1D9E7;
    font-size:.72rem;
  }
  .lf-mega-intro-proof strong{
    color:var(--teal-light);
    font-family:var(--font-display);
    font-size:1rem;
  }
  .lf-mega-service-browser{
    display:grid;
    grid-template-columns:minmax(205px,.62fr) minmax(0,1.88fr);
    min-width:0;
    background:#F6F8FC;
  }
  .lf-mega-service-categories{
    display:flex;
    flex-direction:column;
    gap:10px;
    padding:24px 18px;
    border-right:1px solid #DDE3EC;
    background:#F0F4F9;
  }
  .lf-mega-service-category{
    position:relative;
    display:grid;
    grid-template-columns:26px minmax(0,1fr) 28px;
    align-items:start;
    gap:10px;
    width:100%;
    min-height:92px;
    padding:15px 13px;
    border:1px solid #DDE3EC;
    border-radius:12px;
    background:#fff;
    color:var(--navy);
    text-align:left;
    cursor:pointer;
    box-shadow:0 2px 8px rgba(18,33,61,.035);
    transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
  }
  .lf-mega-service-category:hover,
  .lf-mega-service-category:focus-visible{
    transform:translateY(-1px);
    border-color:#B8C7D9;
    box-shadow:0 10px 24px rgba(18,33,61,.08);
    outline:none;
  }
  .lf-mega-service-category.is-active{
    border-color:var(--navy);
    background:var(--navy);
    color:#fff;
    box-shadow:0 14px 30px rgba(18,33,61,.16);
  }
  .lf-mega-service-category-index{
    color:var(--teal);
    font-size:.62rem;
    font-weight:750;
    letter-spacing:.08em;
    line-height:1.5;
  }
  .lf-mega-service-category.is-active .lf-mega-service-category-index{
    color:var(--teal-light);
  }
  .lf-mega-service-category-copy{
    min-width:0;
  }
  .lf-mega-service-category-copy strong{
    display:block;
    color:inherit;
    font-size:.79rem;
    line-height:1.28;
  }
  .lf-mega-service-category-copy small{
    display:block;
    margin-top:5px;
    color:#60708A;
    font-size:.63rem;
    line-height:1.42;
  }
  .lf-mega-service-category.is-active .lf-mega-service-category-copy small{
    color:#C3CBDA;
  }
  .lf-mega-service-count{
    display:grid;
    place-items:center;
    min-width:25px;
    height:25px;
    border-radius:999px;
    background:var(--teal-wash);
    color:var(--teal);
    font-size:.65rem;
    font-weight:750;
  }
  .lf-mega-service-category.is-active .lf-mega-service-count{
    background:rgba(95,199,207,.14);
    color:var(--teal-light);
  }
  .lf-mega-service-panels{
    min-width:0;
    padding:24px 24px 20px;
    background:#F6F8FC;
  }
  .lf-mega-service-panel[hidden]{display:none!important}
  .lf-mega-service-panel.is-active{display:block}
  .lf-mega-service-panel-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:22px;
    min-height:53px;
    margin-bottom:16px;
    padding:0 2px 14px;
    border-bottom:1px solid #DDE3EC;
  }
  .lf-mega-service-panel-head span{
    display:block;
    color:var(--teal);
    font-size:.62rem;
    font-weight:750;
    letter-spacing:.11em;
    text-transform:uppercase;
  }
  .lf-mega-service-panel-head h3{
    margin:5px 0 0;
    color:var(--navy);
    font-size:1.05rem;
    letter-spacing:-.02em;
  }
  .lf-mega-service-panel-head>a{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:var(--signal)!important;
    font-size:.72rem;
    font-weight:700;
    white-space:nowrap;
  }
  .lf-mega-service-panel-head>a:hover{color:var(--signal-hover)!important}
  .lf-mega-service-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:9px;
  }
  .lf-site-v4 .lf-mega-service-grid .lf-mega-link{
    min-height:67px;
    grid-template-columns:34px minmax(0,1fr) 14px;
    gap:9px;
    padding:10px 11px!important;
  }
  .lf-site-v4 .lf-mega-service-grid .lf-mega-icon{
    width:34px;
    height:34px;
  }
  .lf-site-v4 .lf-mega-service-grid .lf-mega-link strong{
    font-size:.77rem!important;
  }
  .lf-site-v4 .lf-mega-service-grid .lf-mega-link small{
    margin-top:3px!important;
    font-size:.63rem!important;
    line-height:1.35!important;
    -webkit-line-clamp:1;
  }
  .lf-site-v4 .lf-mega-services .lf-mega-bottom{
    position:relative;
    z-index:2;
  }
}

@media (max-width:1120px) and (min-width:901px){
  .lf-site-v4 .lf-mega-shell-services{
    grid-template-columns:232px minmax(0,1fr);
  }
  .lf-mega-service-browser{
    grid-template-columns:188px minmax(0,1fr);
  }
  .lf-mega-service-categories{
    padding:20px 13px;
  }
  .lf-mega-service-category{
    min-height:88px;
    padding:13px 11px;
    grid-template-columns:22px minmax(0,1fr) 24px;
  }
  .lf-mega-service-category-copy small{
    font-size:.59rem;
  }
  .lf-mega-service-panels{
    padding:20px 16px 18px;
  }
  .lf-site-v4 .lf-mega-service-grid .lf-mega-link{
    min-height:64px;
    padding:9px!important;
  }
}

@media (max-width:900px){
  .lf-mega-intro-proof{
    display:flex;
    flex-wrap:wrap;
    gap:7px 14px;
    margin-top:14px;
    color:var(--navy-200);
    font-size:.68rem;
  }
  .lf-mega-intro-proof strong{color:var(--teal-light)}
  .lf-mega-service-browser{
    display:block;
    padding:10px;
  }
  .lf-mega-service-categories{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin-bottom:10px;
  }
  .lf-mega-service-category{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) 28px;
    align-items:center;
    gap:9px;
    width:100%;
    padding:11px 12px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:9px;
    background:rgba(255,255,255,.045);
    color:#fff;
    text-align:left;
  }
  .lf-mega-service-category.is-active{
    border-color:rgba(95,199,207,.45);
    background:rgba(95,199,207,.1);
  }
  .lf-mega-service-category-index,
  .lf-mega-service-count{color:var(--teal-light);font-size:.62rem;font-weight:750}
  .lf-mega-service-category-copy strong{display:block;color:#fff;font-size:.78rem}
  .lf-mega-service-category-copy small{display:none}
  .lf-mega-service-count{justify-self:end}
  .lf-mega-service-panel[hidden]{display:none!important}
  .lf-mega-service-panel.is-active{display:block}
  .lf-mega-service-panel-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:8px 8px 10px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .lf-mega-service-panel-head span{display:none}
  .lf-mega-service-panel-head h3{margin:0;color:#fff;font-size:.88rem}
  .lf-mega-service-panel-head>a{color:var(--teal-light)!important;font-size:.68rem;font-weight:650}
  .lf-mega-service-grid{display:grid;grid-template-columns:1fr;gap:5px;padding-top:7px}
}

.lf-footer-grid-categories{
  grid-template-columns:1.3fr repeat(3,minmax(0,1fr));
  gap:clamp(28px,4vw,58px);
}
.lf-footer-grid-categories ul{
  gap:7px;
}
.lf-footer-grid-categories ul strong{
  color:#fff;
  font-weight:650;
}
.lf-footer-grid-categories ul a{
  line-height:1.45;
}

@media (max-width:980px){
  .lf-footer-grid-categories{
    grid-template-columns:1fr 1fr 1fr;
  }
  .lf-footer-grid-categories .lf-footer-brand{
    grid-column:1/-1;
  }
}
@media (max-width:680px){
  .lf-footer-grid-categories{
    grid-template-columns:1fr;
    gap:24px;
  }
  .lf-footer-grid-categories .lf-footer-brand{
    grid-column:auto;
  }
}

/* ========================================================================== 
   v4.6.3 — Responsive, accessibility and viewport QA hardening
   ========================================================================== */

:root{
  /* Approved brand swatches remain unchanged. This derived token is reserved
     for readable muted copy on light surfaces and meets WCAG AA. */
  --text-muted:#5B6B86;
}

/* Hero dashboard labels are presentational titles inside interface previews,
   not document-outline headings. */
.lf-dashboard-title{
  margin:16px 0 0;
  color:var(--navy);
  font-family:var(--font-display);
  font-size:1.2rem;
  font-weight:600;
  line-height:1.3;
  letter-spacing:-.015em;
}

/* Accessible muted copy. Slate remains available for disabled/decorative UI,
   while meaningful body copy uses a darker derived neutral. */
.lf-site-v4 :where(
  .lf-section-text,
  .lf-metric span,
  .lf-mini span,
  .lf-card p,
  .lf-feature-row p,
  .lf-service-detail-card p,
  .lf-process-item p,
  .lf-portfolio-card p,
  .lf-package-card>p,
  .lf-industry-card p,
  .lf-blog-card p,
  .lf-contact-info-card p,
  .lf-contact-info-card a,
  .lf-contact-note,
  .lf-build-card p,
  .lf-product-card p,
  .lf-product-map-grid small,
  .lf-product-capability-list span,
  .lf-showcase-body p,
  .lf-concept-note,
  .lf-about-map small,
  .lf-about-process-list small,
  .lf-service-scope,
  .lf-proof-tabs small,
  .lf-discipline-list p,
  .lf-home-process-rail p,
  .lf-engagement-index>a>div small,
  .lf-engagement-index>a>em,
  .lf-home-stack p
){color:var(--text-muted)}

.lf-field input::placeholder,
.lf-field textarea::placeholder{color:#64718A;opacity:1}

/* Keep small status pills above AA contrast on their tinted surfaces. */
.lf-store-state.is-public{color:#0A6871}
.lf-store-state.is-planned{color:#2559C7}

/* The highly visual specialist pages use navy-500 for normal-sized copy.
   Locally map that role to the accessible muted-copy value. */
.lf-web-design-page,
.lf-page-html-conversion-v45{--navy-500:var(--text-muted)}

/* At compact laptop and landscape-tablet widths the full nine-item desktop
   navigation is too dense. Use the established full-screen navigation model
   until the viewport can accommodate the desktop header without crowding. */
@media (min-width:901px) and (max-width:1200px){
  .lf-menu-toggle{display:flex}
  .lf-nav-cta{display:none}
  .lf-nav-menu{
    position:fixed;
    inset:0;
    width:100%;
    height:100dvh;
    max-height:none;
    padding:90px 24px 34px;
    overflow-y:auto;
    overscroll-behavior:contain;
    background:#081326;
    flex-direction:column;
    justify-content:flex-start;
    align-items:stretch;
    gap:4px;
    opacity:0;
    pointer-events:none;
    transition:opacity .25s ease;
    z-index:110;
  }
  .lf-nav-open .lf-nav-menu{opacity:1;pointer-events:auto}
  body.lf-nav-open{overflow:hidden}
  .lf-nav-open .lf-menu-toggle{position:fixed;top:16px;right:20px;z-index:140}
  .lf-nav-open .lf-menu-toggle span{background:#fff}
  .lf-nav-menu>a,
  .lf-submenu-toggle{
    width:min(520px,100%);
    min-height:48px;
    margin-inline:auto;
    justify-content:space-between;
    padding:13px 16px;
    color:var(--navy-200);
    font-size:1.08rem;
  }
  .lf-nav-menu>a:hover,
  .lf-submenu-toggle:hover{background:rgba(255,255,255,.06);color:#fff}
  .lf-nav-menu>a.active,
  .lf-nav-item.active>.lf-submenu-toggle{color:#fff}
  .lf-nav-item{display:block;width:min(520px,100%);margin-inline:auto}
  .lf-mega-backdrop{display:none!important}
  body.lf-mega-open{overflow:auto}
  .lf-has-mega{position:relative}
  .lf-submenu.lf-mega-menu{
    position:static!important;
    display:none;
    width:100%!important;
    max-height:none!important;
    margin:3px 0 12px!important;
    padding:0!important;
    transform:none!important;
    opacity:1!important;
    visibility:visible!important;
    pointer-events:auto!important;
    border:1px solid rgba(255,255,255,.1)!important;
    border-radius:12px!important;
    background:rgba(255,255,255,.045)!important;
    box-shadow:none!important;
    overflow:hidden!important;
    contain:none!important;
    color:#fff;
  }
  .lf-has-submenu.is-open>.lf-submenu.lf-mega-menu{display:block!important}
  .lf-mega-shell,
  .lf-mega-shell-solutions,
  .lf-mega-shell-services{display:block;min-height:0}
  .lf-mega-intro{min-height:0!important;padding:22px 20px;background:rgba(255,255,255,.045);border-bottom:1px solid rgba(255,255,255,.08)}
  .lf-mega-intro h2{max-width:none;margin:10px 0 8px;color:#fff;font-size:1.2rem}
  .lf-mega-intro p{color:var(--navy-200);font-size:.8rem;line-height:1.55}
  .lf-mega-eyebrow{color:var(--teal-light);font-size:.61rem;letter-spacing:.1em;text-transform:uppercase}
  .lf-mega-primary{display:inline-flex;align-items:center;gap:10px;margin-top:14px;color:#fff!important;font-size:.78rem;font-weight:650}
  .lf-mega-groups,
  .lf-mega-solution-grid,
  .lf-mega-portfolio-groups,
  .lf-mega-company-groups,
  .lf-mega-ecosystem-group{display:block;padding:10px;background:transparent}
  .lf-mega-group{padding:6px 0}
  .lf-mega-group+.lf-mega-group{border:0;border-top:1px solid rgba(255,255,255,.08);margin-top:5px;padding-top:12px}
  .lf-mega-group-title{display:block;margin:5px 10px 8px;color:var(--teal-light);font-size:.63rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase}
  .lf-mega-link{
    display:grid!important;
    grid-template-columns:34px minmax(0,1fr) 16px;
    gap:10px;
    align-items:center;
    padding:10px!important;
    border-color:transparent!important;
    border-radius:9px!important;
    background:transparent!important;
    color:#fff!important;
    box-shadow:none!important;
  }
  .lf-mega-link:hover,
  .lf-mega-link:focus-visible{background:rgba(255,255,255,.07)!important;color:#fff!important}
  .lf-mega-icon{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(95,199,207,.25);border-radius:8px;color:var(--teal-light);background:rgba(95,199,207,.08)}
  .lf-mega-icon svg{width:17px;height:17px}
  .lf-mega-link strong{display:block!important;color:#fff!important;font-size:.82rem!important}
  .lf-mega-link small{display:none!important}
  .lf-mega-arrow{justify-self:end;color:var(--navy-200)}
  .lf-mega-bottom{display:none}
  .lf-mega-intro-proof{display:flex;flex-wrap:wrap;gap:7px 14px;margin-top:14px;color:var(--navy-200);font-size:.68rem}
  .lf-mega-intro-proof strong{color:var(--teal-light)}
  .lf-mega-service-browser{display:block;padding:10px;background:transparent}
  .lf-mega-service-categories{display:grid;grid-template-columns:1fr;gap:7px;margin-bottom:10px;padding:0;border:0;background:transparent}
  .lf-mega-service-category{
    display:grid;
    grid-template-columns:24px minmax(0,1fr) 28px;
    align-items:center;
    gap:9px;
    width:100%;
    min-height:48px;
    padding:11px 12px;
    border:1px solid rgba(255,255,255,.1);
    border-radius:9px;
    background:rgba(255,255,255,.045);
    color:#fff;
    text-align:left;
  }
  .lf-mega-service-category.is-active{border-color:rgba(95,199,207,.45);background:rgba(95,199,207,.1)}
  .lf-mega-service-category-index,
  .lf-mega-service-count{color:var(--teal-light);font-size:.62rem;font-weight:750}
  .lf-mega-service-category-copy strong{display:block;color:#fff;font-size:.78rem}
  .lf-mega-service-category-copy small{display:none}
  .lf-mega-service-count{justify-self:end}
  .lf-mega-service-panels{padding:0;background:transparent}
  .lf-mega-service-panel[hidden]{display:none!important}
  .lf-mega-service-panel.is-active{display:block}
  .lf-mega-service-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:0;margin:0;padding:8px 8px 10px;border-bottom:1px solid rgba(255,255,255,.08)}
  .lf-mega-service-panel-head span{display:none}
  .lf-mega-service-panel-head h3{margin:0;color:#fff;font-size:.88rem}
  .lf-mega-service-panel-head>a{color:var(--teal-light)!important;font-size:.68rem;font-weight:650}
  .lf-mega-service-grid{display:grid;grid-template-columns:1fr;gap:5px;padding-top:7px}
}

/* Short-height desktop displays need a compressed mega-menu rhythm rather
   than a clipped footer action. */
@media (min-width:1201px) and (max-height:650px){
  .lf-site-v4 .lf-mega-services{
    max-height:calc(100vh - var(--lf-header-bottom) - 8px);
    overflow:hidden;
  }
  .lf-site-v4 .lf-mega-shell-services,
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro{min-height:354px}
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro{padding:24px 26px 22px}
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro h2{margin:12px 0 9px;font-size:1.45rem}
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro p{font-size:.78rem;line-height:1.5}
  .lf-site-v4 .lf-mega-shell-services .lf-mega-intro-proof{margin:13px 0 6px;padding:10px 0;gap:4px}
  .lf-mega-service-categories{gap:6px;padding:14px 12px}
  .lf-mega-service-category{min-height:68px;padding:9px 10px}
  .lf-mega-service-category-copy small{display:none}
  .lf-mega-service-panels{padding:14px 15px 12px}
  .lf-mega-service-panel-head{min-height:42px;margin-bottom:9px;padding-bottom:9px}
  .lf-site-v4 .lf-mega-service-grid .lf-mega-link{min-height:54px;padding:7px 9px!important}
  .lf-site-v4 .lf-mega-services .lf-mega-bottom{padding:12px 20px}
}


/* Screen-reader-only section labels used to preserve a logical heading outline. */
.lf-sr-only{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}


/* Narrow-phone intrinsic-size safeguards found during the viewport sweep. */
.lf-package-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.lf-package-card,
.lf-contact-grid>*{min-width:0}
@media (max-width:1060px){
  .lf-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:900px){
  .lf-contact-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:620px){
  .lf-package-grid{grid-template-columns:minmax(0,1fr)}
  .lf-package-card{padding:28px 24px}
  .lf-package-top{align-items:flex-start;flex-wrap:wrap}
}

/* Final contrast corrections for legal, error and process copy on light surfaces. */
.lf-site-v4 .lf-about-map small,
.lf-site-v4 .lf-simple-page .lf-card p,
.lf-site-v4 .lf-simple-page .lf-card li,
.lf-site-v4 .lf-simple-page .lf-lead{
  color:var(--text-muted);
}
/* Preserve the light-teal identity in the product journey by deepening the
   supporting panel rather than changing the approved accent. */
.lf-site-v4 .lf-store-flow>div{background:rgba(5,16,33,.48)}

/* ========================================================================== 
   v4.6.4 — Specialist-service hero proportion and headline refinement
   Keeps the spacious corporate language while preventing long service names
   from producing an oversized first viewport.
   ========================================================================== */
.lf-site-v4 .lf-specialist-hero .lf-hero-grid{
  grid-template-columns:minmax(0,1.14fr) minmax(370px,.86fr);
  gap:clamp(40px,5.2vw,72px);
  padding:clamp(58px,6.1vw,86px) 0 clamp(64px,6.4vw,92px);
}
.lf-site-v4 .lf-hero.lf-dark.lf-specialist-hero h1{
  max-width:16ch;
  font-size:clamp(2.5rem,4.05vw,3.95rem);
  line-height:1.015;
  letter-spacing:-.043em;
  text-wrap:balance;
}
.lf-site-v4 .lf-specialist-hero .lf-lead{
  max-width:61ch;
  font-size:clamp(1rem,1.25vw,1.12rem);
  line-height:1.68;
}
.lf-site-v4 .lf-specialist-hero .lf-hero-actions{margin-top:26px}
.lf-site-v4 .lf-specialist-hero .lf-hero-metrics{margin-top:38px}
.lf-site-v4 .lf-specialist-hero .lf-dashboard-card{
  width:min(100%,500px);
  margin-left:auto;
  padding:clamp(26px,3vw,32px);
}
.lf-site-v4 .lf-specialist-hero .lf-dashboard-title{
  max-width:28ch;
  text-wrap:balance;
}

@media (max-width:1120px){
  .lf-site-v4 .lf-specialist-hero .lf-hero-grid{
    grid-template-columns:1fr;
    gap:38px;
    padding:58px 0 68px;
  }
  .lf-site-v4 .lf-hero.lf-dark.lf-specialist-hero h1{max-width:17ch}
  .lf-site-v4 .lf-specialist-hero .lf-hero-panel{max-width:760px;width:100%}
  .lf-site-v4 .lf-specialist-hero .lf-dashboard-card{width:100%;margin-left:0}
}

@media (max-width:700px){
  .lf-site-v4 .lf-specialist-hero .lf-hero-grid{gap:32px;padding:48px 0 56px}
  .lf-site-v4 .lf-hero.lf-dark.lf-specialist-hero h1{
    max-width:18ch;
    font-size:clamp(2.2rem,10.5vw,3.1rem);
    line-height:1.035;
  }
  .lf-site-v4 .lf-specialist-hero .lf-lead{font-size:1rem;line-height:1.64}
  .lf-site-v4 .lf-specialist-hero .lf-hero-actions{margin-top:22px}
  .lf-site-v4 .lf-specialist-hero .lf-hero-metrics{margin-top:30px}
}


/* ------------------------------------------------------------------
   Task 32 — Human-Designed Homepage Layout Rebuild
   Same typography and brand tokens. New composition, rhythm and hierarchy.
------------------------------------------------------------------- */

.lf-home-human .lf-human-hero{
  position:relative;
  overflow:hidden;
  color:#fff;
  background:
    radial-gradient(900px 540px at 78% 12%,rgba(47,111,237,.18),transparent 62%),
    radial-gradient(700px 520px at 12% 6%,rgba(14,124,134,.20),transparent 62%),
    linear-gradient(135deg,#07111F 0%,#0B162B 52%,#12213D 100%);
}

.lf-home-human .lf-human-hero-bg{
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.045) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.045) 1px,transparent 1px);
  background-size:84px 84px;
  opacity:.55;
  -webkit-mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.72) 70%,transparent 100%);
  mask-image:linear-gradient(to bottom,#000 0%,rgba(0,0,0,.72) 70%,transparent 100%);
  pointer-events:none;
}

.lf-home-human .lf-human-hero-grid{
  position:relative;
  z-index:2;
  min-height:760px;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(420px,620px);
  gap:clamp(44px,7vw,110px);
  align-items:center;
  padding:clamp(96px,9vw,152px) 0;
}

.lf-home-human .lf-human-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:#7CE7EF;
  font-size:13px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.16em;
}

.lf-home-human .lf-human-eyebrow i{
  width:34px;
  height:2px;
  background:#7CE7EF;
  border-radius:999px;
}

.lf-home-human .lf-human-hero h1{
  max-width:820px;
  margin:24px 0 28px;
  color:#fff;
  font-size:clamp(58px,6.5vw,104px);
  line-height:.92;
  letter-spacing:-.072em;
}

.lf-home-human .lf-human-lead{
  max-width:690px;
  color:#E6EEF8;
  font-size:clamp(18px,1.35vw,23px);
  line-height:1.72;
  margin:0;
}

.lf-home-human .lf-human-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:36px;
}

.lf-home-human .lf-human-hero-strip{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:34px;
}

.lf-home-human .lf-human-hero-strip span{
  padding:9px 13px;
  border-radius:999px;
  color:#C3CBDA;
  background:rgba(255,255,255,.065);
  border:1px solid rgba(255,255,255,.11);
  font-size:13px;
  font-weight:750;
}

.lf-home-human .lf-human-command{
  position:relative;
  border-radius:34px;
  padding:18px;
  background:linear-gradient(145deg,rgba(95,199,207,.28),rgba(47,111,237,.10));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 48px 120px rgba(0,0,0,.38);
  transform:rotate(-1.25deg);
}

.lf-home-human .lf-human-command::before,
.lf-home-human .lf-human-command::after{
  content:"";
  position:absolute;
  width:76px;
  height:76px;
  border-color:#7CE7EF;
  opacity:.72;
}

.lf-home-human .lf-human-command::before{
  right:-22px;
  top:-22px;
  border-top:2px solid;
  border-right:2px solid;
}

.lf-home-human .lf-human-command::after{
  left:-22px;
  bottom:-22px;
  border-left:2px solid;
  border-bottom:2px solid;
}

.lf-home-human .lf-human-command-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:17px 20px;
  border-radius:22px 22px 0 0;
  background:rgba(8,19,38,.72);
  border:1px solid rgba(255,255,255,.10);
  border-bottom:none;
}

.lf-home-human .lf-human-command-top span{
  color:#fff;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
}

.lf-home-human .lf-human-command-top b{
  color:#7CE7EF;
  background:rgba(95,199,207,.12);
  padding:7px 10px;
  border-radius:999px;
  font-size:11px;
  text-transform:uppercase;
}

.lf-home-human .lf-human-command-body{
  display:grid;
  grid-template-columns:210px 1fr;
  gap:18px;
  padding:20px;
  background:rgba(13,29,55,.94);
  border:1px solid rgba(255,255,255,.10);
  border-radius:0 0 24px 24px;
}

.lf-home-human .lf-human-command-left{
  padding:20px;
  border-radius:20px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.09);
}

.lf-home-human .lf-human-command-left strong{
  display:block;
  color:#fff;
  font-size:18px;
  margin-bottom:16px;
}

.lf-home-human .lf-human-command-left ul{
  display:grid;
  gap:12px;
  margin:0;
  padding:0;
  list-style:none;
}

.lf-home-human .lf-human-command-left li{
  display:grid;
  grid-template-columns:34px 1fr;
  align-items:center;
  gap:10px;
  color:#DDE7F2;
  font-size:13px;
  font-weight:750;
}

.lf-home-human .lf-human-command-left li span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:30px;
  border-radius:10px;
  color:#7CE7EF;
  background:rgba(95,199,207,.12);
  border:1px solid rgba(95,199,207,.22);
}

.lf-home-human .lf-human-command-right{
  display:grid;
  gap:16px;
}

.lf-home-human .lf-human-screen-card{
  padding:24px;
  border-radius:22px;
  background:linear-gradient(145deg,rgba(255,255,255,.07),rgba(47,111,237,.09));
  border:1px solid rgba(255,255,255,.10);
}

.lf-home-human .lf-human-screen-card small,
.lf-home-human .lf-human-screen-row small{
  display:block;
  color:#9BA9C1;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-weight:850;
  margin-bottom:9px;
}

.lf-home-human .lf-human-screen-card strong{
  display:block;
  color:#fff;
  font-size:25px;
  line-height:1.1;
  margin-bottom:24px;
}

.lf-home-human .lf-human-screen-card i{
  display:block;
  width:var(--w);
  height:11px;
  border-radius:999px;
  margin:10px 0;
  background:linear-gradient(90deg,#5FC7CF,#2F6FED);
}

.lf-home-human .lf-human-screen-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
}

.lf-home-human .lf-human-screen-row div{
  padding:22px;
  border-radius:20px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.09);
}

.lf-home-human .lf-human-screen-row b{
  color:#fff;
  font-size:18px;
}

.lf-home-human .lf-human-command-note{
  position:absolute;
  right:34px;
  bottom:-28px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:14px 18px;
  border-radius:16px;
  background:#fff;
  color:#12213D;
  box-shadow:0 24px 70px rgba(0,0,0,.22);
  font-weight:900;
}

.lf-home-human .lf-human-command-note span{
  width:24px;
  height:24px;
  color:#0E7C86;
}

.lf-home-human .lf-human-section{
  padding:clamp(86px,8vw,130px) 0;
}

.lf-home-human .lf-human-section:nth-of-type(odd){
  background:#F5F7FA;
}

.lf-home-human .lf-human-section-head{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(330px,520px);
  gap:clamp(34px,6vw,90px);
  align-items:end;
  margin-bottom:clamp(44px,5vw,70px);
}

.lf-home-human .lf-human-section-head h2,
.lf-home-human .lf-human-split-head h2,
.lf-home-human .lf-human-process-copy h2,
.lf-home-human .lf-human-industries-copy h2,
.lf-home-human .lf-human-cta-card h2{
  margin:14px 0 0;
  color:#12213D;
  font-size:clamp(38px,4.1vw,68px);
  line-height:.98;
  letter-spacing:-.06em;
}

.lf-home-human .lf-human-section-head p,
.lf-home-human .lf-human-process-copy p,
.lf-home-human .lf-human-industries-copy p{
  color:#33456B;
  font-size:17px;
  line-height:1.82;
  margin:0;
}

.lf-home-human .lf-human-service-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 410px;
  gap:44px;
  align-items:start;
}

.lf-home-human .lf-human-service-stack{
  display:grid;
  gap:14px;
}

.lf-home-human .lf-human-service-row{
  display:grid;
  grid-template-columns:58px minmax(0,1fr) 36px;
  gap:20px;
  align-items:center;
  padding:24px 26px;
  border-radius:26px;
  background:#fff;
  border:1px solid #DDE5EF;
  box-shadow:0 18px 50px rgba(18,33,61,.07);
  color:#12213D;
}

.lf-home-human .lf-human-service-row:hover{
  transform:translateX(8px);
  border-color:#5FC7CF;
  box-shadow:0 30px 80px rgba(18,33,61,.13);
}

.lf-home-human .lf-human-service-row > span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:18px;
  background:#E9F4F5;
  color:#0E7C86;
  font-weight:950;
}

.lf-home-human .lf-human-service-row strong{
  display:block;
  font-size:23px;
  letter-spacing:-.035em;
  margin-bottom:7px;
}

.lf-home-human .lf-human-service-row small{
  display:block;
  color:#33456B;
  font-size:15px;
  line-height:1.55;
}

.lf-home-human .lf-human-service-row b{
  color:#0E7C86;
  font-size:22px;
}

.lf-home-human .lf-human-service-note{
  position:sticky;
  top:120px;
  padding:34px;
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 100% 0%,rgba(95,199,207,.24),transparent 38%),
    linear-gradient(145deg,#12213D,#0B162B);
  box-shadow:0 34px 100px rgba(18,33,61,.22);
}

.lf-home-human .lf-human-note-mark{
  display:flex;
  align-items:center;
  justify-content:center;
  width:76px;
  height:76px;
  border-radius:24px;
  color:#7CE7EF;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.13);
  margin-bottom:28px;
}

.lf-home-human .lf-human-note-mark svg{
  width:40px;
  height:40px;
}

.lf-home-human .lf-human-service-note h3{
  color:#fff;
  font-size:32px;
  line-height:1.06;
  letter-spacing:-.04em;
  margin-bottom:16px;
}

.lf-home-human .lf-human-service-note p{
  color:#DDE7F2;
  line-height:1.78;
}

.lf-home-human .lf-human-service-note .lf-link{
  color:#7CE7EF;
}

.lf-home-human .lf-human-product-proof{
  color:#fff;
  background:
    radial-gradient(760px 460px at 82% 0%,rgba(95,199,207,.17),transparent 65%),
    linear-gradient(135deg,#07111F,#0B162B 58%,#12213D);
}

.lf-home-human .lf-human-split-head{
  display:grid;
  grid-template-columns:260px minmax(0,1fr);
  gap:54px;
  align-items:start;
  margin-bottom:54px;
}

.lf-home-human .lf-human-product-proof h2{
  color:#fff;
  max-width:930px;
}

.lf-home-human .lf-human-product-grid{
  display:grid;
  grid-template-columns:1.4fr .8fr .8fr;
  gap:24px;
  align-items:stretch;
}

.lf-home-human .lf-human-product-card{
  display:flex;
  flex-direction:column;
  min-height:390px;
  padding:34px;
  border-radius:30px;
  background:rgba(255,255,255,.055);
  border:1px solid rgba(255,255,255,.13);
}

.lf-home-human .lf-human-product-card.is-featured{
  min-height:510px;
  padding:42px;
  background:
    radial-gradient(circle at 84% 8%,rgba(95,199,207,.20),transparent 36%),
    rgba(255,255,255,.075);
}

.lf-home-human .lf-human-product-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:76px;
  height:76px;
  border-radius:24px;
  color:#7CE7EF;
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  margin-bottom:28px;
}

.lf-home-human .lf-human-product-icon svg{
  width:40px;
  height:40px;
}

.lf-home-human .lf-human-product-card > span{
  color:#7CE7EF;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
}

.lf-home-human .lf-human-product-card h3{
  margin:14px 0;
  color:#fff;
  font-size:clamp(29px,2.7vw,48px);
  line-height:1.02;
  letter-spacing:-.05em;
}

.lf-home-human .lf-human-product-card p{
  color:#DDE7F2;
  font-size:16px;
  line-height:1.75;
}

.lf-home-human .lf-human-product-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:auto;
  padding-top:28px;
}

.lf-home-human .lf-human-product-footer small{
  color:#9BA9C1;
  font-weight:800;
}

.lf-home-human .lf-human-product-footer a{
  color:#7CE7EF;
  font-weight:950;
}

.lf-home-human .lf-human-track-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
}

.lf-home-human .lf-human-track-card{
  position:relative;
  overflow:hidden;
  min-height:430px;
  padding:34px;
  border-radius:30px;
  background:#fff;
  border:1px solid #DDE5EF;
  box-shadow:0 24px 72px rgba(18,33,61,.09);
}

.lf-home-human .lf-human-track-card::before{
  content:"";
  position:absolute;
  top:0;
  left:34px;
  right:34px;
  height:5px;
  background:linear-gradient(90deg,#0E7C86,#2F6FED);
  border-radius:0 0 999px 999px;
}

.lf-home-human .lf-human-track-card > span{
  display:block;
  color:#0E7C86;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
  margin-bottom:28px;
}

.lf-home-human .lf-human-track-card h3{
  color:#12213D;
  font-size:34px;
  line-height:1.03;
  letter-spacing:-.045em;
  margin-bottom:14px;
}

.lf-home-human .lf-human-track-card p{
  color:#33456B;
  line-height:1.75;
  margin-bottom:28px;
}

.lf-home-human .lf-human-track-card div{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:auto;
}

.lf-home-human .lf-human-track-card a{
  padding:9px 12px;
  border-radius:999px;
  background:#F5F7FA;
  color:#12213D;
  border:1px solid #DDE5EF;
  font-size:13px;
  font-weight:850;
}

.lf-home-human .lf-human-track-card a:hover{
  color:#0E7C86;
  border-color:#5FC7CF;
}

.lf-home-human .lf-human-process{
  background:#F5F7FA;
}

.lf-home-human .lf-human-process-layout{
  display:grid;
  grid-template-columns:420px minmax(0,1fr);
  gap:70px;
  align-items:start;
}

.lf-home-human .lf-human-timeline{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}

.lf-home-human .lf-human-timeline div{
  min-height:210px;
  padding:28px;
  border-radius:26px;
  background:#fff;
  border:1px solid #DDE5EF;
  box-shadow:0 18px 54px rgba(18,33,61,.07);
}

.lf-home-human .lf-human-timeline span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:40px;
  border-radius:14px;
  background:#E9F4F5;
  color:#0E7C86;
  font-weight:950;
  margin-bottom:24px;
}

.lf-home-human .lf-human-timeline strong{
  display:block;
  color:#12213D;
  font-size:26px;
  line-height:1.05;
  letter-spacing:-.035em;
  margin-bottom:10px;
}

.lf-home-human .lf-human-timeline small{
  color:#33456B;
  font-size:15px;
  line-height:1.65;
}

.lf-home-human .lf-human-portfolio-preview{
  background:#fff;
}

.lf-home-human .lf-human-portfolio-board{
  display:grid;
  grid-template-columns:1.25fr .85fr .85fr;
  gap:22px;
  grid-auto-rows:240px;
}

.lf-home-human .lf-human-portfolio-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  overflow:hidden;
  padding:28px;
  border-radius:30px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 10%,rgba(95,199,207,.19),transparent 35%),
    linear-gradient(145deg,#12213D,#0B162B);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:0 26px 80px rgba(18,33,61,.18);
}

.lf-home-human .lf-human-portfolio-tile:nth-child(2),
.lf-home-human .lf-human-portfolio-tile:nth-child(5){
  background:
    radial-gradient(circle at 78% 0%,rgba(47,111,237,.18),transparent 35%),
    linear-gradient(145deg,#0E7C86,#12213D);
}

.lf-home-human .lf-human-portfolio-tile.is-wide{
  grid-row:span 2;
}

.lf-home-human .lf-human-portfolio-tile span{
  position:absolute;
  top:26px;
  left:26px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:72px;
  height:72px;
  border-radius:24px;
  color:#7CE7EF;
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}

.lf-home-human .lf-human-portfolio-tile span svg{
  width:38px;
  height:38px;
}

.lf-home-human .lf-human-portfolio-tile small{
  color:#7CE7EF;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
  margin-bottom:10px;
}

.lf-home-human .lf-human-portfolio-tile strong{
  color:#fff;
  font-size:28px;
  line-height:1.05;
  letter-spacing:-.04em;
  max-width:12ch;
}

.lf-home-human .lf-human-portfolio-tile.is-wide strong{
  font-size:44px;
}

.lf-home-human .lf-human-portfolio-tile em{
  display:inline-block;
  color:#fff;
  font-style:normal;
  font-weight:950;
  margin-top:20px;
}

.lf-home-human .lf-human-industries{
  background:#F5F7FA;
}

.lf-home-human .lf-human-industries-layout{
  display:grid;
  grid-template-columns:minmax(320px,480px) minmax(0,1fr);
  gap:70px;
  align-items:center;
}

.lf-home-human .lf-human-industry-cloud{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}

.lf-home-human .lf-human-industry-cloud a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  min-height:56px;
  padding:0 18px;
  border-radius:999px;
  background:#fff;
  color:#12213D;
  border:1px solid #DDE5EF;
  box-shadow:0 12px 34px rgba(18,33,61,.06);
  font-weight:900;
}

.lf-home-human .lf-human-industry-cloud a:hover{
  color:#0E7C86;
  border-color:#5FC7CF;
  transform:translateY(-2px);
}

.lf-home-human .lf-human-industry-cloud span{
  width:26px;
  height:26px;
  color:#0E7C86;
}

.lf-home-human .lf-human-final-cta{
  background:
    linear-gradient(180deg,#F5F7FA 0%,#F5F7FA 44%,#07111F 44%,#07111F 100%);
  padding-top:72px;
}

.lf-home-human .lf-human-cta-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:32px;
  align-items:center;
  padding:52px;
  border-radius:34px;
  color:#fff;
  background:
    radial-gradient(circle at 86% 16%,rgba(95,199,207,.22),transparent 38%),
    linear-gradient(135deg,#12213D,#0B162B);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 34px 100px rgba(0,0,0,.28);
}

.lf-home-human .lf-human-cta-card h2{
  color:#fff;
  max-width:820px;
}

.lf-home-human .lf-human-cta-card p{
  color:#DDE7F2;
  max-width:760px;
  font-size:17px;
  line-height:1.75;
  margin:18px 0 0;
}

/* Task 32 responsive polish */
@media(max-width:1180px){
  .lf-home-human .lf-human-hero-grid,
  .lf-home-human .lf-human-service-layout,
  .lf-home-human .lf-human-process-layout,
  .lf-home-human .lf-human-industries-layout{
    grid-template-columns:1fr;
  }

  .lf-home-human .lf-human-command{
    max-width:700px;
  }

  .lf-home-human .lf-human-service-note{
    position:static;
  }

  .lf-home-human .lf-human-product-grid,
  .lf-home-human .lf-human-track-grid{
    grid-template-columns:1fr;
  }

  .lf-home-human .lf-human-product-card,
  .lf-home-human .lf-human-product-card.is-featured{
    min-height:auto;
  }

  .lf-home-human .lf-human-portfolio-board{
    grid-template-columns:1fr 1fr;
  }

  .lf-home-human .lf-human-portfolio-tile.is-wide{
    grid-row:auto;
  }
}

@media(max-width:760px){
  .lf-home-human .lf-human-hero-grid{
    min-height:auto;
    padding:76px 0 96px;
  }

  .lf-home-human .lf-human-hero h1{
    font-size:clamp(46px,14vw,72px);
  }

  .lf-home-human .lf-human-command{
    transform:none;
  }

  .lf-home-human .lf-human-command-body{
    grid-template-columns:1fr;
  }

  .lf-home-human .lf-human-command-note{
    position:static;
    margin-top:16px;
  }

  .lf-home-human .lf-human-section-head,
  .lf-home-human .lf-human-split-head{
    grid-template-columns:1fr;
    gap:24px;
  }

  .lf-home-human .lf-human-service-row{
    grid-template-columns:48px 1fr;
  }

  .lf-home-human .lf-human-service-row b{
    display:none;
  }

  .lf-home-human .lf-human-timeline{
    grid-template-columns:1fr;
  }

  .lf-home-human .lf-human-portfolio-board{
    grid-template-columns:1fr;
    grid-auto-rows:minmax(260px,auto);
  }

  .lf-home-human .lf-human-portfolio-tile.is-wide strong{
    font-size:34px;
  }

  .lf-home-human .lf-human-cta-card{
    grid-template-columns:1fr;
    padding:32px;
  }

  .lf-home-human .lf-human-cta-card .lf-btn{
    width:100%;
  }
}

@media(max-width:520px){
  .lf-home-human .lf-human-command{
    padding:12px;
    border-radius:26px;
  }

  .lf-home-human .lf-human-command-body{
    padding:14px;
  }

  .lf-home-human .lf-human-screen-row{
    grid-template-columns:1fr;
  }

  .lf-home-human .lf-human-service-row,
  .lf-home-human .lf-human-track-card,
  .lf-home-human .lf-human-product-card,
  .lf-home-human .lf-human-service-note{
    padding:24px;
    border-radius:24px;
  }

  .lf-home-human .lf-human-hero-strip{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
}


/* ------------------------------------------------------------------
   Task 33 — Homepage Section Background Cascade Fix
   Fixes nth-of-type background overrides from Task 32.
------------------------------------------------------------------- */

body.lf-home-human section.lf-human-section.lf-human-services{
  background:#F5F7FA !important;
  color:#12213D !important;
}

body.lf-home-human section.lf-human-section.lf-human-product-proof{
  color:#fff !important;
  background:
    radial-gradient(760px 460px at 82% 0%,rgba(95,199,207,.17),transparent 65%),
    linear-gradient(135deg,#07111F,#0B162B 58%,#12213D) !important;
}

body.lf-home-human section.lf-human-section.lf-human-studio{
  background:#fff !important;
  color:#12213D !important;
}

body.lf-home-human section.lf-human-section.lf-human-process{
  background:#F5F7FA !important;
  color:#12213D !important;
}

body.lf-home-human section.lf-human-section.lf-human-portfolio-preview{
  background:#fff !important;
  color:#12213D !important;
}

body.lf-home-human section.lf-human-section.lf-human-industries{
  background:#F5F7FA !important;
  color:#12213D !important;
}

body.lf-home-human section.lf-human-section.lf-human-final-cta{
  background:
    linear-gradient(180deg,#F5F7FA 0%,#F5F7FA 44%,#07111F 44%,#07111F 100%) !important;
}

/* Protect dark product proof text from global light-section typography */
body.lf-home-human section.lf-human-product-proof .lf-badge{
  color:#7CE7EF !important;
  background:rgba(95,199,207,.11) !important;
  border-color:rgba(95,199,207,.22) !important;
}

body.lf-home-human section.lf-human-product-proof h2,
body.lf-home-human section.lf-human-product-proof h3,
body.lf-home-human section.lf-human-product-proof .lf-human-product-card h3{
  color:#fff !important;
}

body.lf-home-human section.lf-human-product-proof p,
body.lf-home-human section.lf-human-product-proof .lf-human-product-card p{
  color:#DDE7F2 !important;
}

body.lf-home-human section.lf-human-product-proof small{
  color:#9BA9C1 !important;
}

/* Protect dark CTA text */
body.lf-home-human section.lf-human-final-cta .lf-human-cta-card,
body.lf-home-human section.lf-human-final-cta .lf-human-cta-card h2{
  color:#fff !important;
}

body.lf-home-human section.lf-human-final-cta .lf-human-cta-card p{
  color:#DDE7F2 !important;
}

/* Header overlap / mobile spacing refinement for Task 32 hero */
body.lf-home-human .lf-human-hero{
  margin-top:0 !important;
}

@media(max-width:1100px){
  body.lf-home-human .lf-human-hero-grid{
    padding-top:88px !important;
  }
}

@media(max-width:760px){
  body.lf-home-human .lf-human-hero-grid{
    padding-top:70px !important;
    padding-bottom:88px !important;
  }

  body.lf-home-human .lf-human-product-grid{
    gap:18px !important;
  }

  body.lf-home-human .lf-human-product-card,
  body.lf-home-human .lf-human-product-card.is-featured{
    background:
      radial-gradient(circle at 84% 8%,rgba(95,199,207,.16),transparent 36%),
      rgba(255,255,255,.075) !important;
    border-color:rgba(255,255,255,.13) !important;
  }
}

/* If the browser still applies nth-of-type backgrounds, these final rules win. */
body.lf-home-human .lf-human-product-proof,
body.lf-home-human .lf-human-product-proof.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-product-proof.lf-human-section:nth-of-type(even){
  background:
    radial-gradient(760px 460px at 82% 0%,rgba(95,199,207,.17),transparent 65%),
    linear-gradient(135deg,#07111F,#0B162B 58%,#12213D) !important;
}

body.lf-home-human .lf-human-services.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-services.lf-human-section:nth-of-type(even),
body.lf-home-human .lf-human-process.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-process.lf-human-section:nth-of-type(even),
body.lf-home-human .lf-human-industries.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-industries.lf-human-section:nth-of-type(even){
  background:#F5F7FA !important;
}

body.lf-home-human .lf-human-studio.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-studio.lf-human-section:nth-of-type(even),
body.lf-home-human .lf-human-portfolio-preview.lf-human-section:nth-of-type(odd),
body.lf-home-human .lf-human-portfolio-preview.lf-human-section:nth-of-type(even){
  background:#fff !important;
}


/* ------------------------------------------------------------------
   Task 34 — Editorial Homepage Layout Rebuild
   More restrained, human-designed layout. Same fonts and brand tokens.
------------------------------------------------------------------- */

body.lf-home-editorial{
  background:#F5F7FA;
}

/* Hero */
body.lf-home-editorial .lf-editorial-hero{
  color:#fff;
  background:
    radial-gradient(760px 460px at 78% 18%,rgba(47,111,237,.20),transparent 60%),
    radial-gradient(640px 420px at 10% 0%,rgba(14,124,134,.22),transparent 62%),
    linear-gradient(135deg,#07111F 0%,#0B162B 56%,#12213D 100%);
  border-bottom:1px solid rgba(255,255,255,.08);
  position:relative;
  overflow:hidden;
}

body.lf-home-editorial .lf-editorial-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(90deg,rgba(255,255,255,.038) 1px,transparent 1px),
    linear-gradient(rgba(255,255,255,.038) 1px,transparent 1px);
  background-size:78px 78px;
  opacity:.55;
  pointer-events:none;
}

body.lf-home-editorial .lf-editorial-hero-inner{
  position:relative;
  z-index:1;
  min-height:620px;
  display:grid;
  grid-template-columns:minmax(0,760px) minmax(340px,420px);
  gap:clamp(44px,7vw,112px);
  align-items:center;
  padding:clamp(86px,8vw,120px) 0;
}

body.lf-home-editorial .lf-editorial-kicker{
  display:inline-flex;
  align-items:center;
  gap:12px;
  color:#7CE7EF;
  font-size:13px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
}

body.lf-home-editorial .lf-editorial-kicker::before{
  content:"";
  width:34px;
  height:2px;
  border-radius:999px;
  background:#7CE7EF;
}

body.lf-home-editorial .lf-editorial-hero h1{
  max-width:760px;
  margin:24px 0 24px;
  color:#fff;
  font-size:clamp(52px,5.2vw,82px);
  line-height:1.01;
  letter-spacing:-.058em;
}

body.lf-home-editorial .lf-editorial-hero p{
  max-width:720px;
  color:#E6EEF8;
  font-size:clamp(18px,1.35vw,22px);
  line-height:1.72;
  margin:0;
}

body.lf-home-editorial .lf-editorial-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:34px;
}

body.lf-home-editorial .lf-editorial-hero-card{
  padding:34px;
  border-radius:28px;
  background:
    linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.045));
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 34px 100px rgba(0,0,0,.28);
}

body.lf-home-editorial .lf-editorial-card-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:28px;
}

body.lf-home-editorial .lf-editorial-card-top span{
  color:#7CE7EF;
  font-size:12px;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.12em;
}

body.lf-home-editorial .lf-editorial-card-top b{
  display:flex;
  align-items:center;
  justify-content:center;
  width:46px;
  height:40px;
  border-radius:14px;
  background:rgba(95,199,207,.13);
  color:#7CE7EF;
}

body.lf-home-editorial .lf-editorial-hero-card h2{
  color:#fff;
  font-size:31px;
  line-height:1.08;
  letter-spacing:-.04em;
  margin-bottom:24px;
}

body.lf-home-editorial .lf-editorial-hero-card ul{
  display:grid;
  gap:13px;
  margin:0;
  padding:0;
  list-style:none;
}

body.lf-home-editorial .lf-editorial-hero-card li{
  position:relative;
  padding-left:25px;
  color:#DDE7F2;
  line-height:1.5;
  font-weight:750;
}

body.lf-home-editorial .lf-editorial-hero-card li::before{
  content:"";
  position:absolute;
  left:0;
  top:.55em;
  width:8px;
  height:8px;
  border-radius:999px;
  background:#5FC7CF;
}

/* Global homepage sections */
body.lf-home-editorial .lf-editorial-section{
  padding:clamp(78px,7vw,116px) 0;
}

body.lf-home-editorial .lf-editorial-two-col{
  display:grid;
  grid-template-columns:minmax(0,520px) minmax(360px,1fr);
  gap:clamp(40px,7vw,110px);
  align-items:end;
  margin-bottom:48px;
}

body.lf-home-editorial .lf-editorial-two-col.is-top{
  align-items:start;
}

body.lf-home-editorial .lf-editorial-two-col h2,
body.lf-home-editorial .lf-editorial-fit-card h2,
body.lf-home-editorial .lf-editorial-final-card h2{
  margin:14px 0 0;
  color:#12213D;
  font-size:clamp(38px,4.2vw,66px);
  line-height:1.02;
  letter-spacing:-.056em;
}

body.lf-home-editorial .lf-editorial-text-block p,
body.lf-home-editorial .lf-editorial-dark-copy{
  color:#33456B;
  font-size:17px;
  line-height:1.82;
  margin:0 0 16px;
}

body.lf-home-editorial .lf-editorial-text-block p:last-child{
  margin-bottom:0;
}

/* Service rows */
body.lf-home-editorial .lf-editorial-service-list{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px;
}

body.lf-home-editorial .lf-editorial-service-item{
  display:flex;
  flex-direction:column;
  min-height:300px;
  padding:28px;
  border-radius:26px;
  background:#fff;
  color:#12213D;
  border:1px solid #DDE5EF;
  box-shadow:0 18px 54px rgba(18,33,61,.07);
}

body.lf-home-editorial .lf-editorial-service-item:hover{
  transform:translateY(-5px);
  border-color:rgba(95,199,207,.55);
  box-shadow:0 30px 86px rgba(18,33,61,.13);
}

body.lf-home-editorial .lf-editorial-service-item span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:58px;
  height:58px;
  border-radius:18px;
  color:#0E7C86;
  background:#E9F4F5;
  border:1px solid #CDE6E8;
  margin-bottom:28px;
}

body.lf-home-editorial .lf-editorial-service-item span svg{
  width:31px;
  height:31px;
}

body.lf-home-editorial .lf-editorial-service-item strong{
  display:block;
  color:#12213D;
  font-size:23px;
  line-height:1.12;
  letter-spacing:-.035em;
  margin-bottom:12px;
}

body.lf-home-editorial .lf-editorial-service-item small{
  color:#33456B;
  font-size:15px;
  line-height:1.65;
}

/* Dark selected work */
body.lf-home-editorial .lf-editorial-dark{
  color:#fff;
  background:
    radial-gradient(760px 460px at 82% 0%,rgba(95,199,207,.16),transparent 65%),
    linear-gradient(135deg,#07111F,#0B162B 58%,#12213D);
}

body.lf-home-editorial .lf-editorial-dark .lf-badge{
  color:#7CE7EF;
  background:rgba(95,199,207,.11);
  border-color:rgba(95,199,207,.22);
}

body.lf-home-editorial .lf-editorial-dark h2{
  color:#fff;
}

body.lf-home-editorial .lf-editorial-dark-copy{
  color:#DDE7F2;
}

body.lf-home-editorial .lf-editorial-work-grid{
  display:grid;
  grid-template-columns:1.25fr .875fr .875fr;
  gap:22px;
}

body.lf-home-editorial .lf-editorial-work-card{
  min-height:360px;
  display:flex;
  flex-direction:column;
  padding:32px;
  border-radius:28px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.13);
  box-shadow:0 28px 80px rgba(0,0,0,.20);
}

body.lf-home-editorial .lf-editorial-work-card.is-large{
  min-height:460px;
}

body.lf-home-editorial .lf-editorial-work-icon{
  width:68px;
  height:68px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:22px;
  color:#7CE7EF;
  background:rgba(255,255,255,.075);
  border:1px solid rgba(255,255,255,.14);
  margin-bottom:28px;
}

body.lf-home-editorial .lf-editorial-work-icon svg{
  width:36px;
  height:36px;
}

body.lf-home-editorial .lf-editorial-work-card > span{
  color:#7CE7EF;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.12em;
  font-weight:950;
}

body.lf-home-editorial .lf-editorial-work-card h3{
  color:#fff;
  font-size:clamp(28px,2.8vw,43px);
  line-height:1.05;
  letter-spacing:-.045em;
  margin:14px 0;
}

body.lf-home-editorial .lf-editorial-work-card p{
  color:#DDE7F2;
  line-height:1.75;
}

body.lf-home-editorial .lf-editorial-work-card a{
  color:#7CE7EF;
  font-weight:950;
  margin-top:auto;
}

/* Process */
body.lf-home-editorial .lf-editorial-method{
  background:#fff;
}

body.lf-home-editorial .lf-editorial-process{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  border:1px solid #DDE5EF;
  border-radius:28px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 24px 70px rgba(18,33,61,.08);
}

body.lf-home-editorial .lf-editorial-process-step{
  min-height:240px;
  padding:28px;
  border-right:1px solid #DDE5EF;
}

body.lf-home-editorial .lf-editorial-process-step:last-child{
  border-right:none;
}

body.lf-home-editorial .lf-editorial-process-step span{
  display:block;
  color:#0E7C86;
  font-weight:950;
  margin-bottom:42px;
}

body.lf-home-editorial .lf-editorial-process-step strong{
  display:block;
  color:#12213D;
  font-size:24px;
  line-height:1.05;
  letter-spacing:-.035em;
  margin-bottom:12px;
}

body.lf-home-editorial .lf-editorial-process-step p{
  color:#33456B;
  line-height:1.62;
  margin:0;
  font-size:14.5px;
}

/* Portfolio list */
body.lf-home-editorial .lf-editorial-portfolio{
  background:#F5F7FA;
}

body.lf-home-editorial .lf-editorial-portfolio-list{
  display:grid;
  gap:12px;
}

body.lf-home-editorial .lf-editorial-portfolio-row{
  display:grid;
  grid-template-columns:70px minmax(0,1fr) 240px 130px;
  gap:24px;
  align-items:center;
  min-height:88px;
  padding:20px 24px;
  border-radius:22px;
  background:#fff;
  color:#12213D;
  border:1px solid #DDE5EF;
  box-shadow:0 14px 40px rgba(18,33,61,.055);
}

body.lf-home-editorial .lf-editorial-portfolio-row:hover{
  transform:translateX(6px);
  border-color:#5FC7CF;
  box-shadow:0 24px 70px rgba(18,33,61,.10);
}

body.lf-home-editorial .lf-editorial-portfolio-row span{
  color:#0E7C86;
  font-weight:950;
}

body.lf-home-editorial .lf-editorial-portfolio-row strong{
  font-size:23px;
  letter-spacing:-.035em;
}

body.lf-home-editorial .lf-editorial-portfolio-row small{
  color:#33456B;
  font-weight:750;
}

body.lf-home-editorial .lf-editorial-portfolio-row em{
  color:#0E7C86;
  font-style:normal;
  font-weight:950;
  text-align:right;
}

/* Fit */
body.lf-home-editorial .lf-editorial-fit{
  background:#fff;
}

body.lf-home-editorial .lf-editorial-fit-card{
  display:grid;
  grid-template-columns:360px minmax(0,1fr);
  gap:54px;
  padding:42px;
  border-radius:32px;
  background:#F5F7FA;
  border:1px solid #DDE5EF;
  box-shadow:0 24px 70px rgba(18,33,61,.07);
}

body.lf-home-editorial .lf-editorial-fit-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}

body.lf-home-editorial .lf-editorial-fit-grid p{
  margin:0;
  padding:24px;
  border-radius:22px;
  background:#fff;
  color:#33456B;
  line-height:1.65;
  border:1px solid #DDE5EF;
}

body.lf-home-editorial .lf-editorial-fit-grid strong{
  color:#12213D;
  font-size:18px;
}

/* Final CTA */
body.lf-home-editorial .lf-editorial-final{
  color:#fff;
  background:
    linear-gradient(180deg,#fff 0%,#fff 46%,#07111F 46%,#07111F 100%);
  padding-top:58px;
}

body.lf-home-editorial .lf-editorial-final-card{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:30px;
  align-items:center;
  padding:48px;
  border-radius:32px;
  background:
    radial-gradient(circle at 90% 10%,rgba(95,199,207,.22),transparent 38%),
    linear-gradient(135deg,#12213D,#0B162B);
  border:1px solid rgba(255,255,255,.14);
  box-shadow:0 34px 100px rgba(0,0,0,.25);
}

body.lf-home-editorial .lf-editorial-final-card h2{
  color:#fff;
  max-width:850px;
}

body.lf-home-editorial .lf-editorial-final-card p{
  color:#DDE7F2;
  font-size:17px;
  line-height:1.7;
  max-width:720px;
  margin:16px 0 0;
}

/* Responsive */
@media(max-width:1160px){
  body.lf-home-editorial .lf-editorial-hero-inner,
  body.lf-home-editorial .lf-editorial-two-col,
  body.lf-home-editorial .lf-editorial-fit-card{
    grid-template-columns:1fr;
  }

  body.lf-home-editorial .lf-editorial-service-list{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  body.lf-home-editorial .lf-editorial-work-grid{
    grid-template-columns:1fr;
  }

  body.lf-home-editorial .lf-editorial-work-card,
  body.lf-home-editorial .lf-editorial-work-card.is-large{
    min-height:auto;
  }

  body.lf-home-editorial .lf-editorial-process{
    grid-template-columns:1fr 1fr;
  }

  body.lf-home-editorial .lf-editorial-process-step{
    border-right:none;
    border-bottom:1px solid #DDE5EF;
  }

  body.lf-home-editorial .lf-editorial-fit-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:760px){
  body.lf-home-editorial .lf-editorial-hero-inner{
    min-height:auto;
    padding:70px 0 82px;
  }

  body.lf-home-editorial .lf-editorial-hero h1{
    font-size:clamp(42px,12vw,62px);
    line-height:1.02;
  }

  body.lf-home-editorial .lf-editorial-hero-card{
    padding:26px;
  }

  body.lf-home-editorial .lf-editorial-service-list,
  body.lf-home-editorial .lf-editorial-process{
    grid-template-columns:1fr;
  }

  body.lf-home-editorial .lf-editorial-portfolio-row{
    grid-template-columns:52px 1fr;
    gap:12px 18px;
  }

  body.lf-home-editorial .lf-editorial-portfolio-row small,
  body.lf-home-editorial .lf-editorial-portfolio-row em{
    grid-column:2;
    text-align:left;
  }

  body.lf-home-editorial .lf-editorial-final-card{
    grid-template-columns:1fr;
    padding:30px;
  }

  body.lf-home-editorial .lf-editorial-final-card .lf-btn{
    width:100%;
  }
}

@media(max-width:520px){
  body.lf-home-editorial .lf-editorial-section{
    padding:64px 0;
  }

  body.lf-home-editorial .lf-editorial-hero h1{
    letter-spacing:-.05em;
  }

  body.lf-home-editorial .lf-editorial-actions{
    display:grid;
    grid-template-columns:1fr;
  }

  body.lf-home-editorial .lf-editorial-actions .lf-btn{
    width:100%;
  }

  body.lf-home-editorial .lf-editorial-service-item,
  body.lf-home-editorial .lf-editorial-work-card,
  body.lf-home-editorial .lf-editorial-fit-card{
    padding:24px;
    border-radius:24px;
  }
}


/* Fallback if body_class is not printed by the theme head include */
.lf-editorial-hero .lf-editorial-hero-inner{max-width:var(--max,1180px)}


/* ------------------------------------------------------------------
   Task 35 — Human Brand Tone / Gradient Reduction
   Purpose:
   - Remove AI-looking glow/radial-gradient language from Task 34 homepage.
   - Keep Switzer + Inter fonts and existing structure.
   - Move visual language toward a restrained human-designed corporate system:
     flat navy, disciplined cyan accent, lower radius, less shadow, cleaner hierarchy.
------------------------------------------------------------------- */

body.lf-home-editorial{
  background:#fff !important;
}

/* Shared restraint: less SaaS-glow, more corporate surface discipline */
body.lf-home-editorial .lf-editorial-section{
  background:#fff !important;
}

body.lf-home-editorial .lf-editorial-intro,
body.lf-home-editorial .lf-editorial-portfolio{
  background:#F4F7FA !important;
}

body.lf-home-editorial .lf-editorial-method,
body.lf-home-editorial .lf-editorial-fit{
  background:#fff !important;
}

/* Hero: solid editorial navy, no radial glow, no artificial dashboard effect */
body.lf-home-editorial .lf-editorial-hero{
  background:#0A1628 !important;
  color:#fff !important;
  border-bottom:1px solid rgba(255,255,255,.10) !important;
}

body.lf-home-editorial .lf-editorial-hero::before{
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.028) 1px,transparent 1px) !important;
  background-size:96px 96px !important;
  opacity:.40 !important;
  mask-image:linear-gradient(to right,#000 0%,rgba(0,0,0,.72) 56%,transparent 100%) !important;
}

body.lf-home-editorial .lf-editorial-hero-inner{
  min-height:570px !important;
  padding:86px 0 88px !important;
  grid-template-columns:minmax(0,720px) minmax(320px,420px) !important;
  gap:clamp(42px,7vw,96px) !important;
}

body.lf-home-editorial .lf-editorial-kicker{
  color:#59CBD6 !important;
  letter-spacing:.16em !important;
}

body.lf-home-editorial .lf-editorial-kicker::before{
  background:#59CBD6 !important;
  width:38px !important;
}

body.lf-home-editorial .lf-editorial-hero h1{
  max-width:720px !important;
  font-size:clamp(48px,4.65vw,74px) !important;
  line-height:1.03 !important;
  letter-spacing:-.045em !important;
  margin:22px 0 22px !important;
}

body.lf-home-editorial .lf-editorial-hero p{
  max-width:690px !important;
  color:rgba(255,255,255,.76) !important;
  font-size:18px !important;
  line-height:1.74 !important;
}

/* Hero card: no glow. More like an editorial project note. */
body.lf-home-editorial .lf-editorial-hero-card{
  padding:30px !important;
  border-radius:12px !important;
  background:#11223C !important;
  border:1px solid rgba(255,255,255,.14) !important;
  box-shadow:none !important;
}

body.lf-home-editorial .lf-editorial-card-top{
  border-bottom:1px solid rgba(255,255,255,.12) !important;
  padding-bottom:18px !important;
  margin-bottom:24px !important;
}

body.lf-home-editorial .lf-editorial-card-top span{
  color:#59CBD6 !important;
}

body.lf-home-editorial .lf-editorial-card-top b{
  background:transparent !important;
  border:1px solid rgba(89,203,214,.42) !important;
  color:#59CBD6 !important;
  border-radius:6px !important;
  width:38px !important;
  height:30px !important;
}

body.lf-home-editorial .lf-editorial-hero-card h2{
  font-size:25px !important;
  line-height:1.16 !important;
  letter-spacing:-.025em !important;
}

body.lf-home-editorial .lf-editorial-hero-card li{
  color:rgba(255,255,255,.72) !important;
  font-weight:650 !important;
}

body.lf-home-editorial .lf-editorial-hero-card li::before{
  background:#59CBD6 !important;
  width:6px !important;
  height:6px !important;
}

/* Buttons: calmer, less pill/glow */
body.lf-home-editorial .lf-btn,
body.lf-home-editorial .lf-btn-primary,
body.lf-home-editorial .lf-btn-on-dark{
  border-radius:7px !important;
  box-shadow:none !important;
}

body.lf-home-editorial .lf-btn-primary{
  background:#2F6FED !important;
  color:#fff !important;
  border-color:#2F6FED !important;
}

body.lf-home-editorial .lf-btn-primary:hover{
  background:#245FCC !important;
  border-color:#245FCC !important;
  transform:translateY(-1px) !important;
}

body.lf-home-editorial .lf-btn-on-dark{
  background:transparent !important;
  color:#fff !important;
  border-color:rgba(255,255,255,.26) !important;
}

body.lf-home-editorial .lf-btn-on-dark:hover{
  background:#fff !important;
  color:#0A1628 !important;
}

/* Section typography: more measured, less poster-like */
body.lf-home-editorial .lf-editorial-two-col h2,
body.lf-home-editorial .lf-editorial-fit-card h2,
body.lf-home-editorial .lf-editorial-final-card h2{
  color:#12213D !important;
  font-size:clamp(36px,3.55vw,56px) !important;
  line-height:1.07 !important;
  letter-spacing:-.042em !important;
}

body.lf-home-editorial .lf-editorial-text-block p,
body.lf-home-editorial .lf-editorial-dark-copy{
  color:#45556F !important;
  font-size:16px !important;
  line-height:1.84 !important;
}

/* Badges: less playful */
body.lf-home-editorial .lf-badge{
  border-radius:4px !important;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  color:#0E7C86 !important;
  letter-spacing:.16em !important;
}

/* Service cards: flatter, smaller radius, no generated-card glow */
body.lf-home-editorial .lf-editorial-service-item{
  border-radius:10px !important;
  min-height:260px !important;
  padding:26px !important;
  box-shadow:none !important;
  border:1px solid #D9E2EC !important;
  background:#fff !important;
}

body.lf-home-editorial .lf-editorial-service-item:hover{
  transform:translateY(-2px) !important;
  box-shadow:0 12px 28px rgba(18,33,61,.08) !important;
}

body.lf-home-editorial .lf-editorial-service-item span{
  width:44px !important;
  height:44px !important;
  border-radius:8px !important;
  background:#F4F7FA !important;
  color:#0E7C86 !important;
  border:1px solid #CFE3E6 !important;
  margin-bottom:24px !important;
}

body.lf-home-editorial .lf-editorial-service-item span svg{
  width:24px !important;
  height:24px !important;
}

body.lf-home-editorial .lf-editorial-service-item strong{
  font-size:20px !important;
  line-height:1.18 !important;
}

body.lf-home-editorial .lf-editorial-service-item small{
  color:#45556F !important;
}

/* Dark work section: flat navy instead of blue glow */
body.lf-home-editorial .lf-editorial-dark,
body.lf-home-editorial .lf-editorial-work{
  background:#0A1628 !important;
  color:#fff !important;
}

body.lf-home-editorial .lf-editorial-dark h2,
body.lf-home-editorial .lf-editorial-dark .lf-editorial-two-col h2{
  color:#fff !important;
}

body.lf-home-editorial .lf-editorial-dark .lf-badge{
  color:#59CBD6 !important;
}

body.lf-home-editorial .lf-editorial-dark-copy{
  color:rgba(255,255,255,.66) !important;
}

body.lf-home-editorial .lf-editorial-work-card{
  border-radius:10px !important;
  background:#11223C !important;
  border:1px solid rgba(255,255,255,.13) !important;
  box-shadow:none !important;
  min-height:330px !important;
}

body.lf-home-editorial .lf-editorial-work-card.is-large{
  min-height:330px !important;
}

body.lf-home-editorial .lf-editorial-work-icon{
  width:48px !important;
  height:48px !important;
  border-radius:8px !important;
  background:rgba(255,255,255,.045) !important;
  border:1px solid rgba(89,203,214,.25) !important;
  color:#59CBD6 !important;
}

body.lf-home-editorial .lf-editorial-work-icon svg{
  width:26px !important;
  height:26px !important;
}

body.lf-home-editorial .lf-editorial-work-card > span{
  color:#59CBD6 !important;
}

body.lf-home-editorial .lf-editorial-work-card h3{
  font-size:clamp(27px,2.3vw,36px) !important;
}

body.lf-home-editorial .lf-editorial-work-card p{
  color:rgba(255,255,255,.66) !important;
}

body.lf-home-editorial .lf-editorial-work-card a{
  color:#59CBD6 !important;
}

/* Process: board-like, not floating AI cards */
body.lf-home-editorial .lf-editorial-process{
  border-radius:10px !important;
  box-shadow:none !important;
  border:1px solid #D9E2EC !important;
}

body.lf-home-editorial .lf-editorial-process-step{
  min-height:220px !important;
}

body.lf-home-editorial .lf-editorial-process-step span{
  color:#0E7C86 !important;
}

body.lf-home-editorial .lf-editorial-process-step strong{
  font-size:21px !important;
}

/* Portfolio rows: sharper editorial rows */
body.lf-home-editorial .lf-editorial-portfolio-row{
  border-radius:7px !important;
  box-shadow:none !important;
  border:1px solid #D9E2EC !important;
  min-height:78px !important;
}

body.lf-home-editorial .lf-editorial-portfolio-row:hover{
  transform:translateX(3px) !important;
  box-shadow:0 8px 20px rgba(18,33,61,.06) !important;
}

body.lf-home-editorial .lf-editorial-portfolio-row span,
body.lf-home-editorial .lf-editorial-portfolio-row em{
  color:#0E7C86 !important;
}

/* Fit section */
body.lf-home-editorial .lf-editorial-fit-card{
  border-radius:10px !important;
  box-shadow:none !important;
  background:#F4F7FA !important;
  border:1px solid #D9E2EC !important;
}

body.lf-home-editorial .lf-editorial-fit-grid p{
  border-radius:7px !important;
  box-shadow:none !important;
  border:1px solid #D9E2EC !important;
}

/* Final CTA: solid dark card, no generated glow/radial */
body.lf-home-editorial .lf-editorial-final{
  background:#fff !important;
  padding-top:70px !important;
}

body.lf-home-editorial .lf-editorial-final-card{
  border-radius:10px !important;
  background:#1E2A44 !important;
  border:1px solid rgba(255,255,255,.12) !important;
  box-shadow:none !important;
}

body.lf-home-editorial .lf-editorial-final-card h2{
  color:#fff !important;
}

body.lf-home-editorial .lf-editorial-final-card p{
  color:rgba(255,255,255,.70) !important;
}

/* Reduce the over-polished generated feel globally on homepage cards */
body.lf-home-editorial .lf-editorial-hero-card,
body.lf-home-editorial .lf-editorial-service-item,
body.lf-home-editorial .lf-editorial-work-card,
body.lf-home-editorial .lf-editorial-process,
body.lf-home-editorial .lf-editorial-portfolio-row,
body.lf-home-editorial .lf-editorial-fit-card,
body.lf-home-editorial .lf-editorial-fit-grid p,
body.lf-home-editorial .lf-editorial-final-card{
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease !important;
}

/* Mobile: keep contrast clear and avoid oversized empty areas */
@media(max-width:1160px){
  body.lf-home-editorial .lf-editorial-hero-inner{
    grid-template-columns:1fr !important;
    min-height:auto !important;
    padding:78px 0 82px !important;
  }
}

@media(max-width:760px){
  body.lf-home-editorial .lf-editorial-hero-inner{
    padding:58px 0 66px !important;
  }

  body.lf-home-editorial .lf-editorial-hero h1{
    font-size:clamp(38px,11vw,54px) !important;
    line-height:1.06 !important;
    letter-spacing:-.04em !important;
  }

  body.lf-home-editorial .lf-editorial-hero p{
    font-size:16px !important;
  }

  body.lf-home-editorial .lf-editorial-service-item,
  body.lf-home-editorial .lf-editorial-work-card,
  body.lf-home-editorial .lf-editorial-fit-card,
  body.lf-home-editorial .lf-editorial-final-card{
    border-radius:10px !important;
  }
}

@media(max-width:520px){
  body.lf-home-editorial .lf-editorial-section{
    padding:58px 0 !important;
  }

  body.lf-home-editorial .lf-editorial-two-col{
    margin-bottom:34px !important;
  }

  body.lf-home-editorial .lf-editorial-two-col h2,
  body.lf-home-editorial .lf-editorial-fit-card h2,
  body.lf-home-editorial .lf-editorial-final-card h2{
    font-size:34px !important;
  }
}
