@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');
:root{--bg:#f6f0e4;--surface:#ffffff;--surface2:#eaf3ed;--text:#123c32;--muted:#63756e;--line:rgba(30,41,59,.10);--accent:#1f8a73;--accent2:#f7b83f;--max:1200px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:'DM Sans',sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}img{max-width:100%}.container{width:min(var(--max),calc(100% - 40px));margin:auto}.nav{position:fixed;top:0;left:0;right:0;z-index:100;background:rgba(255,255,255,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(30,41,59,.08)}.nav-inner{height:76px;display:flex;align-items:center;justify-content:space-between}.logo{font-family:'Space Grotesk';font-weight:700;font-size:22px;letter-spacing:-.06em}.logo span{color:var(--accent)}.nav-links{display:flex;gap:27px;align-items:center}.nav-links a{font-size:14px;font-weight:600;color:#6f7f79;transition:.25s}.nav-links a:hover,.nav-links a.active{color:var(--accent)}.menu{display:none;background:none;border:0;color:var(--text);font-size:27px}.btn{display:inline-flex;align-items:center;gap:9px;background:var(--text);color:#fff;padding:13px 19px;border-radius:100px;font-weight:700;font-size:14px;transition:.25s}.btn:hover{transform:translateY(-2px);box-shadow:0 10px 35px rgba(37,99,235,.16)}.btn.red{background:var(--accent);color:#fff}.btn.ghost{background:transparent;border:1px solid var(--line);color:var(--text)}.hero{padding:170px 0 100px;position:relative;overflow:hidden}.orb{position:absolute;width:500px;height:500px;border-radius:50%;filter:blur(110px);opacity:.12;background:linear-gradient(135deg,var(--accent),var(--accent2));right:-180px;top:40px}.eyebrow{color:var(--accent);text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:700}.hero h1{font-family:'Space Grotesk';font-size:clamp(54px,8vw,108px);line-height:.92;letter-spacing:-.07em;max-width:980px;margin:18px 0 25px}.hero h1 em{font-style:normal;color:var(--accent)}.hero p{font-size:18px;color:var(--muted);max-width:650px}.actions{display:flex;gap:12px;margin-top:32px;flex-wrap:wrap}.section{padding:100px 0}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:45px}.section-head h2{font-family:'Space Grotesk';font-size:clamp(38px,5vw,65px);line-height:.98;letter-spacing:-.06em;margin:10px 0 0}.section-head p{color:var(--muted);max-width:430px}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:30px;transition:.35s;position:relative;overflow:hidden}.card:hover{transform:translateY(-7px);border-color:rgba(37,99,235,.35);box-shadow:0 14px 35px rgba(30,41,59,.08)}.card .num{color:#68766f;font-family:'Space Grotesk';font-size:13px}.card h3{font-family:'Space Grotesk';font-size:27px;letter-spacing:-.04em;margin:42px 0 10px}.card p{color:var(--muted);margin:0}.arrow{position:absolute;right:25px;top:25px;width:38px;height:38px;border:1px solid var(--line);border-radius:50%;display:grid;place-items:center}.service-card{min-height:300px}.service-card:after{content:'';position:absolute;width:180px;height:180px;border-radius:50%;background:var(--accent);opacity:.06;right:-70px;bottom:-70px}.stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.stat{padding:35px 25px;border-right:1px solid var(--line)}.stat:last-child{border:0}.stat strong{display:block;font:700 55px 'Space Grotesk';letter-spacing:-.06em}.stat span{color:var(--muted)}.dark-band{background:#e6f1eb}.work-card{min-height:380px;display:flex;flex-direction:column;justify-content:end;background:linear-gradient(145deg,#e5f0ea,#ffffff)}.work-card .tag{display:inline-block;border:1px solid var(--line);padding:6px 10px;border-radius:50px;color:#52645e;font-size:11px;width:max-content;margin-bottom:12px}.work-card h3{font-size:32px;margin:0 0 7px}.process{counter-reset:item}.step{display:grid;grid-template-columns:70px 1fr 1fr;gap:20px;border-top:1px solid var(--line);padding:27px 0}.step:last-child{border-bottom:1px solid var(--line)}.step-no{font-family:'Space Grotesk';font-size:14px;color:var(--accent)}.step h3{margin:0;font:600 25px 'Space Grotesk'}.step p{margin:0;color:var(--muted)}.cta{padding:90px 0;background:radial-gradient(circle at 80% 30%,rgba(96,165,250,.20),transparent 35%),#e6f1eb;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.cta h2{font:600 clamp(45px,7vw,90px)/.92 'Space Grotesk';letter-spacing:-.07em;max-width:850px;margin:15px 0 30px}.page-hero{padding:150px 0 70px}.page-hero h1{font:600 clamp(55px,8vw,105px)/.92 'Space Grotesk';letter-spacing:-.07em;margin:15px 0 20px}.page-hero p{color:var(--muted);font-size:18px;max-width:650px}.service-detail{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start}.service-detail h2{font:600 55px/1 'Space Grotesk';letter-spacing:-.06em;margin:0}.service-detail p{color:var(--muted);font-size:17px}.ticks{list-style:none;padding:0;margin:25px 0}.ticks li{padding:11px 0;border-bottom:1px solid var(--line)}.ticks li:before{content:'↗';color:var(--accent);margin-right:10px}.faq details{border-top:1px solid var(--line);padding:22px 0}.faq summary{cursor:pointer;font:600 20px 'Space Grotesk'}.form{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field label{font-size:12px;color:#63756e}.field input,.field textarea,.field select{font:inherit;background:var(--surface);border:1px solid var(--line);border-radius:13px;padding:15px;color:var(--text);outline:none}.field textarea{min-height:150px;resize:vertical}.footer{padding:55px 0 25px}.footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr 1fr;gap:40px;padding-bottom:45px}.footer h4{margin:0 0 15px}.footer a,.footer p{color:var(--muted);font-size:14px}.footer-links{display:grid;gap:8px}.copyright{border-top:1px solid var(--line);padding-top:20px;color:#63756e;font-size:12px;display:flex;justify-content:space-between}.reveal{opacity:0;transform:translateY(25px);transition:.7s}.reveal.show{opacity:1;transform:none}@media(max-width:850px){.nav-links{display:none;position:absolute;top:76px;left:0;right:0;background:#fff;padding:22px;flex-direction:column;align-items:flex-start;border-bottom:1px solid var(--line)}.nav-links.open{display:flex}.menu{display:block}.nav .btn{display:none}.grid,.stats,.service-detail,.footer-grid{grid-template-columns:1fr}.stat{border-right:0;border-bottom:1px solid var(--line)}.step{grid-template-columns:50px 1fr}.step p{grid-column:2}.hero{padding-top:135px}.form{grid-template-columns:1fr}.field.full{grid-column:auto}.section-head{display:block}.section-head p{margin-top:20px}.page-hero{padding-top:130px}}

/* ===== SERVICES MEGA CARD — CLEAN / SHARP REFERENCE STYLE ===== */
.services-trigger{position:relative;display:inline-flex;align-items:center;gap:6px}
.services-trigger::after{content:'⌄';font-size:12px;line-height:1;color:#63756e;transform:translateY(-1px);transition:.2s ease}
.services-trigger[aria-expanded="true"]::after{transform:translateY(1px) rotate(180deg)}
.services-mega-backdrop{position:fixed;inset:76px 0 0;background:rgba(0,0,0,.16);opacity:0;visibility:hidden;pointer-events:none;transition:.2s ease;z-index:998}
.services-mega-backdrop.open{opacity:1;visibility:visible}
.services-mega{position:fixed;top:92px;left:50%;transform:translate(-50%,-12px);width:min(790px,calc(100vw - 34px));background:#fff;color:#13342c;border:1px solid #d9e4df;border-radius:4px;box-shadow:0 22px 55px rgba(0,0,0,.25);opacity:0;visibility:hidden;pointer-events:none;transition:.22s ease;z-index:10000;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.services-mega.open{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.services-mega-inner{display:grid;grid-template-columns:1.08fr .92fr;min-height:305px}
.services-mega-list{padding:25px 28px 22px;background:#fff}
.services-mega-kicker{font:800 10px/1.2 'DM Sans',sans-serif;letter-spacing:.6px;color:#203e35;margin-bottom:16px}
.services-mega-items{border-top:1px solid #dfe9e4}
.services-mega-item{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:12px 8px;border-bottom:1px solid #dfe9e4;color:#2d4b42;font:600 11px/1.3 'DM Sans',sans-serif;text-decoration:none;transition:.16s ease;background:#fff}
.services-mega-item:hover,.services-mega-item.active{background:#e9f3ee;color:#1f8a73}
.services-mega-item b{display:inline-flex;align-items:center;justify-content:center;font-size:15px;font-weight:600;color:#1f8a73;opacity:1;transform:none;min-width:18px}
.services-mega-feature{padding:28px;background:#f1eee6;border-left:1px solid #dce7e2;display:flex;flex-direction:column;justify-content:space-between;filter:none;backdrop-filter:none;-webkit-backdrop-filter:none}
.services-mega-label{display:block;color:#8a8d93;font:800 8px/1 'DM Sans',sans-serif;letter-spacing:1.5px;margin-bottom:8px}
.services-mega-title{margin:0;font:600 25px/1.08 'Space Grotesk',sans-serif;letter-spacing:-.04em;color:#15372e}
.services-mega-desc{margin:10px 0 0;color:#687a72;font:400 11px/1.65 'DM Sans',sans-serif;max-width:285px}
.services-mega-bottom{margin-top:25px}
.services-mega-mini{border-top:1px solid #d6e2dd;padding-top:13px;margin-bottom:14px}
.services-mega-mini span{display:block;color:#7f9088;font:800 8px/1 'DM Sans',sans-serif;letter-spacing:1.4px;margin-bottom:5px}
.services-mega-mini strong{font:600 11px/1.3 'DM Sans',sans-serif;color:#29483f}
.services-mega-cta{display:flex;justify-content:space-between;align-items:center;background:#1f8a73;color:#fff;padding:11px 14px;border-radius:2px;font:800 10px/1 'DM Sans',sans-serif;text-decoration:none;transition:.18s ease}
.services-mega-cta:hover{background:#176f5d;transform:translateY(-1px)}
@media(max-width:850px){
  .services-mega{position:fixed;top:76px;left:14px;right:14px;width:auto;transform:translateY(-10px);max-height:calc(100vh - 92px);overflow:auto}
  .services-mega.open{transform:translateY(0)}
  .services-mega-inner{grid-template-columns:1fr}
  .services-mega-feature{display:none}
  .services-mega-list{padding:22px}
  .services-mega-backdrop{inset:76px 0 0}
}

/* ===== DARK MODE ===== */
html.dark-mode{color-scheme:dark}
html.dark-mode body{--bg:#0b1220;--surface:#111c2b;--surface2:#16263a;--text:#f5f7fa;--muted:#a8b4c2;--line:rgba(226,232,240,.12);background:var(--bg);color:var(--text)}
html.dark-mode .nav{background:rgba(11,18,32,.90);border-bottom-color:rgba(226,232,240,.10)}
html.dark-mode .nav-links a{color:#d4dde7}
html.dark-mode .nav-links a:hover,html.dark-mode .nav-links a.active{color:#f7b83f}
html.dark-mode .btn{background:#f5f7fa;color:#0b1220}
html.dark-mode .btn.red{background:#1f8a73;color:#fff}
html.dark-mode .btn.ghost{background:transparent;color:#f5f7fa;border-color:rgba(226,232,240,.16)}
html.dark-mode .card{background:#111c2b;border-color:rgba(226,232,240,.10);box-shadow:none}
html.dark-mode .card:hover{border-color:rgba(96,165,250,.42);box-shadow:0 16px 40px rgba(0,0,0,.24)}
html.dark-mode .dark-band{background:#0e1a29}
html.dark-mode .work-card{background:linear-gradient(145deg,#16263a,#111c2b)}
html.dark-mode .work-card .tag{color:#d4dde7}
html.dark-mode .cta{background:radial-gradient(circle at 80% 30%,rgba(37,99,235,.22),transparent 35%),#0e1a29}
html.dark-mode .field input,html.dark-mode .field textarea,html.dark-mode .field select{background:#111c2b;color:#f5f7fa;border-color:rgba(226,232,240,.13)}
html.dark-mode .field input::placeholder,html.dark-mode .field textarea::placeholder{color:#7f8da0}
html.dark-mode .field label{color:#a8b4c2}
html.dark-mode .menu{color:#f5f7fa}
html.dark-mode .services-mega{background:#111c2b;color:#f5f7fa;border-color:#26384d;box-shadow:0 22px 55px rgba(0,0,0,.5)}
html.dark-mode .services-mega-list{background:#111c2b}
html.dark-mode .services-mega-kicker{color:#d4dde7}
html.dark-mode .services-mega-items{border-color:#26384d}
html.dark-mode .services-mega-item{background:#111c2b;color:#d4dde7;border-color:#26384d}
html.dark-mode .services-mega-item:hover,html.dark-mode .services-mega-item.active{background:#1b3042;color:#f7b83f}
html.dark-mode .services-mega-feature{background:#0d1725;border-left-color:#26384d}
html.dark-mode .services-mega-title{color:#f5f7fa}
html.dark-mode .services-mega-desc{color:#a8b4c2}
html.dark-mode .services-mega-mini{border-color:#26384d}
html.dark-mode .services-mega-mini span{color:#7f8da0}
html.dark-mode .services-mega-mini strong{color:#d4dde7}
html.dark-mode .services-mega-backdrop{background:rgba(0,0,0,.60)}

.theme-toggle{width:40px;height:40px;border:1px solid var(--line);background:transparent;color:var(--text);border-radius:50%;display:inline-grid;place-items:center;cursor:pointer;font-size:17px;transition:.25s;margin-left:2px}
.theme-toggle:hover{border-color:rgba(37,99,235,.45);transform:translateY(-1px)}
@media(max-width:850px){html.dark-mode .nav-links{background:#0b4f3a}.theme-toggle{margin-left:auto;margin-right:10px}}

/* Eight Concepts brand logo */
.logo{
  display:inline-flex;
  align-items:center;
  flex:0 0 auto;
  width:clamp(150px,18vw,205px);
  line-height:0;
}
.logo .brand-logo{
  display:block;
  width:100%;
  height:auto;
  max-height:58px;
  object-fit:contain;
}
.logo .brand-logo-dark{display:none}
html.dark-mode .logo .brand-logo-light{display:none}
html.dark-mode .logo .brand-logo-dark{display:block}
@media(max-width:850px){
  .logo{width:155px}
  .logo .brand-logo{max-height:52px}
}

/* Our Work page polish */
.work-grid{align-items:stretch}.work-card{min-height:430px}.work-card p{max-width:470px}.work-meta{margin-top:24px;padding-top:15px;border-top:1px solid var(--line);display:flex;justify-content:space-between;gap:15px;font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.08em}.work-meta strong{color:var(--text);font-size:11px;font-weight:700}.work-process{background:#e6f1eb}.work-process .step{border-color:var(--line)}
html.dark-mode .work-process{background:#0d3f31}html.dark-mode .work-meta strong{color:#f5f7fa}
@media(max-width:850px){.work-card{min-height:380px}.work-meta{margin-top:20px}}

/* Blog + Career page content polish */
.blog-grid,.career-values,.career-roles{grid-template-columns:repeat(3,minmax(0,1fr));}
.blog-card{display:flex;flex-direction:column;min-height:430px;}
.blog-card h3{margin-bottom:14px;}
.blog-card .blog-meta{display:flex;justify-content:space-between;gap:15px;margin-top:auto;padding:22px 0 18px;color:var(--muted);font-size:12px;text-transform:uppercase;letter-spacing:.08em;border-top:1px solid var(--line);}
.blog-card .btn{align-self:flex-start;}
.blog-cta,.career-future{padding:55px;}
.blog-cta h2,.career-future h2{max-width:760px;}
.blog-cta p,.career-future p{max-width:760px;color:var(--muted);}
.career-values .card{min-height:250px;}
.career-role{display:flex;flex-direction:column;justify-content:space-between;min-height:280px;}
.career-role .btn{align-self:flex-start;margin-top:25px;}
@media(max-width:900px){.blog-grid,.career-values,.career-roles{grid-template-columns:repeat(2,minmax(0,1fr));}.blog-card{min-height:390px;}}
@media(max-width:620px){.blog-grid,.career-values,.career-roles{grid-template-columns:1fr;}.blog-card,.career-role{min-height:auto;}.blog-cta,.career-future{padding:30px;}}


/* Our Work CTA — match Blog/Career card sizing exactly */
.work-cta{padding:55px;}
.work-cta h2{max-width:760px;}
@media(max-width:620px){.work-cta{padding:30px;}}


/* Let’s Talk page optimization */
.contact-section{padding-top:55px}
.contact-layout{display:grid;grid-template-columns:.82fr 1.18fr;gap:70px;align-items:start}
.contact-intro{padding-top:18px}
.contact-intro h2,.form-heading h2{font:600 clamp(38px,5vw,60px)/.98 'Space Grotesk';letter-spacing:-.06em;margin:12px 0 18px}
.contact-intro>p{color:var(--muted);font-size:17px;max-width:520px}
.contact-steps{margin-top:42px;border-top:1px solid var(--line)}
.contact-step{display:grid;grid-template-columns:42px 1fr;gap:15px;padding:21px 0;border-bottom:1px solid var(--line)}
.contact-step>span{color:var(--accent);font:600 13px 'Space Grotesk';padding-top:3px}
.contact-step h3{font:600 20px/1.1 'Space Grotesk';margin:0 0 6px}
.contact-step p{margin:0;color:var(--muted);font-size:14px}
.contact-form{background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:36px;box-shadow:0 18px 50px rgba(30,41,59,.06)}
.form-heading{grid-column:1/-1;padding-bottom:8px;border-bottom:1px solid var(--line);margin-bottom:6px}
.form-heading h2{font-size:clamp(34px,4vw,50px);margin-bottom:10px}
.form-heading p{color:var(--muted);margin:0;max-width:560px}
.form-submit{display:flex;align-items:center;gap:16px;flex-wrap:wrap;padding-top:4px}
.form-submit span{color:var(--muted);font-size:12px}
html.dark-mode .contact-form{box-shadow:0 18px 50px rgba(0,0,0,.22)}
@media(max-width:900px){.contact-layout{grid-template-columns:1fr;gap:45px}.contact-intro{padding-top:0}.contact-steps{margin-top:30px}.contact-form{padding:28px}}
@media(max-width:620px){.contact-form{padding:22px;border-radius:22px}.form-heading{padding-bottom:4px}.contact-step{grid-template-columns:34px 1fr}.form-submit{align-items:flex-start;flex-direction:column}}


/* FINAL IMAGE SIZE FIX — keep every Home service visual in one consistent frame */
.services-section .services-grid .service-card .digital-marketing-image,
.services-section .services-grid .service-card .seo-image,
.services-section .services-grid .service-card .social-media-image,
.services-section .services-grid .service-card .web-design-image,
.services-section .services-grid .service-card .content-creative-image,
.services-section .services-grid .service-card .branding-mini-visual{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  bottom:108px!important;
  width:auto!important;
  height:auto!important;
  display:block!important;
  overflow:hidden!important;
  padding:16px 18px 8px!important;
  border:0!important;
  border-radius:inherit!important;
  background:var(--surface)!important;
  z-index:0!important;
  animation:none!important;
  transform:none!important;
}
.services-section .services-grid .service-card .digital-marketing-image img,
.services-section .services-grid .service-card .seo-image img,
.services-section .services-grid .service-card .social-media-image img,
.services-section .services-grid .service-card .web-design-image img,
.services-section .services-grid .service-card .content-creative-image img,
.services-section .services-grid .service-card .branding-mini-visual img{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  display:block!important;
  object-fit:contain!important;
  object-position:center center!important;
  animation:none!important;
  transform:none!important;
}
.services-section .services-grid .service-card .service-top,
.services-section .services-grid .service-card .service-content,
.services-section .services-grid .service-card .service-tags{
  position:relative;
  z-index:5;
}
html.dark-mode .services-section .services-grid .service-card .digital-marketing-image,
html.dark-mode .services-section .services-grid .service-card .seo-image,
html.dark-mode .services-section .services-grid .service-card .social-media-image,
html.dark-mode .services-section .services-grid .service-card .web-design-image,
html.dark-mode .services-section .services-grid .service-card .content-creative-image,
html.dark-mode .services-section .services-grid .service-card .branding-mini-visual{
  background:#104735!important;
}



/* FINAL COMPACT SERVICE IMAGE SCALE — keep artwork fully visible and leave clear room for bottom-left text */
.services-section .services-grid .service-card .digital-marketing-image img,
.services-section .services-grid .service-card .seo-image img,
.services-section .services-grid .service-card .social-media-image img,
.services-section .services-grid .service-card .web-design-image img,
.services-section .services-grid .service-card .content-creative-image img,
.services-section .services-grid .service-card .branding-mini-visual img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
}

/* Service imagery placement — keep visuals contained and text readable. */
.services-page-image{
  width:100%;
  height:150px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:18px;
  margin:18px 0 18px;
}
.service-card.has-service-image{
  overflow:hidden;
}
.service-card.has-service-image .service-card-image{
  width:100%;
  height:150px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:16px;
  margin:16px 0 18px;
}
.service-detail-image-wrap{
  margin-bottom:46px;
}
.service-detail-image{
  width:100%;
  height:360px;
  object-fit:cover;
  object-position:center;
  display:block;
  border-radius:28px;
}
.services-mega-feature-visual{
  margin:16px 0 18px;
  border-radius:18px;
  overflow:hidden;
  height:150px;
}
.services-mega-feature-visual img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
@media(max-width:760px){
  .services-page-image,.service-card.has-service-image .service-card-image{height:125px}
  .service-detail-image{height:240px}
}

/* SERVICE MEGA MENU ALIGNMENT FIX */
/* Keep the existing design, but vertically balance the service list inside the desktop menu. */
@media(min-width:851px){
  .services-mega{
    top:92px!important;
  }
  .services-mega-list{
    display:flex!important;
    flex-direction:column!important;
    justify-content:center!important;
  }
  .services-mega-kicker{
    margin-bottom:18px!important;
  }
  .services-mega-item{
    min-height:45px!important;
  }
}

/* ===== FINAL SERVICES NAV DROPDOWN ALIGNMENT ===== */
.services-mega{
  width:min(860px,calc(100vw - 34px))!important;
  top:76px!important;
  border-radius:16px!important;
  overflow:hidden!important;
}
.services-mega-inner{
  grid-template-columns:1.08fr .92fr!important;
  min-height:410px!important;
}
.services-mega-list{
  padding:28px 32px 30px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
}
.services-mega-kicker{
  margin:0 0 18px!important;
  font-size:10px!important;
  line-height:1.2!important;
}
.services-mega-items{
  width:100%!important;
  border-top:1px solid #dfe9e4!important;
}
.services-mega-item{
  min-height:52px!important;
  height:52px!important;
  padding:0 10px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:18px!important;
  font-size:12px!important;
  line-height:1.35!important;
}
.services-mega-item span{
  display:block!important;
  line-height:1.35!important;
}
.services-mega-item b{
  flex:0 0 22px!important;
  width:22px!important;
  height:22px!important;
  font-size:15px!important;
}
.services-mega-feature{
  padding:28px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:space-between!important;
}
.services-mega-feature-visual{
  height:145px!important;
  margin:0 0 18px!important;
  border-radius:14px!important;
}
.services-mega-title{font-size:25px!important;line-height:1.1!important}
.services-mega-desc{font-size:11px!important;line-height:1.65!important}
.services-mega-bottom{margin-top:20px!important}
.services-mega-cta{border-radius:10px!important;padding:12px 14px!important}
html.dark-mode .services-mega-items{border-color:#1b5b4a!important}
html.dark-mode .services-mega-item{border-color:#1b5b4a!important}
@media(max-width:850px){
  .services-mega{top:76px!important;left:14px!important;right:14px!important;width:auto!important;border-radius:14px!important;max-height:calc(100vh - 90px)!important}
  .services-mega-inner{grid-template-columns:1fr!important;min-height:0!important}
  .services-mega-list{padding:22px!important;justify-content:flex-start!important}
  .services-mega-item{min-height:50px!important;height:50px!important;font-size:12px!important}
  .services-mega-feature{display:none!important}
}


/* Uniform service page image sizing */
.service-detail-image{width:100% !important; max-width:700px !important; height:240px !important; object-fit:contain !important; display:block; margin:0 auto;}
.service-detail-image-wrap{text-align:center;}


/* CTA size fix to match reference screenshot */
.cta{
  padding:40px 0 !important;
  background:transparent !important;
  border-top:0 !important;
  border-bottom:0 !important;
}
.cta .container{
  max-width:1200px;
  min-height:265px;
  padding:56px;
  background:#f8f4eb;
  border:1px solid #bfe1d5;
  border-radius:28px;
}
.cta h2{
  font-size:clamp(38px,3.4vw,52px) !important;
  max-width:700px;
  margin:16px 0 28px !important;
}


/* HOME ONLY: Services dropdown dark-mode visual match to approved reference */
html.dark-mode body.home-page .services-mega{background:#101a20!important;color:#f2f5f4!important;border:1px solid #2b3a40!important;box-shadow:0 22px 55px rgba(0,0,0,.48)!important}
html.dark-mode body.home-page .services-mega-list{background:#101a20!important}
html.dark-mode body.home-page .services-mega-kicker{color:#aebbb8!important}
html.dark-mode body.home-page .services-mega-items{border-top-color:#2b3a40!important}
html.dark-mode body.home-page .services-mega-item{background:#101a20!important;color:#edf3f1!important;border-bottom-color:#2b3a40!important}
html.dark-mode body.home-page .services-mega-item b{color:#35b89b!important}
html.dark-mode body.home-page .services-mega-item:hover,html.dark-mode body.home-page .services-mega-item.active{background:#1c373d!important;color:#55c9aa!important}
html.dark-mode body.home-page .services-mega-item:hover b,html.dark-mode body.home-page .services-mega-item.active b{color:#35b89b!important}
html.dark-mode body.home-page .services-mega-feature{background:#0e181e!important;border-left-color:#2b3a40!important}
html.dark-mode body.home-page .services-mega-label{color:#aebbb8!important}
html.dark-mode body.home-page .services-mega-title{color:#f5f7f6!important}
html.dark-mode body.home-page .services-mega-desc{color:#aab7b4!important}
html.dark-mode body.home-page .services-mega-cta{background:#58c9aa!important;color:#08211b!important}
html.dark-mode body.home-page .services-mega-cta:hover{background:#63d2b3!important}

/* ===== EXACT HOME NAVBAR TYPOGRAPHY — ALL PAGES ===== */
.nav .nav-links,
.nav .nav-links a,
.nav .nav-links .dc-services-trigger,
.nav .nav-links .btn,
.nav .nav-links button {
  font-family: 'DM Sans', sans-serif !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

/* Home screenshot match: main nav labels */
.nav .nav-links > a:not(.btn),
.nav .nav-links .dc-services-trigger {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
}

/* Let's Talk button matches the Home navbar */
.nav .nav-links > a.btn,
.nav .nav-links .btn.red,
.nav .nav-links .btn.accent {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
}

/* Services arrow uses the same navbar type treatment */
.nav .nav-links .dc-services-trigger::after {
  font-family: 'DM Sans', sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

/* Keep the same font on the mobile navbar too */
@media (max-width: 850px) {
  .nav .nav-links,
  .nav .nav-links a,
  .nav .nav-links .dc-services-trigger,
  .nav .nav-links .btn,
  .nav .nav-links button {
    font-family: 'DM Sans', sans-serif !important;
  }
}

/* ===== FINAL NAVBAR COLOR MATCH — SAME AS HOME ===== */
.nav .nav-links > a:not(.btn),
.nav .nav-links .dc-services-trigger,
.nav .nav-links .services-trigger,
.nav .nav-links button {
  color: #52645e !important;
}
.nav .nav-links > a:not(.btn):hover,
.nav .nav-links > a:not(.btn).active,
.nav .nav-links .dc-services-trigger:hover,
.nav .nav-links .dc-services-trigger.open,
.nav .nav-links .services-trigger:hover,
.nav .nav-links .services-trigger[aria-expanded="true"],
.nav .nav-links button:hover {
  color: #1f8a73 !important;
}
.nav .nav-links .btn,
.nav .nav-links .btn.red,
.nav .nav-links > a.btn {
  color: #fff !important;
}
html.dark-mode .nav .nav-links > a:not(.btn),
html.dark-mode .nav .nav-links .dc-services-trigger,
html.dark-mode .nav .nav-links .services-trigger,
html.dark-mode .nav .nav-links button {
  color: #d4dfda !important;
}
html.dark-mode .nav .nav-links > a:not(.btn):hover,
html.dark-mode .nav .nav-links > a:not(.btn).active,
html.dark-mode .nav .nav-links .dc-services-trigger:hover,
html.dark-mode .nav .nav-links .dc-services-trigger.open,
html.dark-mode .nav .nav-links .services-trigger:hover,
html.dark-mode .nav .nav-links .services-trigger[aria-expanded="true"],
html.dark-mode .nav .nav-links button:hover {
  color: #f7b83f !important;
}
html.dark-mode .nav .nav-links .btn,
html.dark-mode .nav .nav-links .btn.red,
html.dark-mode .nav .nav-links > a.btn {
  color: #fff !important;
}


/* ===== FINAL DARK-MODE SERVICE CTA CONTAINER FIX =====
   The CTA container has its own light background, so dark mode
   must override that inner container as well as the outer .cta. */
html.dark-mode .cta .container {
  background: #0d3f31 !important;
  border-color: #1b5b4a !important;
  color: #fbf7ef !important;
}
html.dark-mode .cta .container h2 {
  color: #fbf7ef !important;
}
html.dark-mode .cta .container .eyebrow {
  color: #f7b83f !important;
}
html.dark-mode .cta .container .btn.red {
  background: #1f8a73 !important;
  color: #ffffff !important;
  border-color: #1f8a73 !important;
}
html.dark-mode .cta .container .btn.red:hover {
  background: #176f5d !important;
  color: #ffffff !important;
}

/* Center the What We Do intro for a more balanced section composition */
.services-section > .container > .section-heading{
  max-width: 900px;
  margin: 0 auto 52px;
  text-align: center;
}
.services-section > .container > .section-heading .section-number{
  margin-bottom: 14px;
}
.services-section > .container > .section-heading .heading-content{
  max-width: 760px;
  margin: 0 auto;
}
.services-section > .container > .section-heading h2{
  margin-left: auto;
  margin-right: auto;
}
.services-section > .container > .section-heading p{
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}
@media(max-width:620px){
  .services-section > .container > .section-heading{margin-bottom:36px}
}

/* ===== HOME PAGE SPACING REFINEMENT ===== */
.hero{padding-bottom:72px}
.section{padding:72px 0}
.section-head{margin-bottom:32px}
.services-section > .container > .section-heading{margin-bottom:34px}
.services-section > .container > .section-heading .section-number{margin-bottom:10px}
.stats .stat{padding:28px 22px}
.process .step{padding:22px 0}
.cta{padding:68px 0}
.cta h2{margin-bottom:24px}
.work-card{min-height:350px}
.service-card{min-height:270px}
@media(max-width:850px){
  .hero{padding-bottom:55px}
  .section{padding:58px 0}
  .section-head{margin-bottom:26px}
  .services-section > .container > .section-heading{margin-bottom:28px}
  .stats .stat{padding:24px 20px}
  .process .step{padding:20px 0}
  .cta{padding:55px 0}
}
@media(max-width:620px){
  .hero{padding-bottom:42px}
  .section{padding:48px 0}
  .section-head{margin-bottom:22px}
  .services-section > .container > .section-heading{margin-bottom:24px}
  .work-card{min-height:300px}
  .service-card{min-height:240px}
  .cta{padding:46px 0}
}


/* SERVICE PAGE HERO — text left, visual right */
.page-hero .container:has(.service-detail-image){
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(320px,0.9fr);
  grid-template-rows:auto auto auto;
  column-gap:clamp(45px,7vw,100px);
  align-items:center;
}
.page-hero .container:has(.service-detail-image) .eyebrow{
  grid-column:1;
  grid-row:1;
  align-self:end;
}
.page-hero .container:has(.service-detail-image) h1{
  grid-column:1;
  grid-row:2;
  margin-top:12px;
}
.page-hero .container:has(.service-detail-image)>p{
  grid-column:1;
  grid-row:3;
  max-width:620px;
  margin-top:16px;
}
.page-hero .container:has(.service-detail-image) .service-detail-image{
  grid-column:2;
  grid-row:1 / 4;
  width:100%!important;
  max-width:100%!important;
  height:390px!important;
  margin:0!important;
  object-fit:contain!important;
  align-self:center;
}
@media(max-width:850px){
  .page-hero .container:has(.service-detail-image){
    display:grid;
    grid-template-columns:1fr;
    grid-template-rows:auto;
    gap:0;
  }
  .page-hero .container:has(.service-detail-image) .eyebrow,
  .page-hero .container:has(.service-detail-image) h1,
  .page-hero .container:has(.service-detail-image)>p,
  .page-hero .container:has(.service-detail-image) .service-detail-image{
    grid-column:1;
    grid-row:auto;
  }
  .page-hero .container:has(.service-detail-image) .service-detail-image{
    height:280px!important;
    margin:28px auto 0!important;
  }
}

/* FINAL SPACING FIX — HOME PROCESS: move only Step 1 slightly right on desktop */
@media (min-width: 761px) {
  .process-track > .process-item:nth-child(2) {
    transform: translateX(18px);
  }
}


/* Service architecture */
.service-architecture{padding-top:80px}
.service-architecture-head{margin-bottom:34px}
.service-map-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.service-map-card{background:var(--surface);border:1px solid var(--line);border-radius:26px;padding:28px;position:relative;overflow:hidden;transition:.3s;box-shadow:0 8px 24px rgba(30,41,59,.035)}
.service-map-card:hover{transform:translateY(-4px);border-color:rgba(37,99,235,.28);box-shadow:0 18px 42px rgba(30,41,59,.08)}
.service-map-card:before{content:'';position:absolute;width:180px;height:180px;border-radius:50%;background:var(--accent);opacity:.045;right:-90px;top:-90px;pointer-events:none}
.service-map-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}
.service-map-number{font:600 12px 'Space Grotesk';color:var(--accent);letter-spacing:.08em}
.service-map-count{font-size:11px;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:999px}
.service-map-card>h3{font:600 31px/1.05 'Space Grotesk';letter-spacing:-.045em;margin:0 0 23px}
.service-map-card>h3 a:hover,.service-group a:hover,.service-map-link:hover{color:var(--accent)}
.service-groups{display:grid;gap:9px}
.service-group{border:1px solid var(--line);border-radius:15px;background:rgba(241,247,255,.48);padding:13px 14px}
.service-group-title{display:block;font:600 15px/1.3 'Space Grotesk';color:var(--text)}
.service-subtopics{display:flex;flex-wrap:wrap;gap:6px 14px;list-style:none;margin:10px 0 0;padding:0}
.service-subtopics li{position:relative;padding-left:12px}
.service-subtopics li:before{content:'·';position:absolute;left:0;color:var(--accent);font-weight:700}
.service-subtopics a{font-size:12.5px;color:var(--muted)}
.service-group-simple{padding:11px 14px}
.service-group-simple a{font-size:14px;font-weight:600}
.service-map-link{display:flex;align-items:center;justify-content:space-between;margin-top:20px;padding-top:15px;border-top:1px solid var(--line);font-size:13px;font-weight:700;color:#52645e}
.service-map-link span{font-size:18px;color:var(--accent)}
@media(max-width:850px){.service-map-grid{grid-template-columns:1fr}.service-map-card>h3{font-size:28px}}
@media(max-width:520px){.service-map-card{padding:21px;border-radius:20px}.service-subtopics{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px}.service-map-card>h3{font-size:25px}}
.cms-page-content .prose{max-width:900px;margin:0 auto;line-height:1.8}.cms-page-content .prose h2,.cms-page-content .prose h3{margin-top:2rem}.cms-page-content .prose img{max-width:100%;height:auto;border-radius:18px}.cms-page-content .prose a{color:var(--accent,#1f8a73)}

/* ===== FINAL DARK MODE PALETTE — reference image colors only ===== */
html.dark-mode,
.dark-mode{
  color-scheme:dark;
  --dark-bg:#0e151b;
  --dark-surface:#151f26;
  --dark-surface-2:#1b2a30;
  --dark-text:#f4f7f7;
  --dark-muted:#a7b3b7;
  --dark-line:rgba(229,237,240,.13);
  --dark-accent:#16c8a7;
  --dark-teal:#168876;
}

html.dark-mode body{
  --bg:var(--dark-bg);
  --surface:var(--dark-surface);
  --surface2:var(--dark-surface-2);
  --text:var(--dark-text);
  --muted:var(--dark-muted);
  --line:var(--dark-line);
  --accent:var(--dark-accent);
  --accent2:#2bd9bc;
  background:var(--dark-bg)!important;
  color:var(--dark-text)!important;
}

html.dark-mode .nav,
.dark-mode .header.scrolled{
  background:rgba(14,21,27,.94)!important;
  border-bottom-color:rgba(229,237,240,.10)!important;
}
html.dark-mode .nav-links a,
.dark-mode .navigation-links a,
.dark-mode .navigation-links .dc-services-trigger,
html.dark-mode .nav .nav-links > a:not(.btn),
html.dark-mode .nav .nav-links .dc-services-trigger,
html.dark-mode .nav .nav-links .services-trigger,
html.dark-mode .nav .nav-links button{
  color:#e0e7e8!important;
}
html.dark-mode .nav-links a:hover,
html.dark-mode .nav-links a.active,
.dark-mode .navigation-links a:hover,
.dark-mode .navigation-links a.active,
.dark-mode .navigation-links .dc-services-trigger:hover,
.dark-mode .navigation-links .dc-services-trigger.open,
html.dark-mode .nav .nav-links > a:not(.btn):hover,
html.dark-mode .nav .nav-links > a:not(.btn).active,
html.dark-mode .nav .nav-links .dc-services-trigger:hover,
html.dark-mode .nav .nav-links .dc-services-trigger.open,
html.dark-mode .nav .nav-links .services-trigger:hover,
html.dark-mode .nav .nav-links .services-trigger[aria-expanded="true"],
html.dark-mode .nav .nav-links button:hover{
  color:var(--dark-accent)!important;
}
html.dark-mode .nav-links .btn,
html.dark-mode .nav .nav-links .btn,
html.dark-mode .nav .nav-links .btn.red,
html.dark-mode .nav .nav-links > a.btn{
  color:#fff!important;
}
html.dark-mode .btn.red,
.dark-mode .primary-button,
.dark-mode .final-cta .btn.red{
  background:var(--dark-accent)!important;
  border-color:var(--dark-accent)!important;
  color:#fff!important;
}
html.dark-mode .btn.ghost,
.dark-mode .secondary-button{
  background:transparent!important;
  color:var(--dark-text)!important;
  border-color:var(--dark-line)!important;
}
html.dark-mode .menu{color:var(--dark-text)!important}

html.dark-mode .dark-band,
html.dark-mode .work-process,
.dark-mode .process-section,
.dark-mode .intro-section{
  background:var(--dark-teal)!important;
}
html.dark-mode .cta,
.dark-mode .final-cta{
  background:radial-gradient(circle at 80% 30%,rgba(43,217,188,.12),transparent 35%),var(--dark-teal)!important;
  color:var(--dark-text)!important;
}
html.dark-mode .cta .container{
  background:transparent!important;
  border-color:transparent!important;
  color:var(--dark-text)!important;
}
html.dark-mode .cta h2,
html.dark-mode .cta .container h2,
html.dark-mode .cta .eyebrow,
html.dark-mode .cta .container .eyebrow{
  color:var(--dark-text)!important;
}

html.dark-mode .card,
.dark-mode .service-card,
.dark-mode .why-card,
.dark-mode .work-card,
.dark-mode .faq-item,
.dark-mode .feature-dashboard,
.dark-mode .dashboard-metric,
.dark-mode .chart-box,
.dark-mode .keyword-box,
html.dark-mode .contact-form,
html.dark-mode .service-map-card{
  background:var(--dark-surface)!important;
  border-color:var(--dark-line)!important;
  color:var(--dark-text)!important;
}
html.dark-mode .work-card,
.dark-mode .work-card{
  background:linear-gradient(145deg,#1a2930,#151f26)!important;
}
html.dark-mode .work-card .tag{color:#d9e2e4!important}
html.dark-mode .card:hover,
html.dark-mode .service-map-card:hover,
.dark-mode .service-card:hover,
.dark-mode .work-card:hover{
  border-color:rgba(22,200,167,.40)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.24)!important;
}
html.dark-mode .field input,
html.dark-mode .field textarea,
html.dark-mode .field select{
  background:var(--dark-surface)!important;
  color:var(--dark-text)!important;
  border-color:var(--dark-line)!important;
}
html.dark-mode .field label{color:var(--dark-muted)!important}

html.dark-mode .service-tags span,
html.dark-mode .keyword-row span,
html.dark-mode .tool-item,
.dark-mode .service-tags span,
.dark-mode .keyword-row span,
.dark-mode .tool-item{
  background:var(--dark-surface-2)!important;
  border-color:var(--dark-line)!important;
  color:#d9e2e4!important;
}
html.dark-mode .service-group{
  background:rgba(27,42,48,.72)!important;
}

html.dark-mode .services-mega,
.dark-mode .services-mega,
.dark-mode .dc-mega{
  background:var(--dark-surface)!important;
  color:var(--dark-text)!important;
  border-color:var(--dark-line)!important;
}
html.dark-mode .services-mega-list,
.dark-mode .dc-mega-left{background:var(--dark-surface)!important}
html.dark-mode .services-mega-item,
.dark-mode .dc-mega-item{
  background:var(--dark-surface)!important;
  color:#d9e2e4!important;
  border-color:var(--dark-line)!important;
}
html.dark-mode .services-mega-item:hover,
html.dark-mode .services-mega-item.active,
.dark-mode .dc-mega-item:hover,
.dark-mode .dc-mega-item.active{
  background:#1d3439!important;
  color:var(--dark-accent)!important;
}
html.dark-mode .services-mega-feature,
.dark-mode .dc-mega-right{
  background:#101a20!important;
  border-color:var(--dark-line)!important;
}
html.dark-mode .services-mega-title,
.dark-mode .dc-mega-title,
.dark-mode .dc-mega-info h3{color:var(--dark-text)!important}
html.dark-mode .services-mega-desc,
html.dark-mode .services-mega-kicker,
html.dark-mode .services-mega-label,
.dark-mode .dc-mega-copy,
.dark-mode .dc-mega-info p,
.dark-mode .dc-mega-kicker,
.dark-mode .dc-mega-label{color:var(--dark-muted)!important}
html.dark-mode .services-mega-cta,
.dark-mode .dc-mega-cta{background:var(--dark-accent)!important;color:#fff!important}
html.dark-mode .services-mega-cta:hover,
.dark-mode .dc-mega-cta:hover{background:#11a98d!important}

html.dark-mode .site-background,
html.dark-mode .site-background{
  background:radial-gradient(circle at 82% 12%,rgba(22,200,167,.08),transparent 28%),radial-gradient(circle at 8% 75%,rgba(22,136,118,.10),transparent 30%),var(--dark-bg)!important;
}
html.dark-mode .grid-background,
.dark-mode .grid-background{
  background-image:linear-gradient(rgba(229,237,240,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(229,237,240,.035) 1px,transparent 1px)!important;
}
html.dark-mode .background-glow,
html.dark-mode .cta-glow,
.dark-mode .background-glow,
.dark-mode .cta-glow{
  background:var(--dark-accent)!important;
}
html.dark-mode .footer,
.dark-mode .footer{background:var(--dark-bg)!important;color:var(--dark-text)!important;border-top-color:var(--dark-line)!important}
html.dark-mode .footer a,
.dark-mode .footer-column a{color:#d9e2e4!important}
html.dark-mode .footer a:hover,
.dark-mode .footer-column a:hover,
.dark-mode .footer-contact:hover{color:var(--dark-accent)!important}
html.dark-mode .footer-bottom,
html.dark-mode .copyright{border-top-color:var(--dark-line)!important;color:var(--dark-muted)!important}

html.dark-mode .service-map-number,
html.dark-mode .step-no,
html.dark-mode .eyebrow,
html.dark-mode .ticks li:before,
html.dark-mode .logo span{color:var(--dark-accent)!important}
html.dark-mode .service-map-link{color:#c8d4d7!important}
html.dark-mode .service-map-link span{color:var(--dark-accent)!important}
html.dark-mode .theme-toggle{color:var(--dark-text)!important;border-color:var(--dark-line)!important}
html.dark-mode .theme-toggle:hover{border-color:rgba(22,200,167,.45)!important}

@media(max-width:850px){
  html.dark-mode .nav-links{background:var(--dark-bg)!important}
}


/* Card thumbnails — generated Eight Concepts visuals inside text cards (keeps 1665x768 ratio, never cropped/stretched) */
.card-thumb{display:block;width:100%;height:auto;aspect-ratio:1665/768;object-fit:contain;border-radius:14px;margin:-8px 0 14px}
.card .card-thumb~h3{margin-top:18px}
.service-card .card-thumb~.arrow{z-index:2}
