/* Homepage-only design. Shared service, menu and footer templates keep their scope. */
.ew-corporate-home {
  --ew-paper: #f5f7f2;
  --ew-ink: #102f2c;
  --ew-muted: #46645e;
  --ew-dark: #093635;
  --ew-lime: #dff08e;
}
.ew-corporate-home > section { scroll-margin-top: 110px; }
.ew-executive-hero {
  color: #fff;
  background: #0a3435;
  padding-block: clamp(40px, 6.1vw, 90px);
}
.ew-executive-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .99fr);
  gap: clamp(26px, 5vw, 79px);
  align-items: center;
}
.ew-executive-hero-copy .ew-executive-brand {
  margin: 0 0 19px;
  color: #c3ead6;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .105em;
  text-transform: uppercase;
}
.ew-corporate-home .ew-executive-hero h1 {
  color: #fff;
  font-size: clamp(39px, 5.2vw, 75px);
  letter-spacing: -.057em;
  line-height: 1.02;
  margin: 0 0 20px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.ew-executive-hero-copy .ew-executive-lead {
  color: #d4e8e2;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.65;
  margin: 0;
  max-width: 44ch;
}
.ew-executive-actions { display: flex; flex-wrap: wrap; gap: 9px 13px; margin-top: 25px; }
.ew-corporate-home :is(.ew-executive-primary, .ew-executive-secondary) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 47px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}
.ew-corporate-home .ew-executive-primary { background: var(--ew-lime); color: #183633; }
.ew-corporate-home .ew-executive-primary:hover { background: #edf9bb; color: #183633; }
.ew-corporate-home .ew-executive-secondary { color: #fff; border-color: #7eaaa2; }
.ew-corporate-home .ew-executive-secondary:hover { background: #ffffff14; color: #fff; }
.ew-corporate-home a:focus-visible { outline: 3px solid #6bbd98; outline-offset: 4px; }
.ew-executive-photo {
  margin: 0;
  min-width: 0;
  border: 1px solid #8dbab15c;
  border-radius: 15px;
  overflow: hidden;
  background: #174746;
}
.ew-executive-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1.42;
  height: auto;
  object-fit: cover;
  object-position: center 49%;
}
.ew-executive-photo .ew-executive-photo-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #edf6f1;
  padding: 12px 17px;
  font-size: 13px;
  font-weight: 750;
}
.ew-executive-photo .ew-executive-photo-link:hover { color: #fff; text-decoration: underline; }
.ew-executive-photo .ew-executive-photo-link:focus-visible { outline-offset: -5px; }
.ew-executive-services { background: var(--ew-paper); }
.ew-executive-services .ew-corporate-cards { gap: 14px; }
.ew-executive-services .ew-corporate-card {
  border: 1px solid #d3e3d9;
  border-radius: 13px;
  padding: clamp(16px, 2.3vw, 25px);
  transition: border-color .2s, box-shadow .2s;
}
.ew-executive-services .ew-corporate-card:is(:hover, :focus-within) {
  border-color: #6fa897;
  box-shadow: 0 5px 18px #143e3610;
}
.ew-executive-services .ew-home-primary-service { background: #fff; }
.ew-executive-services .ew-home-primary-service h3 { font-size: clamp(21px, 2vw, 27px); }
.ew-executive-services .ew-corporate-card > a { display: inline-flex; align-items: center; gap: 5px; min-height: 32px; }
.ew-service-visual {
  height: 92px;
  width: 100%;
  display: grid;
  align-content: center;
  justify-content: center;
  grid-template-columns: repeat(3, minmax(0, 45px));
  gap: 7px;
  margin-bottom: 6px;
  border-radius: 7px;
  background: #e4f0e7;
  overflow: hidden;
}
.ew-service-visual > span { height: 28px; border-radius: 3px; background: #579c8d; box-shadow: 0 4px 8px #1e5c4329; }
.ew-service-visual--websites { grid-template-columns: repeat(3, minmax(0, 43px)); align-content: center; }
.ew-service-visual--websites > span:first-child { grid-column: 1 / -1; height: 10px; background: #246d65; }
.ew-service-visual--websites > span:nth-child(2) { grid-column: span 2; }
.ew-service-visual--websites > span:last-child { background: #c0dc91; }
.ew-service-visual--software { background: #e1eeeb; }
.ew-service-visual--software > span:nth-child(2) { background: #9dcbbb; }
.ew-service-visual--software > span:last-child { background: #286c65; }
.ew-service-visual--automation { background: #eff3dd; }
.ew-service-visual--automation > span { border-radius: 30px; height: 22px; background: #5d906d; }
.ew-service-visual--automation > span:nth-child(2) { background: #a8c885; }
.ew-service-visual--automation > span:last-child { background: #33796d; }
.ew-executive-project { padding-block: clamp(43px, 6.4vw, 89px); background: #123d39; color: #fff; }
.ew-executive-project-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
}
.ew-executive-project-copy .ew-executive-project-kicker { color: #c1e5ce; margin: 0 0 12px; font-size: 13px; font-weight: 750; }
.ew-executive-project-copy h2 { color: #fff; margin: 0 0 18px; font-size: clamp(34px, 4.3vw, 60px); line-height: 1.04; text-wrap: balance; }
.ew-executive-project-copy h3 { color: #fff; margin: 0 0 9px; font-size: 19px; }
.ew-executive-project-copy p, .ew-corporate-home .ew-executive-project .ew-home-workflow { color: #d3e9df; }
.ew-executive-board {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #89a89c;
  border-radius: 13px;
  background: #f6f9f4;
  color: #163d38;
  box-shadow: 0 12px 35px #072d295e;
}
.ew-executive-board figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  padding: 16px;
  border-bottom: 1px solid #dbe8df;
  font-size: 16px;
}
.ew-executive-board figcaption span { color: #49675e; font-size: 12px; }
.ew-executive-board-body { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; padding: 12px; }
.ew-executive-board-stage { padding: 9px; background: #e7efe7; border-radius: 6px; min-width: 0; }
.ew-executive-board-stage h3 { margin: 0 0 9px; color: #234c42; font-size: 12px; line-height: 1.35; }
.ew-executive-board-stage h3 i { display: inline-block; width: 7px; height: 7px; margin-inline-end: 3px; background: #94751b; border-radius: 50%; }
.ew-executive-board-stage:nth-child(2) h3 i { background: #3d818a; }
.ew-executive-board-stage:nth-child(3) h3 i { background: #4b7e4a; }
.ew-executive-board-stage p { display: grid; gap: 5px; margin: 0; padding: 9px; color: #426158; background: #fff; border-radius: 5px; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.ew-executive-board-stage p strong { color: #183f37; }
@media (max-width: 850px) {
  .ew-executive-hero-grid, .ew-executive-project-grid { grid-template-columns: minmax(0, 1fr); }
  .ew-corporate-home .ew-executive-hero h1 { max-width: 16ch; }
  .ew-executive-photo img { aspect-ratio: 1.75; }
}
@media (max-width: 430px) {
  .ew-executive-board-body { grid-template-columns: minmax(0, 1fr); }
  .ew-executive-board-stage p { grid-template-columns: auto 1fr; }
  .ew-executive-board-stage p span { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .ew-executive-services .ew-corporate-card { transition: none; }
}

/* OPS360 homepage band */
.ew-home-ops{background:#eaf7f0;padding:56px 0;border-block:1px solid #d3eadf}
.ew-home-ops-inner{display:flex;align-items:center;justify-content:space-between;gap:36px}
.ew-home-ops-kicker{font:800 12px Manrope,Arial,sans-serif;letter-spacing:.14em;color:#087e83;margin:0 0 10px}
.ew-home-ops h2{font-size:clamp(26px,3vw,38px);line-height:1.2;margin:0 0 10px;color:#173c36}
.ew-home-ops p{margin:0;color:#4f6a63;max-width:60ch}
.ew-home-ops-links{display:flex;flex-direction:column;align-items:flex-start;gap:12px}
.ew-home-ops .ew-executive-primary{background:#087e83;color:#fff}
.ew-home-ops .ew-executive-primary:hover{background:#05696f;color:#fff}
.ew-home-ops-ar{font-weight:700;color:#087e83;text-decoration:underline}
@media(max-width:800px){.ew-home-ops-inner{flex-direction:column;align-items:flex-start}}

/* OPS360 band v2: logo palette, button never wraps */
.ew-home-ops{background:#06110d;border-block:0;position:relative}
.ew-home-ops::after{content:"";position:absolute;inset-inline:0;bottom:0;height:3px;background:linear-gradient(90deg,#6cbf51,#1aa3b0)}
.ew-home-ops h2{color:#fff;font-size:clamp(24px,2.6vw,34px)}
.ew-home-ops p{color:#b9d9c6}
.ew-home-ops-kicker{color:#7fea49}
.ew-home-ops .ew-executive-primary{background:linear-gradient(100deg,#7fea49,#6cbf51);color:#06110d;white-space:nowrap;display:inline-flex;align-items:center;gap:14px;width:auto}
.ew-home-ops .ew-executive-primary:hover{color:#06110d;filter:brightness(1.06)}
.ew-home-ops-ar{color:#7fea49}

/* v7.4.2: OPS360 screenshot sections, blog thumbnails shown in full */
.ew-executive-photo img{aspect-ratio:1.55;object-fit:cover}
.ew-executive-shot{margin:0}
.ew-executive-shot img{display:block;width:100%;height:auto;border-radius:12px;border:1px solid #2d6a3d;box-shadow:0 22px 60px #0008}
.ew-executive-shot figcaption{margin-top:10px;font-size:13px;color:#c1e5ce}
.ew-executive-project-links{display:flex;flex-wrap:wrap;gap:20px;align-items:center;margin-top:24px}
.v6-blog-image{height:auto;min-height:140px;background:#fff}
.v6-blog-image img{height:auto;object-fit:contain}
