:root { --home-ink: #102a43; --home-muted: #627d98; --home-line: #d9e2ec; --home-brand: #6e7600; --home-brand-dark: #4f5400; --home-accent: #b5c72f; }

/* Hero — matches the standard site-wide hero pattern (vcf.html / iot-and-automation.html) */
.home-hero { background: radial-gradient(circle at 85% 15%, rgba(157, 169, 0, .28), transparent 31%), linear-gradient(118deg, #071f33 0%, #14301c 65%, #3d4a0b 100%); color: #fff; overflow: hidden; position: relative; }
.home-hero:after { content: ''; position: absolute; right: -6rem; bottom: -11rem; width: 34rem; height: 34rem; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; box-shadow: 0 0 0 4rem rgba(255,255,255,.035), 0 0 0 8rem rgba(255,255,255,.025); }
.home-hero-inner { position: relative; z-index: 1; max-width: 1600px; margin: 0; padding: 56px 4% 64px 5%; }
section.home-hero .home-hero-inner { padding-left: 13% !important; }
.home-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 28px; }
.home-eyebrow { color: #bdeef2; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; margin: 0; }
.home-eyebrow-divider { width: 1px; height: 14px; background: rgba(255,255,255,.4); }
.home-hero h1 { max-width: 900px; font-size: clamp(32px, 4.4vw, 50px); font-weight: 500; line-height: 1.15; letter-spacing: -.03em; margin: 0; }
.home-hero h1 span { color: #c8df65; }
.home-hero-copy { max-width: 900px; color: #d5e4eb; font-size: 16px; line-height: 1.65; margin: 16px 0 0; }
.home-hero-meta { display: flex; flex-wrap: wrap; gap: 10px 12px; color: #e2f1f3; font-size: 13px; }
.home-hero-meta span { display: flex; align-items: center; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 6px 14px; }
.home-hero-meta i { margin-right: 8px; }
.home-hero-meta i.ico-blue { color: #c8df65; }
.home-hero-meta i.ico-amber { color: #fbbf24; }
.home-hero-cta { display: inline-block; margin-top: 32px; background: var(--home-brand); color: #ffffff; text-decoration: none; font-size: 15px; font-weight: 700; padding: 14px 28px; border-radius: 8px; transition: background-color .2s ease, transform .2s ease; }
.home-hero-cta:hover { background: var(--home-brand-dark); color: #ffffff; transform: translateY(-1px); }

.home-proof-bar { position: relative; z-index: 1; max-width: 1600px; margin: 0; padding: 0 4% 48px 5%; display: flex; flex-wrap: wrap; gap: 28px 40px; padding-top: 32px; }
.home-proof-bar:before { content: ''; position: absolute; top: 0; left: 4%; right: 30%; height: 1px; background: rgba(255,255,255,.22); }
section.home-hero .home-proof-bar { padding-left: 13% !important; }
section.home-hero .home-proof-bar:before { left: 13% !important; right: 30% !important; }
.home-proof-item { display: flex; flex-direction: column; }
.home-proof-stat { font-size: 28px; font-weight: 700; color: #c8df65; line-height: 1.1; }
.home-proof-label { font-size: 13px; color: #d5e4eb; margin-top: 4px; max-width: 190px; }

/* Section shell */
.home-section { background: #fff; padding: 80px 6%; position: relative; overflow: hidden; }
.home-section.alt { background: linear-gradient(180deg, #f9fbff 0, #edf5ff 100%); }
/* Soft, low-opacity color blobs break up otherwise flat white sections without
   competing with the content on top of them. */
.home-section:before, .home-section:after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; z-index: 0; }
.home-section:before { top: -140px; right: -120px; width: 380px; height: 380px; background: radial-gradient(circle, rgba(100, 95, 234, .15), transparent 70%); }
.home-section:after { bottom: -160px; left: -110px; width: 340px; height: 340px; background: radial-gradient(circle, rgba(27, 184, 191, .12), transparent 70%); }
.home-section > * { position: relative; z-index: 1; }
.home-section-heading { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 1140px; margin: 0 auto 40px; }
.home-section-heading h2 { font-size: 28px; font-weight: 600; color: var(--home-ink); margin: 0; }
.home-section-heading h2 span { color: var(--home-brand); }
.home-section-heading p { font-size: 15px; color: var(--home-muted); margin: 0; max-width: 640px; }
.home-section-heading i { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: #f2f6de; border: 1px solid #dde6b8; border-radius: 12px; color: var(--home-brand); font-size: 24px; }
.home-section-heading.ic-blue i { color: #3457d5; background: #e7edfc; border-color: #c6d5f7; }
.home-section-heading.ic-purple i { color: #7434d5; background: #f1e9fc; border-color: #ddc6f7; }
.home-section-heading.ic-teal i { color: #0f9c8f; background: #e3f5f1; border-color: #c8e9e3; }
.home-section-heading.ic-amber i { color: #b5730a; background: #fdf1dd; border-color: #f7dfab; }

/* Pillars (four practice areas) */
.home-pillar-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.home-pillar { background: #f6f9fc; border: 1px solid #e6eef2; border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
.home-pillar:hover { transform: translateY(-4px); box-shadow: 0 16px 30px rgba(16, 42, 67, .1); }
.home-pillar-img { width: calc(100% + 56px); margin: -28px -28px 4px; height: 260px; object-fit: cover; display: block; transition: transform .4s ease; }
.home-pillar:hover .home-pillar-img { transform: scale(1.05); }
.home-pillar i { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-size: 19px; }
.home-pillar h3 { font-size: 17px; font-weight: 700; color: var(--home-ink); margin: 0; }
.home-pillar p { font-size: 13.5px; line-height: 1.6; color: var(--home-muted); margin: 0; flex-grow: 1; }
.home-pillar .home-pillar-link { font-size: 13px; font-weight: 700; color: var(--home-brand); display: inline-flex; align-items: center; gap: 6px; }
.home-pillar .home-pillar-link i { width: auto; height: auto; background: none; border: none; font-size: 12px; color: inherit; }

.home-pillar.ic-blue i { color: #3457d5; background: #e7edfc; border: 1px solid #c6d5f7; }
.home-pillar.ic-purple i { color: #7434d5; background: #f1e9fc; border: 1px solid #ddc6f7; }
.home-pillar.ic-teal i { color: #0f9c8f; background: #e3f5f1; border: 1px solid #c8e9e3; }
.home-pillar.ic-amber i { color: #b5730a; background: #fdf1dd; border: 1px solid #f7dfab; }

/* Approach / journey steps */
.home-journey { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; position: relative; }
.home-journey:before { content: ''; position: absolute; top: 21px; left: 5%; right: 5%; height: 2px; background: repeating-linear-gradient(90deg, #dde6b8 0 8px, transparent 8px 16px); z-index: 0; }
.home-journey-step { position: relative; z-index: 1; background: #f6f9fc; border: 1px solid #e6eef2; border-radius: 14px; padding: 24px; }
.home-journey-num { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; color: var(--home-muted); margin-bottom: 10px; }
.home-journey-step i { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: #f2f6de; border: 1px solid #dde6b8; border-radius: 10px; color: var(--home-brand); font-size: 17px; margin-bottom: 14px; }
.home-journey-step h3 { font-size: 15px; font-weight: 700; color: var(--home-ink); margin: 0 0 6px; }
.home-journey-step p { font-size: 13px; line-height: 1.6; color: var(--home-muted); margin: 0; }

/* Customer logos */
.home-logos-heading { max-width: 1140px; margin: 0 auto 32px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding: 0 6%; }
.home-logos-heading h2 { font-size: 24px; font-weight: 600; color: var(--home-ink); margin: 0; }
.home-logos-heading a { font-size: 14px; font-weight: 700; color: var(--home-brand); text-decoration: none; }

/* Auto-scrolling logo marquee: the track is the logo list rendered twice back
   to back, animated by exactly one set-width so the loop is seamless. */
.home-logo-marquee { max-width: 1240px; margin: 0 auto; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.home-logo-track { display: flex; align-items: center; gap: 20px; width: max-content; animation: home-marquee 36s linear infinite; }
.home-logo-marquee:hover .home-logo-track { animation-play-state: paused; }
.home-logo-card { flex: 0 0 auto; width: 172px; height: 90px; background: #f6f9fc; border: 1px solid #e6eef2; border-radius: 12px; padding: 12px; display: flex; align-items: center; justify-content: center; }
.home-logo-card img { max-width: 100%; max-height: 48px; width: auto; height: auto; transition: transform .2s ease; }
.home-logo-card-rei img { filter: invert(1); }
.home-logo-card:hover img { transform: scale(1.06); }
@keyframes home-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 10px)); }
}
@media (prefers-reduced-motion: reduce) {
    .home-logo-track { animation: none; }
}

/* Differentiators */
.home-diff-row { max-width: 1140px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 28px; }
.home-diff-item { flex: 1 1 220px; display: flex; gap: 14px; align-items: flex-start; }
.home-diff-item i { color: var(--home-brand); font-size: 22px; margin-top: 2px; flex-shrink: 0; }
.home-diff-item h4 { font-size: 15px; font-weight: 700; color: var(--home-ink); margin: 0 0 4px; }
.home-diff-item p { font-size: 13px; line-height: 1.6; color: var(--home-muted); margin: 0; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 767px) {
    .home-hero-inner { padding: 38px 20px 50px; text-align: center; }
    .home-eyebrow-row { flex-direction: column; justify-content: center; gap: 12px; margin-bottom: 20px; }
    .home-eyebrow-divider { display: none; }
    .home-hero h1 { font-size: 32px; line-height: 1.15; margin-left: auto; margin-right: auto; }
    .home-hero-copy { font-size: 15px; margin: 14px auto 0; }
    .home-hero-meta { justify-content: center; gap: 8px 10px; font-size: 13px; }
    .home-proof-bar { justify-content: center; text-align: center; padding-left: 20px; padding-right: 20px; }
    .home-proof-item { align-items: center; }
    .home-section { padding: 56px 6%; }
    .home-section-heading { align-items: center; text-align: center; }
    .home-journey:before { display: none; }
    .home-logos-heading { justify-content: center; text-align: center; }
    .home-pillar-img { height: 200px; }
}

/* Homepage redesign */
:root { --home-ink: #17231a; --home-muted: #657360; --home-brand: #77830d; --home-brand-dark: #566107; --home-accent: #b6c833; }
.home-section { padding: 106px 6%; }
.home-section.alt { background: #f7f9f3; }
.home-section:before { background: radial-gradient(circle, rgba(150, 181, 34, .14), transparent 70%); }
.home-section:after { background: radial-gradient(circle, rgba(94, 147, 59, .10), transparent 70%); }
.home-section-heading { align-items: center; text-align: center; gap: 13px; margin-bottom: 52px; }
.home-section-heading h2 { max-width: 760px; font-size: clamp(32px, 3.5vw, 46px); letter-spacing: -.045em; line-height: 1.07; }
.home-section-heading p { font-size: 16px; line-height: 1.65; }
.home-section-heading i { border: 0; box-shadow: 0 11px 28px rgba(47, 77, 205, .14); }
.home-section-heading i, .home-section-heading.ic-blue i, .home-section-heading.ic-purple i, .home-section-heading.ic-teal i, .home-section-heading.ic-amber i { color: #75820d; background: #f0f4d5; border: 0; box-shadow: 0 11px 28px rgba(96, 123, 24, .12); }
.home-pillar-grid { max-width: 1180px; gap: 18px; grid-template-columns: repeat(4, 1fr); }
.home-pillar { min-height: 470px; padding: 22px; gap: 13px; background: #fff; border: 1px solid #e3e7f3; border-radius: 18px; box-shadow: 0 13px 28px rgba(37, 53, 107, .055); }
.home-pillar:hover { transform: translateY(-8px); box-shadow: 0 22px 42px rgba(46, 62, 128, .14); }
.home-pillar-img { width: calc(100% + 44px); height: 164px; margin: -22px -22px 9px; object-position: center; }
.home-pillar h3 { font-size: 18px; letter-spacing: -.02em; }
.home-pillar p { font-size: 13px; }
.home-pillar .home-pillar-link { color: #6c790c; }
.home-technology-band { position: relative; overflow: hidden; padding: 106px 6%; background: linear-gradient(120deg, #0d2011, #1f3c18 60%, #4b5810); color: #fff; text-align: center; }
.home-technology-band:before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 80%, rgba(183, 211, 65, .24), transparent 20%), radial-gradient(circle at 82% 20%, rgba(113, 161, 61, .25), transparent 16%); }
.home-tech-inner { max-width: 1080px; position: relative; margin: 0 auto; }
.home-tech-kicker { color: #d9f36a; font-size: 11px; letter-spacing: .16em; font-weight: 800; margin: 0 0 17px; text-transform: uppercase; }
.home-tech-inner h2 { margin: 0; font-size: clamp(30px, 4vw, 50px); letter-spacing: -.05em; line-height: 1.08; }
.home-tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 48px; }
.home-tech-grid div { padding: 24px; display: flex; align-items: center; justify-content: center; gap: 13px; border: 1px solid rgba(255,255,255,.19); background: rgba(255,255,255,.08); border-radius: 14px; font-size: 14px; font-weight: 700; }
.home-tech-grid i { color: #d9f36a; font-size: 22px; }
.home-journey { max-width: 1180px; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 48px; padding-top: 22px; }
.home-journey:before { display: none; }
.home-journey-step { --journey-color: #75820d; min-height: 222px; padding: 40px 22px 24px; background: #ffffff; border: 1px solid #e0e8d5; border-radius: 16px; box-shadow: 0 12px 28px rgba(36, 57, 27, .08); overflow: visible; }
.home-journey-step:after { content: ''; position: absolute; top: 0; left: 22px; right: 22px; height: 3px; border-radius: 0 0 4px 4px; background: var(--journey-color); }
.home-journey-num { position: absolute; top: -22px; left: 22px; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: #ffffff; border: 2px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 800; letter-spacing: .04em; margin: 0; z-index: 2; }
.home-journey-step h3 { font-size: 17px; margin-bottom: 8px; }
.home-journey-step p { font-size: 14px; line-height: 1.65; }
.home-journey-step i { background: #f0f4d5; border: 0; color: #75820d; }
.home-journey-step:nth-child(1) i { color: #2869c7; background: #e7f0ff; }
.home-journey-step:nth-child(2) i { color: #7c44c8; background: #f2eaff; }
.home-journey-step:nth-child(3) i { color: #c56820; background: #fff0df; }
.home-journey-step:nth-child(4) i { color: #158d82; background: #e1f6f1; }
.home-journey-step:nth-child(1) { --journey-color: #2869c7; }
.home-journey-step:nth-child(2) { --journey-color: #7c44c8; }
.home-journey-step:nth-child(3) { --journey-color: #c56820; }
.home-journey-step:nth-child(4) { --journey-color: #158d82; }
.home-journey-step .home-journey-num { color: var(--journey-color); }
.home-logos-heading { max-width: 1180px; padding: 0; }
.home-logo-card { background: #fff; box-shadow: 0 8px 20px rgba(38, 54, 96, .06); }
.home-customers-section { position: relative; overflow: hidden; padding: 82px 6%; background: radial-gradient(circle at 5% 0%, rgba(159, 190, 55, .15), transparent 27%), linear-gradient(135deg, #f8faed 0%, #fff 58%, #f4f7fb 100%); }
.home-customers-section:before { content: ''; position: absolute; top: 0; left: max(6%, calc((100% - 1180px) / 2)); width: 64px; height: 4px; border-radius: 0 0 4px 4px; background: var(--home-brand); }
.home-customers-section .home-logos-heading { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 32px; margin-bottom: 36px; }
.home-logos-eyebrow { margin: 0 0 12px; color: #75820d; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.home-customers-section .home-logos-heading h2 { max-width: 620px; color: #1b2b17; font-size: clamp(28px, 3vw, 42px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; }
.home-customers-section .home-logos-heading h2 span { color: var(--home-brand); }
.home-logos-copy { max-width: 590px; margin: 14px 0 0; color: var(--home-muted); font-size: 15px; line-height: 1.65; }
.home-case-link { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; border: 1px solid #cbd79c; border-radius: 999px; color: #526009 !important; background: rgba(255,255,255,.72); font-size: 13px !important; font-weight: 800 !important; transition: background-color .2s ease, border-color .2s ease, transform .2s ease; white-space: nowrap; }
.home-case-link i { font-size: 12px; transition: transform .2s ease; }
.home-case-link:hover { background: #e8efcb; border-color: #9da900; color: #3d4805 !important; transform: translateY(-2px); }
.home-case-link:hover i { transform: translateX(3px); }
.home-customers-section .home-logo-marquee { position: relative; z-index: 1; max-width: 1180px; padding: 8px 0 12px; }
.home-customers-section .home-logo-card { width: 174px; height: 88px; border-color: #e1e9d2; border-radius: 14px; box-shadow: 0 10px 22px rgba(38, 54, 96, .06); transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease; }
.home-customers-section .home-logo-card:hover { border-color: #c4d37c; box-shadow: 0 14px 24px rgba(38, 54, 96, .1); transform: translateY(-3px); }
.home-diff-row { max-width: 1180px; gap: 16px; }
.home-diff-item { position: relative; overflow: hidden; padding: 23px 18px; background: #fff; border: 1px solid #e5e9f4; border-radius: 14px; transition: transform .2s ease, box-shadow .2s ease; }
.home-diff-item:before { content: ''; position: absolute; inset: 0 auto 0 0; width: 5px; background: currentColor; opacity: .9; }
.home-diff-item:hover { transform: translateY(-5px); box-shadow: 0 16px 28px rgba(39, 67, 29, .10); }
.home-diff-item i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 11px; margin: 0; font-size: 18px; }
.home-diff-item:nth-child(1) { color: #4363ca; background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%); border-color: #d9e3ff; }
.home-diff-item:nth-child(1) i { color: #4363ca; background: #e7edff; }
.home-diff-item:nth-child(2) { color: #168c80; background: linear-gradient(135deg, #fff 0%, #ebfbf7 100%); border-color: #cfeee7; }
.home-diff-item:nth-child(2) i { color: #168c80; background: #dff7f0; }
.home-diff-item:nth-child(3) { color: #a86213; background: linear-gradient(135deg, #fff 0%, #fff6e8 100%); border-color: #f4deb5; }
.home-diff-item:nth-child(3) i { color: #a86213; background: #fff0d6; }
.home-diff-item:nth-child(4) { color: #8751bd; background: linear-gradient(135deg, #fff 0%, #f8efff 100%); border-color: #e5cff8; }
.home-diff-item:nth-child(4) i { color: #8751bd; background: #f0e1ff; }
.home-final-cta { display: flex; align-items: center; justify-content: space-between; gap: 36px; padding: 76px max(7%, calc((100% - 1040px)/2)); background: linear-gradient(120deg, #f8faed, #edf4df); }
.home-final-cta p { margin: 0 0 11px; color: #75820d; font-weight: 800; font-size: 11px; letter-spacing: .14em; }
.home-final-cta h2 { margin: 0; color: #1b2b17; font-size: clamp(27px, 3vw, 40px); letter-spacing: -.045em; line-height: 1.1; }
.home-final-cta h2 span { color: var(--home-brand); }
.home-final-cta .lets_connect { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 22px; border-radius: 14px; background: #344514; color: #fff; text-decoration: none; text-align: left; line-height: 1.3; font-size: 15px; box-shadow: 0 14px 28px rgba(47, 67, 17, .2); }
.home-final-cta .font_light { font-size: 12px; color: #d9e8a8; }
.home-final-cta .connect { display: inline-flex; gap: 7px; padding: 0; border-radius: 0; background: transparent; color: #fff; font-size: 16px; font-weight: 800; transform: none; }
.home-final-cta .connect::after { content: '\2192'; font-size: 16px; }
.home-final-cta .lets_connect:hover .connect, .home-final-cta .lets_connect:focus-visible .connect { background: transparent; color: #d9e8a8; transform: none; }
@media (max-width: 991px) { .home-pillar-grid, .home-journey { grid-template-columns: repeat(2, 1fr); } .home-journey:before { display: none; } }
@media (max-width: 767px) { .home-tech-grid, .home-pillar-grid, .home-journey { grid-template-columns: 1fr; } .home-tech-grid { margin-top: 32px; } .home-final-cta { display: block; padding: 56px 8%; } .home-final-cta .lets_connect { margin-top: 26px; } }
@media (max-width: 767px) {
    .home-customers-section { padding: 62px 8%; }
    .home-customers-section:before { left: 8%; }
    .home-customers-section .home-logos-heading { grid-template-columns: 1fr; gap: 24px; margin-bottom: 28px; text-align: left; }
    .home-customers-section .home-logos-heading h2 { font-size: 30px; }
    .home-logos-copy { font-size: 14px; }
    .home-case-link { justify-self: start; }
    .home-customers-section .home-logo-card { width: 154px; height: 80px; }
}
