/*
 * DIROGEN homepage v6 REFRESH CANDIDATE (local only, not approved, not installed).
 * Approved v6 stylesheet without its desktop compression blocks + approved v7 motion layer + WordPress corrections
 * + refresh layer (labelled, at the end).
 */

/* Layout: full-width bands alternating navy and pale blue; inside each, a 320px heading column beside the content column (stacks on phones). */
:root{
  --navy:#061a35; --navy-2:#0a2a50; --navy-3:#0a2a50; --blue-hover:#2b78ff; --link-hover:#0f4fc4; --blue-text:#145fe6; --tile:#eaf2ff; --line-strong:#c6d6ee;
  --blue:#1769ff; --blue-deep:#1769ff; --cyan:#29d3f2;
  --ink:#0b1b3a; --muted:#52627d; --soft:#5e6d87;
  --pale:#f3f7fd; --pale-2:#e8f0fb; --line:#dde7f5; --white:#ffffff;
  --on-dark:#ffffff; --on-dark-muted:#b9c9df; --on-dark-line:rgba(110,170,255,.32);
  --display:"Plus Jakarta Sans",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --body:"Plus Jakarta Sans",Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
  --gutter:clamp(16px,4.2vw,60px);
  --radius:12px;
  color-scheme:light;
}
*{box-sizing:border-box}
body{background:var(--white);color:var(--ink);font-family:var(--body);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
h1,h2,h3,h4,p,ul,ol,figure,blockquote{margin:0}
ul,ol{padding:0;list-style:none}
a{color:var(--blue-deep);text-decoration:none}
a:hover{color:var(--blue)}
button{font-family:inherit}
:focus-visible{outline:2px solid var(--cyan);outline-offset:2px;border-radius:4px}
img{max-width:100%;display:block}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* bands */
.band{position:relative;overflow:hidden}
.band.dark{background:linear-gradient(180deg,var(--navy-2),#061a35);color:var(--on-dark)}
.band.light{background:linear-gradient(180deg,#f7faff,var(--pale))}
.wrap{max-width:1440px;margin:0 auto;padding-left:max(var(--gutter),env(safe-area-inset-left,0px));padding-right:max(var(--gutter),env(safe-area-inset-right,0px));padding-block:64px}
.split{display:grid;grid-template-columns:320px minmax(0,1fr);gap:28px 48px;align-items:start}
.eyebrow{font-size:12.5px;font-weight:700;letter-spacing:.18em;text-transform:uppercase;color:var(--blue-deep)}
.dark .eyebrow,.contact .eyebrow,.hero .eyebrow{color:var(--cyan)}
.h2{font-family:var(--display);font-size:clamp(26px,2.3vw,32px);line-height:1.18;font-weight:800;letter-spacing:-.02em;margin-top:10px;text-wrap:balance}
.lead{margin-top:14px;font-size:15.5px;color:var(--muted);max-width:34ch}
.dark .lead,.contact .lead{color:var(--on-dark-muted)}
.textlink{display:inline-flex;align-items:center;gap:8px;text-align:left;margin-top:20px;font-weight:700;font-size:15px;color:var(--blue-deep);background:none;border:0;padding:6px 0;cursor:pointer}
.dark .textlink{color:var(--cyan)}
.arrow{width:16px;height:16px;flex:none}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:52px;padding:0 26px;border-radius:8px;font-weight:700;font-size:15.5px;white-space:nowrap;cursor:pointer;border:0}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 10px 26px rgba(31,107,255,.35)}
.btn-primary:hover{background:#2f78ff;color:#fff}
.btn-ghost{background:rgba(3,20,43,.35);color:#fff;border:1.5px solid rgba(255,255,255,.6)}
.btn-ghost:hover{color:#fff;border-color:#fff}
.chipbtn{height:40px;padding:0 12px;border-radius:20px;border:1px solid #dde7f5;background:#fff;color:#26344f;font-size:13px;font-weight:600;white-space:nowrap;cursor:pointer}
.chipbtn[aria-selected="true"],.chipbtn.on{background:var(--blue);border-color:var(--blue);color:#fff}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 8px 22px rgba(31,80,160,.07)}
.icon-tile{width:40px;height:40px;border-radius:10px;background:#eaf2ff;color:var(--blue);display:grid;place-items:center;flex:none}
.icon-tile svg,.icon-line svg{width:21px;height:21px}
.icon-line{width:44px;height:44px;border-radius:10px;border:1px solid rgba(90,180,255,.6);color:#56c8ff;display:grid;place-items:center;flex:none}
svg.st{fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* scalable illustration boxes */
.fit{position:relative;width:100%;overflow:hidden}
.fit>.stage{position:absolute;left:0;top:0;transform-origin:0 0}

/* ===== header / hero ===== */
.hero{background:radial-gradient(560px 380px at 72% 46%,rgba(30,110,255,.45),transparent 70%),radial-gradient(460px 320px at 90% 18%,rgba(0,170,255,.25),transparent 70%),radial-gradient(700px 480px at 10% 110%,rgba(10,60,140,.4),transparent 70%),linear-gradient(180deg,#0a2a50,var(--navy) 62%,#061a35);color:#fff}
.nav{display:flex;align-items:center;gap:28px;padding-block:18px 8px}
.brand img{height:40px;width:auto}
.navlinks{display:flex;gap:30px;margin-left:56px;font-size:14.5px;font-weight:600}
.navlinks a{color:#d6e3f6}
.navlinks a:hover{color:#fff}
.nav-right{margin-left:auto;display:flex;align-items:center;gap:14px}
.iconbtn{width:44px;height:44px;border:0;background:transparent;color:#dfe8f7;display:grid;place-items:center;border-radius:8px;cursor:pointer}
.iconbtn svg{width:22px;height:22px}
.nav .btn{min-height:44px;padding:0 20px;font-size:14.5px}
.menu-toggle{display:none}
.mobile-menu{display:none}
.hero-body{display:grid;grid-template-columns:minmax(0,560px) minmax(0,1fr);gap:8px;align-items:center;padding-block:14px 44px}
.hero h1{font-family:var(--display);font-size:clamp(42px,5vw,72px);line-height:1;font-weight:800;letter-spacing:-.04em;margin-top:12px}
.hero h1 span{color:#29d3f2}
.hero .kicker{color:#29d3f2}
.tagline{margin-top:14px;font-size:clamp(18px,1.75vw,25px);font-weight:600;color:#29d3f2;word-spacing:.12em}
.tagline i{font-style:normal;color:#2a8fd8;margin:0 .35em}
.hero p.intro{margin-top:14px;font-size:16.5px;line-height:1.6;color:#d1ddef;max-width:50ch}
.cta-row{display:flex;flex-wrap:wrap;gap:16px;margin-top:26px}
.cta-row .btn{min-width:206px}

/* tech strip */
.tech .wrap{padding-block:18px;display:flex;flex-wrap:wrap;align-items:center;gap:10px 30px}
.tech .label{font-size:13.5px;font-weight:700;color:#26344f}
.tech ul{display:flex;flex-wrap:wrap;gap:10px 28px}
.tech li{font-size:15px;font-weight:700;color:#41506c;letter-spacing:.01em}
.tech .more{margin-left:auto;font-size:14px;font-weight:700}

/* services */
.svc-feature{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.feature{position:relative;display:flex;align-items:center;gap:20px;min-height:150px;padding:18px 20px;border-radius:var(--radius);background:linear-gradient(120deg,#0a2a50,#061a35);color:#fff;box-shadow:0 12px 28px rgba(6,26,56,.25);overflow:hidden}
.feature h3{font-family:var(--display);font-size:19px;line-height:1.25;font-weight:700}
.feature p{margin-top:8px;font-size:14px;color:var(--on-dark-muted)}
.feature .go{position:absolute;right:16px;bottom:16px;width:40px;height:40px;border-radius:50%;border:1.5px solid #4fd0ff;background:transparent;color:#4fd0ff;display:grid;place-items:center;cursor:pointer}
.feature .txt{padding-right:40px;min-width:0}
.art{flex:none;width:132px;height:110px;position:relative}
.svc-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-top:14px}
.svc{display:flex;flex-direction:column;gap:10px;padding:16px 14px 14px;min-height:178px;color:var(--ink)}
.svc h3{font-size:15px;line-height:1.3;font-weight:700}
.svc p{font-size:13.5px;line-height:1.5;color:var(--muted)}
.svc .mini{margin-top:auto;align-self:flex-end;width:26px;height:26px;border-radius:50%;background:#eaf2ff;color:var(--blue);display:grid;place-items:center}

/* SFA */
.sfa{display:grid;grid-template-columns:320px minmax(0,1fr) 260px;gap:28px 40px;align-items:center}
.sfa h2{color:#fff}
.sfa .lead{max-width:40ch}
.featlist{display:flex;flex-direction:column;gap:20px}
.featlist li{display:flex;align-items:center;gap:14px;font-size:15px;color:#e3ecfa;font-weight:500}

/* industries */
.tabs-row{display:flex;align-items:center;gap:8px}
.tabs{position:relative;display:flex;gap:4px;overflow-x:auto;scrollbar-width:none;flex:1;min-width:0}
.tabs::-webkit-scrollbar{display:none}
.tabs .chipbtn{padding:0 11px;font-size:12.5px}
.tab-arrows{display:flex;gap:6px;flex:none}
.tab-arrows button{width:38px;height:38px;border-radius:50%;border:1px solid #dde7f5;background:#fff;color:var(--blue);display:grid;place-items:center;cursor:pointer}
.tab-arrows svg{width:16px;height:16px}
.ind-panel{display:grid;grid-template-columns:minmax(0,1.25fr) repeat(3,minmax(0,1fr));gap:12px;margin-top:14px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 10px 26px rgba(31,80,160,.08)}
.ind-img{position:relative;min-height:236px;border-radius:10px;overflow:hidden;background:radial-gradient(240px 160px at 70% 30%,rgba(60,150,255,.35),transparent 70%),linear-gradient(160deg,#0f3266,#0a1f3e 60%,#06152c);color:#fff}
.ind-img svg.scene{position:absolute;inset:0;width:100%;height:100%}
.asset-pending{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center;font-size:14px;font-weight:700;color:#d4e3f7;padding:14px 18px;border:1.5px dashed rgba(120,180,255,.6);border-radius:10px;background:rgba(6,30,64,.5);width:max-content;max-width:86%}
.asset-pending svg{width:26px;height:26px;color:#6fc8ff}
.asset-pending small{font-weight:500;font-size:12.5px;color:#a9bcd6}
.ind-col{padding:16px 16px 18px;border-radius:10px;background:#f6f9fe;border:1px solid #e6eef9;display:flex;flex-direction:column}
.ind-col h3{font-size:16px;font-weight:700}
.bullets{margin-top:12px;display:flex;flex-direction:column;gap:9px;font-size:14px;color:var(--muted)}
.bullets li{display:flex;gap:9px}
.bullets li::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--blue);margin-top:8px;flex:none}
.bullets a{color:var(--blue-deep);font-weight:600}
.ind-img{grid-row:span 2}
.ind-foot{grid-column:2/-1;display:flex;align-items:center;padding:2px 4px 0}
.ind-foot .textlink{margin-top:0}
.tbc{color:var(--soft);font-style:italic}

/* how we work */
.how{display:grid;grid-template-columns:290px minmax(0,1fr) 300px;gap:28px 32px;align-items:center}
.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr))}
.step .dot-row{display:flex;align-items:center}
.num{width:50px;height:50px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#6be7ff,#12b5ef 70%);color:#04213f;font-weight:800;font-size:15px;display:grid;place-items:center;flex:none;box-shadow:0 0 0 5px rgba(34,185,238,.16),0 0 22px rgba(30,200,255,.55)}
.conn{flex:1;height:2px;margin:0 6px 0 10px;position:relative;background:linear-gradient(90deg,rgba(34,185,238,.35),#22b9ee)}
.conn::after{content:"";position:absolute;right:-1px;top:-4px;border-left:9px solid #22b9ee;border-top:5px solid transparent;border-bottom:5px solid transparent}
.step h3{margin-top:18px;font-size:16px;font-weight:700}
.step p{margin-top:8px;font-size:14px;line-height:1.5;color:var(--on-dark-muted);padding-right:14px}
.ways{border-radius:14px;border:1px solid rgba(110,170,255,.38);background:linear-gradient(180deg,rgba(14,48,98,.7),rgba(8,32,68,.7));padding:16px;box-shadow:0 14px 34px rgba(0,8,30,.35)}
.ways h3{font-size:15.5px;font-weight:700}
.ways ul{margin-top:12px;display:flex;flex-direction:column;gap:9px}
.ways li{display:flex;align-items:center;gap:13px;padding:10px 12px;border-radius:10px;border:1px solid rgba(90,165,255,.3);background:rgba(4,24,54,.65)}
.ways .icon-line{width:40px;height:40px}
.ways b{display:block;font-size:14.5px}
.ways span{display:block;font-size:13px;color:#a9bcd6;margin-top:2px}

/* work */
.filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none}
.filters::-webkit-scrollbar{display:none}
.work-grid{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr);gap:14px;margin-top:14px}
.proj{overflow:hidden;display:grid;grid-template-columns:var(--tw,44%) minmax(0,1fr)}
.proj[hidden]{display:none}
.proj .thumb{position:relative;min-height:212px;overflow:hidden}
.thumb.light{background:linear-gradient(180deg,#f1f5fa,#dfe7f2)}
.thumb.dark{background:radial-gradient(120px 140px at 50% 40%,rgba(60,150,255,.45),transparent 70%),linear-gradient(170deg,#0d2c5c,#061a35)}
.thumb .dev{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%)}
.thumb.light .dev{transform:translate(-50%,-50%) scale(1.04)}
.proj .body{padding:16px 16px 16px 18px;display:flex;flex-direction:column;min-width:0}
.badge{align-self:flex-start;white-space:nowrap;font-size:11.5px;font-weight:700;color:var(--blue-deep);background:#e6efff;border-radius:999px;padding:4px 10px}
.proj h3{margin-top:10px;font-size:16.5px;font-weight:700;line-height:1.3}
.proj p{margin-top:7px;font-size:13.5px;line-height:1.5;color:var(--muted)}
.proj .meta{margin-top:auto;padding-top:14px;display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.proj .tag{white-space:nowrap}
.tag{font-size:12px;font-weight:600;color:#26344f;background:#eef3fa;border-radius:999px;padding:5px 10px}
.proj .more{margin-top:10px;align-self:flex-end;padding:4px 0;white-space:nowrap;font-size:14.5px}
.empty{margin-top:16px;padding:28px;text-align:center;color:var(--muted);border:1.5px dashed #c5d4ec;border-radius:var(--radius)}

/* testimonials */
.quotes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.quote{margin:0;padding:18px 20px 20px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:8px;row-gap:10px;align-content:start}
.ph-tag{grid-column:1/-1;justify-self:center;font-size:11px;font-weight:800;letter-spacing:.06em;color:#4a5770;background:#eef1f6;border-radius:6px;padding:6px 10px;text-align:center}
.qmark{grid-row:2/4;font-family:Georgia,"Times New Roman",serif;font-size:58px;line-height:.9;font-weight:700;color:var(--blue)}
.quote blockquote{font-size:15.5px;font-weight:800;letter-spacing:.02em;color:#1a2a48;text-transform:uppercase;align-self:end}
.quote p{font-size:13.5px;color:var(--soft);line-height:1.5}
.quote figcaption{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px 8px;font-size:11.5px;font-weight:700;color:#4a5770;letter-spacing:.02em;padding-top:6px;border-top:1px solid #eef2f8}
.quote figcaption i{font-style:normal;color:#c1cbdb}

/* why */
.why-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
.why-item{display:flex;gap:14px}
.why-item .ring{width:46px;height:46px;border-radius:50%;border:1.5px solid #2f9bff;color:#56c8ff;display:grid;place-items:center;flex:none}
.why-item .ring svg{width:21px;height:21px}
.why-item h3{font-size:15.5px;font-weight:700;line-height:1.3}
.why-item p{margin-top:6px;font-size:14px;color:var(--on-dark-muted)}

/* delivery */
.del-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;align-items:stretch}
.del{padding:18px;display:flex;gap:14px}
.del h3{font-size:15px;font-weight:700;color:var(--ink)}
.del p{margin-top:6px;font-size:14px}

/* insights */
.art-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.article{overflow:hidden;display:flex;flex-direction:column}
.article .cover{position:relative;height:140px;padding:16px;color:#fff;display:flex;flex-direction:column;justify-content:flex-end;gap:10px}
.article .cover svg{position:absolute;inset:0;width:100%;height:100%}
.article .cover>*{position:relative}
.article .topic{align-self:flex-start;font-size:12px;font-weight:700;background:var(--blue);border-radius:6px;padding:4px 10px}
.article h3{font-size:17px;line-height:1.3;font-weight:700}
.article .foot{padding:12px 16px}

/* faq */
.faq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:start}
.qa{border-radius:10px;border:1px solid var(--line);background:#fff}
.qa button{width:100%;min-height:56px;display:flex;align-items:center;gap:12px;padding:12px 16px;border:0;background:transparent;font-size:15px;font-weight:600;color:var(--ink);text-align:left;cursor:pointer}
.qa button .pm{color:var(--blue);font-size:20px;line-height:1;width:16px;flex:none;text-align:center}
.qa .ans{padding:0 16px 16px 44px;font-size:14.5px;color:var(--muted)}

/* contact */
.contact{background:radial-gradient(560px 340px at 80% 18%,rgba(30,90,180,.28),transparent 70%),radial-gradient(400px 260px at 8% 100%,rgba(30,90,200,.18),transparent 70%),linear-gradient(180deg,#0a2a50,#061a35 60%,#061a35);color:#fff}
.contact-grid{display:grid;grid-template-columns:380px minmax(0,1fr) 310px;gap:32px 36px;align-items:start}
.contact h2{color:#fff;font-size:clamp(28px,2.3vw,33px);text-wrap:wrap}
.form{border-radius:14px;border:1px solid rgba(80,150,240,.38);background:rgba(6,36,74,.62);padding:22px 24px 24px;display:grid;gap:14px;box-shadow:0 16px 40px rgba(0,8,30,.35)}
.field{display:flex;flex-direction:column;gap:7px;font-size:13.5px;font-weight:700;color:#e3ecf8}
.field input,.field select,.field textarea{font:inherit;font-weight:500;font-size:15px;color:#fff;background:rgba(8,44,88,.72);border:1px solid rgba(90,155,240,.45);border-radius:8px;padding:0 14px;height:46px;width:100%}
.field select{color:#c3d1e6}
.field textarea{height:104px;padding:12px 14px;resize:vertical}
.field input::placeholder,.field textarea::placeholder{color:#8ea5c8}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--cyan);outline-offset:1px}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:13.5px;color:#c9d6e8;line-height:1.5}
.consent input{width:18px;height:18px;margin:2px 0 0;flex:none}
.consent a{color:#5fd2ff;text-decoration:underline}
.form .btn{width:100%}
.form-note{font-size:13.5px;color:#9fe0ff;background:rgba(31,107,255,.18);border:1px solid rgba(90,170,255,.45);border-radius:8px;padding:10px 12px}
.next{border-radius:14px;border:1px solid rgba(80,150,240,.38);background:rgba(6,30,64,.45);padding:22px}
.next h3{font-size:18px;font-weight:700}
.next ol{margin-top:20px;display:flex;flex-direction:column;gap:20px}
.next li{display:flex;gap:14px}
.next .n{width:36px;height:36px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#58e4ff,#16b6ee);color:#04213f;font-weight:800;display:grid;place-items:center;flex:none;box-shadow:0 0 14px rgba(30,200,255,.4)}
.next b{display:block;font-size:15px}
.next span{display:block;font-size:14px;color:#a9bad2;margin-top:3px}
.next .small{margin-top:20px;padding-top:16px;border-top:1px solid rgba(110,170,255,.2);font-size:13px;color:#8ea2bf}
.contact .btn-ghost{margin-top:26px;min-width:240px}

/* footer */
.footer{background:#061a35;color:#fff}
.footer .wrap{padding-block:48px 28px}
.foot-grid{display:grid;grid-template-columns:1.3fr 1.6fr 1.1fr .9fr 1.1fr;gap:28px;padding-top:36px;border-top:1px solid rgba(90,155,240,.22)}
.footer h4{font-size:15px;font-weight:700}
.footer ul{margin-top:12px;display:flex;flex-direction:column;gap:8px;font-size:14px;color:#a9bbd6}
.footer ul a{color:#a9bbd6}
.footer ul a:hover{color:#fff}
.footer .tag-line{margin-top:14px;font-weight:700;color:#3fb4ff}
.footer .blurb{margin-top:8px;font-size:14px;color:#a9bbd6;max-width:32ch}
.socials{display:flex;gap:10px;margin-top:16px}
.socials button{width:42px;height:42px;border-radius:10px;border:1px solid rgba(90,155,240,.35);background:transparent;color:#cfe0f6;display:grid;place-items:center;cursor:pointer}
.socials svg{width:18px;height:18px}
.foot-bottom{margin-top:40px;padding-top:20px;border-top:1px solid rgba(90,155,240,.18);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;font-size:13px;color:#8ea2bf}
.foot-bottom nav{display:flex;flex-wrap:wrap;align-items:center;gap:22px}
.foot-bottom button{background:none;border:0;color:#a9bbd6;font-size:13px;cursor:pointer;padding:6px 0}
.totop{display:inline-flex;align-items:center;gap:10px;color:#fff;font-weight:700}
.totop span{width:40px;height:40px;border-radius:50%;background:var(--blue);display:grid;place-items:center}

/* toast */
.toast{position:fixed;left:50%;bottom:calc(20px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);z-index:50;max-width:min(520px,calc(100vw - 32px));background:#0b1b3a;color:#fff;border:1px solid rgba(110,170,255,.4);border-radius:10px;padding:12px 16px;font-size:14px;box-shadow:0 14px 30px rgba(0,0,0,.3)}

/* ===== responsive ===== */
@media (max-width:1180px){
  .navlinks{gap:20px;margin-left:28px}
  .sfa{grid-template-columns:300px minmax(0,1fr)}
  .sfa .featlist{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
  .sfa .featlist li{flex:1 1 220px}
  .how{grid-template-columns:300px minmax(0,1fr)}
  .how .ways{grid-column:1/-1}
  .contact-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
  .contact-grid .next{grid-column:1/-1}
  .work-grid{grid-template-columns:1fr}
  .proj{--tw:300px!important}
  .ind-panel{grid-template-columns:repeat(3,minmax(0,1fr))}
  .ind-img{grid-column:1/-1}
  .svc-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .why-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:980px){
  .navlinks,.nav .search,.nav .btn{display:none}
  .menu-toggle{display:grid}
  .mobile-menu:not([hidden]){display:flex;flex-direction:column;gap:4px;padding:8px 0 16px}
  .mobile-menu a{color:#e3ecfa;font-weight:600;padding:12px 4px;border-bottom:1px solid rgba(110,170,255,.18)}
  .mobile-menu .btn{margin-top:12px;color:#fff;border:0}
  .hero-body{grid-template-columns:1fr;padding-block:16px 40px}
  .split,.sfa,.how,.contact-grid{grid-template-columns:1fr}
  .lead{max-width:60ch}
  .quotes,.art-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .del-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .foot-grid>div:first-child{grid-column:1/-1}
}
@media (max-width:640px){
  body{font-size:15px}
  .wrap{padding-block:44px}
  .brand img{height:32px}
  .hero .chips,.hero .cn{display:none}
  .proj .thumb .dev{transform:translate(-50%,-50%) scale(1.3)}
  .cta-row .btn{width:100%}
  .tech .more{margin-left:0}
  .tech ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px 16px;width:100%}
  .svc-feature{grid-template-columns:1fr}
  .feature{min-height:0}
  .art{width:132px;height:100px}
  .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .svc{min-height:0}
  .sfa .featlist{flex-direction:column;gap:10px}
  .sfa .featlist li{flex:none;padding:10px 12px;border:1px solid rgba(90,165,255,.3);border-radius:10px;background:rgba(6,30,64,.5)}
  .sfa .featlist .icon-line{width:38px;height:38px}
  .feature{flex-direction:column;align-items:flex-start;gap:12px;padding:18px 18px 22px}
  .feature .txt{padding-right:48px}
  .ind-panel{grid-template-columns:1fr;padding:10px}
  .ind-img{grid-row:auto}
  .ind-foot{grid-column:1/-1;padding:4px 6px 6px}
  .ind-img{min-height:220px}
  .tab-arrows{display:none}
  .proj{grid-template-columns:1fr}
  .proj .thumb{min-height:200px}
  .quote{padding:16px 16px 18px}
  .next{padding:18px}
  .hero-body{padding-block:8px 36px}
  .tagline i{margin:0 .2em}
  .steps{grid-template-columns:1fr;gap:0}
  .step{display:grid;grid-template-columns:48px minmax(0,1fr);column-gap:16px;padding-bottom:22px;position:relative}
  .step .dot-row{grid-row:1/3}
  .step .conn{display:none}
  .step:not(:last-child)::before{content:"";position:absolute;left:23px;top:52px;bottom:4px;width:2px;background:#22b9ee;opacity:.6}
  .step h3{margin-top:10px}
  .quotes,.art-grid,.del-grid,.faq-list{grid-template-columns:1fr}
  .why-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .why-item{flex-direction:column;gap:10px}
  .form{padding:18px}
  .form .row2{grid-template-columns:1fr}
  .contact .btn-ghost{width:100%}
  .foot-grid{grid-template-columns:1fr}
  .foot-grid>div:first-child{grid-column:auto}
}
@media (prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
html{scroll-behavior:smooth}

/* ===== v4: reference-match layer ===== */
:root{--gutter:clamp(16px,6.1vw,88px)}
.desk-only{}
.mob-only{display:none!important}
.asset-slot{position:relative;width:100%;height:100%;min-height:40px;display:grid;place-items:center;text-align:center;border-radius:8px;border:1.5px dashed #a9bddd;background:repeating-linear-gradient(135deg,#eef3fa 0 10px,#e7eef8 10px 20px);color:#46597a;overflow:hidden}
.asset-slot.dark{border-color:rgba(120,180,255,.55);background:repeating-linear-gradient(135deg,rgba(255,255,255,.045) 0 10px,rgba(255,255,255,.015) 10px 20px),rgba(6,30,64,.55);color:#cfe0f6}
.asset-in{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px;max-width:100%}
.asset-in svg{width:20px;height:20px;color:#6f8fc0;flex:none}
.asset-slot.dark .asset-in svg{color:#6fc8ff}
.asset-in b{font-size:11.5px;font-weight:700;line-height:1.25}
.asset-in small{font-size:10px;line-height:1.3;opacity:.85}
.hchip{position:absolute;height:35px;border-radius:8px;display:flex;align-items:center;gap:8px;padding:0 10px;color:#e6f0ff;font-size:12px;font-weight:600;white-space:nowrap;background:linear-gradient(135deg,rgba(20,64,120,.9),rgba(6,28,58,.85));border:1px solid rgba(80,180,255,.65);box-shadow:0 0 18px rgba(30,140,255,.28),inset 0 0 10px rgba(60,160,255,.12)}
.hchip svg{width:16px;height:16px;color:#4fc8ff;flex:none}
.navlinks a .dd{display:inline-block;margin-left:5px;font-size:.8em;opacity:.8}
.why-item .ring{position:relative}
.why-item .ring .hex{display:none}
.qa .qi,.qa .chev{display:none}
.qa .pm2{margin-left:auto;color:var(--blue);font-size:16px;line-height:1;flex:none}
.qa .qt{flex:1}
.contact-ctas{display:flex;flex-direction:column;align-items:flex-start;gap:14px;margin-top:22px}
.contact .contact-ctas .btn-ghost{margin-top:0}
.sfa-visual,.how-visual{width:100%}
.sfa-visual{height:200px}
.band.lowpoly,.lowpoly{background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%20560%20160%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-opacity%3D%22.7%22%20stroke-width%3D%221%22%3E%3Cpath%20d%3D%22M0%20160L0%2096L70%2058L128%20112Z%22%20fill%3D%22%23dfe9f7%22/%3E%3Cpath%20d%3D%22M70%2058L150%2034L128%20112Z%22%20fill%3D%22%23e8f0fa%22/%3E%3Cpath%20d%3D%22M128%20112L150%2034L236%2082Z%22%20fill%3D%22%23d6e3f5%22/%3E%3Cpath%20d%3D%22M128%20112L236%2082L210%20160L60%20160Z%22%20fill%3D%22%23e3ecf8%22/%3E%3Cpath%20d%3D%22M236%2082L300%2046L352%20104Z%22%20fill%3D%22%23e6eefa%22/%3E%3Cpath%20d%3D%22M236%2082L352%20104L330%20160L210%20160Z%22%20fill%3D%22%23dae6f6%22/%3E%3Cpath%20d%3D%22M352%20104L420%2070L470%20128Z%22%20fill%3D%22%23e9f0fa%22/%3E%3Cpath%20d%3D%22M352%20104L470%20128L460%20160L330%20160Z%22%20fill%3D%22%23e0eaf7%22/%3E%3Cpath%20d%3D%22M470%20128L520%20104L560%20140L560%20160L460%20160Z%22%20fill%3D%22%23ebf1fa%22/%3E%3Cpath%20d%3D%22M0%20160L60%20160L0%20130Z%22%20fill%3D%22%23d8e4f5%22/%3E%3C/g%3E%3C/svg%3E"),var(--lp-bg,none);background-repeat:no-repeat;background-position:left bottom;background-size:560px 160px}



@media (max-width:640px){
  .mob-only{display:block!important}
  span.mob-only{display:inline!important}
  .desk-only{display:none!important}
  .hero .hero-stage{display:none}
  .hero-mvisual{aspect-ratio:1.55/1;margin-top:26px}
  .sfa-visual{height:auto;aspect-ratio:1/1}
  .art{width:100%;height:110px}
  .ind-img{min-height:0;aspect-ratio:1.7/1}
  .proj .thumb{min-height:0;aspect-ratio:16/10;padding:0}
  .proj .thumb .asset-slot{border-radius:0;border-width:0 0 1.5px 0}
  /* How We Work: dark heading + image, light timeline (mobile reference) */
  #how-we-work{background:var(--pale)!important;color:var(--ink)}
  #how-we-work .wrap{padding-top:0}
  #how-we-work .how>div:first-child{background:radial-gradient(320px 220px at 10% 100%,rgba(40,130,255,.3),transparent 70%),linear-gradient(180deg,var(--navy-2),#061a35);color:#fff;margin-inline:calc(-1 * max(var(--gutter),env(safe-area-inset-left,0px)));padding:40px max(var(--gutter),env(safe-area-inset-left,0px)) 24px}
  .how-visual{aspect-ratio:1.25/1;margin-top:18px}
  .steps{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px 16px 4px}
  .num{background:var(--blue);color:#fff;box-shadow:0 0 0 4px rgba(31,107,255,.14)}
  .step:not(:last-child)::before{background:var(--blue);opacity:.5}
  .step h3{color:var(--ink)}
  .step p{color:var(--muted)}
  .ways{background:#fff;border-color:var(--line);box-shadow:0 8px 22px rgba(31,80,160,.07);color:var(--ink)}
  .ways li{background:#f6f9fe;border-color:#e3ebf7}
  .ways .icon-line{border-color:#bcd2f3;color:var(--blue)}
  .ways span{color:var(--muted)}
  /* Client stories on dark (mobile reference) */
  #client-stories{background:radial-gradient(300px 260px at 50% 30%,rgba(40,130,255,.35),transparent 70%),linear-gradient(180deg,var(--navy-2),#061a35)!important}
  #client-stories .eyebrow{color:var(--cyan)}
  #client-stories .h2{color:#fff}
  #client-stories .lead{color:var(--on-dark-muted)}
  /* Why DIROGEN: single-column card list with hex icons */
  #about .split{border:1px solid rgba(110,170,255,.35);border-radius:16px;background:rgba(10,40,84,.5);padding:22px 18px}
  .why-grid{grid-template-columns:1fr!important;gap:20px}
  .why-item{flex-direction:row!important;gap:14px;align-items:flex-start}
  .why-item .ring{border:0;width:48px;height:48px}
  .why-item .ring .hex{display:block;position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:#2fb6ff;stroke-width:1.8}
  /* FAQ rows: icon left, chevron right */
  .qa button .pm,.qa .pm2{display:none}
  .qa .qi{display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e6efff;color:var(--blue);flex:none}
  .qa .qi svg{width:15px;height:15px}
  .qa .chev{display:block;width:18px;height:18px;color:var(--blue);flex:none;transition:transform .2s}
  .qa .chev svg{width:18px;height:18px}
  .qa.open .chev{transform:rotate(90deg)}
  .qa .ans{padding-left:56px}
  /* Footer */
  .footer .brand img{height:42px!important}
  .footer ul li{display:flex;gap:8px}
  .footer ul li::before{content:"";width:4px;height:4px;border-radius:50%;background:#7fa6dc;margin-top:9px;flex:none}
  .contact-ctas{align-items:stretch}
}





/* v5 recovered imagery */
img.rec{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
img.rec.feather{-webkit-mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent);-webkit-mask-composite:source-in;mask-image:linear-gradient(90deg,transparent,#000 7%,#000 93%,transparent),linear-gradient(180deg,transparent,#000 6%,#000 94%,transparent);mask-composite:intersect}
img.rec.feather-x{-webkit-mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent)}
.ind-img img.rec{position:absolute;inset:0}
.art img.rec{border-radius:6px}
.proj .thumb img.rec{border-radius:6px}
.sfa-visual img.rec{border-radius:0}

@media (max-width:640px){
  .art{height:auto;aspect-ratio:1.4/1;max-width:160px}
  .feature:nth-child(2) .art{max-width:200px}
  .hero-mvisual{aspect-ratio:1.63/1}
  .sfa-visual{aspect-ratio:1.6/1}
  .ind-img{aspect-ratio:2/1}
  .proj:first-child .thumb{aspect-ratio:1.86/1;padding:10px 24px}
  .proj:not(:first-child){grid-template-columns:72px minmax(0,1fr)}
  .proj:not(:first-child) .thumb{aspect-ratio:auto;min-height:150px;padding:8px 0 8px 8px}
  .proj .thumb .asset-slot{border-width:1.5px}
}





/* v5b: keep recovered crops at natural shape (no stretch upscaling) */
.proj .thumb{display:flex;align-items:center;justify-content:center}
.proj .thumb img.rec{object-fit:contain;width:100%;height:auto;max-height:100%}
.proj:first-child .thumb{background:#f3f6fb}
.proj:not(:first-child) .thumb{background:#061a35}

@media (max-width:640px){
  .art{max-width:96px!important;aspect-ratio:auto;height:auto}
  .art img.rec{height:auto}
  .feature:nth-child(2) .art{max-width:120px!important}
  .proj:not(:first-child) .thumb{padding:0}
}

/* ===== v6: Premium Enterprise Blue — standardised tokens ===== */
/* dark bands: one navy system */
.hero{background:radial-gradient(520px 300px at 66% 46%,rgba(23,105,255,.30),transparent 70%),radial-gradient(420px 260px at 88% 20%,rgba(41,211,242,.10),transparent 70%),linear-gradient(180deg,var(--navy-2) 0%,var(--navy) 70%)}
.band.dark,#how-we-work,#about{background:radial-gradient(420px 240px at 50% 0%,rgba(23,105,255,.16),transparent 70%),linear-gradient(180deg,var(--navy-2),var(--navy))!important}
.contact{background:radial-gradient(520px 300px at 80% 18%,rgba(23,105,255,.18),transparent 70%),linear-gradient(180deg,var(--navy-2),var(--navy))}
.footer{background:var(--navy);border-top:1px solid rgba(41,211,242,.12)}
/* light bands */
#services,#client-stories{--lp-bg:linear-gradient(180deg,#f8fbff,var(--pale))!important}
#industries,#work,#delivery,#faq{background:var(--pale)}
#insights{background:#fff}
.tech{background:#fff;border-bottom-color:var(--line)!important}
/* text */
.eyebrow{color:var(--blue)}
.dark .eyebrow,.contact .eyebrow,.hero .eyebrow,#how-we-work .eyebrow,#about .eyebrow{color:var(--cyan)}
.hero h1 span,.tagline{color:var(--cyan)}
.tagline i{color:rgba(41,211,242,.55)}
.lead{color:var(--muted)}
/* links */
a,.textlink{color:var(--blue)}
a:hover,.textlink:hover{color:var(--link-hover)}
.dark .textlink,.contact .textlink{color:var(--cyan)}
.consent a{color:var(--cyan)}
/* buttons: one primary, one secondary */
.btn{border-radius:8px;transition:background-color .15s,border-color .15s,box-shadow .15s}
.btn-primary{background:var(--blue);color:#fff;box-shadow:0 6px 18px rgba(23,105,255,.28)}
.btn-primary:hover{background:var(--blue-hover);color:#fff;box-shadow:0 8px 22px rgba(23,105,255,.36)}
.btn-ghost{background:transparent;border:1.5px solid rgba(255,255,255,.55);color:#fff}
.btn-ghost:hover{border-color:var(--cyan);color:#fff;background:rgba(41,211,242,.06)}
/* tabs / filters */
.chipbtn{border-color:var(--line);color:var(--ink);background:#fff;transition:border-color .15s,background-color .15s}
.chipbtn:hover{border-color:var(--line-strong)}
.chipbtn[aria-selected="true"],.chipbtn.on{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(23,105,255,.22)}
.tab-arrows button{border-color:var(--line);color:var(--blue)}
.tab-arrows button:hover{border-color:var(--blue)}
/* cards */
.card,.ind-col,.qa,.del,.quote,.article,.proj,.svc{border-color:var(--line)}
.card{box-shadow:0 4px 14px rgba(11,27,58,.05)}
.svc,.proj,.article{transition:border-color .15s,box-shadow .15s}
.svc:hover,.proj:hover,.article:hover{border-color:var(--line-strong);box-shadow:0 8px 20px rgba(11,27,58,.08)}
.ind-col{background:#fff}
/* icon treatments */
.icon-tile{background:var(--tile);color:var(--blue)}
.svc .mini{background:var(--tile);color:var(--blue)}
.badge{background:var(--tile);color:var(--blue)}
.tag{background:var(--pale);color:var(--ink);border:1px solid var(--line)}
.bullets li::before{background:var(--blue)}
.icon-line,.featlist .icon-line,.ways .icon-line{border-color:rgba(41,211,242,.45);color:var(--cyan)}
.feature .go{border-color:rgba(41,211,242,.7);color:var(--cyan)}
.feature{background:linear-gradient(120deg,var(--navy-2),var(--navy));box-shadow:0 8px 22px rgba(6,26,53,.22)}
.num,.next .n{background:var(--cyan);color:var(--navy);box-shadow:0 0 0 4px rgba(41,211,242,.14)}
.conn{background:linear-gradient(90deg,rgba(41,211,242,.3),var(--cyan))}
.conn::after{border-left-color:var(--cyan)}
.why-item .ring{border-color:rgba(41,211,242,.5);color:var(--cyan)}
.qmark{color:var(--blue)}
.qa button .pm,.qa .pm2,.qa .chev{color:var(--blue)}
.qa .qi{background:var(--tile);color:var(--blue)}
.hchip{background:linear-gradient(135deg,rgba(10,42,80,.92),rgba(6,26,53,.9));border-color:rgba(41,211,242,.45);box-shadow:0 0 14px rgba(23,105,255,.22)}
.hchip svg{color:var(--cyan)}
/* dark-surface panels */
.ways,.form,.next{background:rgba(10,42,80,.55);border-color:rgba(110,170,255,.28);box-shadow:none}
.ways li{background:rgba(6,26,53,.6);border-color:rgba(110,170,255,.22)}
.field input,.field select,.field textarea{background:rgba(6,26,53,.75);border-color:rgba(110,170,255,.35)}
.field input:focus,.field select:focus,.field textarea:focus{outline:2px solid var(--cyan);outline-offset:1px;border-color:transparent}
/* footer */
.footer .tag-line{color:var(--cyan)}
.totop span{background:var(--blue)}
.socials button{color:#cfe0f6}
.socials button:hover{color:var(--cyan)}


@media (max-width:640px){
  #how-we-work{background:var(--pale)!important}
  #how-we-work .how>div:first-child{background:radial-gradient(320px 200px at 50% 0%,rgba(23,105,255,.18),transparent 70%),linear-gradient(180deg,var(--navy-2),var(--navy))}
  .ways,.steps{background:#fff;border-color:var(--line)}
  .ways li{background:var(--pale);border-color:var(--line)}
  .ways .icon-line{border-color:var(--line-strong);color:var(--blue)}
  .num{background:var(--blue);color:#fff;box-shadow:0 0 0 4px rgba(23,105,255,.14)}
  #client-stories{background:radial-gradient(300px 240px at 50% 20%,rgba(23,105,255,.22),transparent 70%),linear-gradient(180deg,var(--navy-2),var(--navy))!important}
  #about .split{background:rgba(10,42,80,.5);border-color:rgba(110,170,255,.28)}
  .why-item .ring .hex{stroke:var(--cyan)}
}



/* v6b: text-safe electric blue for small text on light surfaces (WCAG AA) */
a,.textlink,.eyebrow,.badge,.ind-rel a:hover,.empty{color:var(--blue-text)}
.dark .textlink,.contact .textlink,.dark .eyebrow,.contact .eyebrow,.hero .eyebrow,#how-we-work .eyebrow,#about .eyebrow,.footer a,.foot-bottom a,.consent a{color:inherit}
.dark .textlink,.contact .textlink,.consent a{color:var(--cyan)}
.dark .eyebrow,.contact .eyebrow,.hero .eyebrow,#how-we-work .eyebrow,#about .eyebrow{color:var(--cyan)}
.footer ul a{color:#a9bbd6}.footer ul a:hover{color:#fff}
.btn-primary,.btn-primary:hover,.chipbtn.on,.chipbtn[aria-selected="true"]{color:#fff}
.totop{color:#fff}
.ind-rel a{color:var(--muted)}
@media (max-width:640px){#client-stories .eyebrow{color:var(--cyan)}}

@media (min-width:641px){
  #client-stories{background-color:var(--pale)!important}
  #client-stories .h2{color:var(--ink)}
  #client-stories .lead{color:var(--muted)}
  #client-stories .eyebrow{color:var(--blue-text)}
}


/* ---- v7 motion and accessibility layer (approved, D9) ---- */

/* Everything below only applies once the script adds .dg-motion to <html>, which it does only when
   the visitor has not asked for reduced motion. Without JS, or with reduced motion, the page is v6 exactly.
   Only opacity and transform are animated, so nothing moves the layout. Nothing loops. */
:root{--dg-ease:cubic-bezier(.2,.7,.2,1);--dg-dur:.62s;--dg-step:70ms}

/* Keyboard focus on light surfaces: electric blue ring instead of cyan (cyan is 1.8:1 on white) */
.band.light :focus-visible,.tech :focus-visible,#insights :focus-visible{outline-color:var(--blue-text)}
:focus-visible{transition:outline-offset .15s var(--dg-ease)}

/* Section and card reveal */
.dg-motion [data-dg]{opacity:0;transform:translate3d(0,14px,0);transition:opacity var(--dg-dur) var(--dg-ease),transform var(--dg-dur) var(--dg-ease);transition-delay:calc(var(--dg-i,0)*var(--dg-step))}
.dg-motion [data-dg].dg-in{opacity:1;transform:none}
.dg-motion [data-dg="fade"]{transform:none}

/* Hero entrance: copy rises in sequence, the dashboard settles from a slight scale */
.dg-motion .hero-body>div:first-child>*{animation:dg-rise .7s var(--dg-ease) backwards;animation-delay:calc(var(--dg-h,0)*80ms + 80ms)}
.dg-motion .hero-stage,.dg-motion .hero-mvisual{animation:dg-settle .95s var(--dg-ease) .25s backwards}
.dg-motion .hero-stage .hchip{animation:dg-fade .6s var(--dg-ease) backwards;animation-delay:calc(var(--dg-c,0)*70ms + 650ms)}
.dg-motion .hero-stage .cn{animation:dg-fade .8s ease-out .55s backwards}
/* entrance animations are removed once finished, so a later restyle can never replay them */
.dg-motion.dg-entered .hero *, .dg-motion.dg-entered .hero-stage{animation:none!important}
@keyframes dg-rise{from{opacity:0;transform:translate3d(0,16px,0)}to{opacity:1;transform:none}}
@keyframes dg-settle{from{opacity:0;transform:translate3d(0,10px,0) scale(.985)}to{opacity:1;transform:none}}
@keyframes dg-fade{from{opacity:0}to{opacity:1}}

/* Ambient glow in the dark bands: fades in once when the band arrives, then stays still */
.dg-motion .band.dark,.dg-motion .contact.band{isolation:isolate}
.dg-motion .band.dark::before,.dg-motion .contact.band::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(520px 260px at 82% 18%,rgba(41,211,242,.10),transparent 70%),radial-gradient(560px 300px at 12% 92%,rgba(23,105,255,.14),transparent 70%);
  opacity:0;transition:opacity 1.4s ease-out}
.dg-motion .band.dark.dg-glow::before,.dg-motion .contact.band.dg-glow::before{opacity:1}

/* How We Work: numbers light up and connectors draw in order */
.dg-motion #how-we-work .num{transform:scale(.7);opacity:0;transition:transform .45s var(--dg-ease),opacity .45s var(--dg-ease);transition-delay:calc(var(--dg-s,0)*260ms)}
.dg-motion #how-we-work .conn{transform:scaleX(0);transform-origin:left center;transition:transform .5s var(--dg-ease);transition-delay:calc(var(--dg-s,0)*260ms + 160ms)}
.dg-motion #how-we-work .step:not(:last-child)::before{transform:scaleY(0);transform-origin:top center;transition:transform .5s var(--dg-ease);transition-delay:calc(var(--dg-s,0)*260ms + 160ms)}
.dg-motion #how-we-work.dg-run .num{transform:none;opacity:1}
.dg-motion #how-we-work.dg-run .conn{transform:none}
.dg-motion #how-we-work.dg-run .step:not(:last-child)::before{transform:none}

/* Hover (pointer devices only) and press feedback (all devices) */
@media (hover:hover) and (pointer:fine){
  .dg-motion .btn{transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s var(--dg-ease)}
  .dg-motion .btn:hover{transform:translate3d(0,-1px,0)}
  /* cards switch to hover timing only after their reveal has finished (.dg-done) */
  .dg-motion .dg-done:is(.svc,.proj,.article,.feature,.del){transition:border-color .2s,box-shadow .2s,transform .25s var(--dg-ease)}
  .dg-motion .dg-done:is(.svc,.proj,.article,.feature):hover{transform:translate3d(0,-2px,0)}
  .dg-motion .arrow{transition:transform .2s var(--dg-ease)}
  .dg-motion a:hover>.arrow,.dg-motion button:hover>.arrow,.dg-motion .svc:hover .arrow,.dg-motion .feature:hover .arrow,.dg-motion .proj:hover .arrow{transform:translate3d(3px,0,0)}
  .dg-motion .chipbtn{transition:border-color .15s,background-color .15s,color .15s,box-shadow .15s}
}
.dg-motion .btn:active,.dg-motion .chipbtn:active,.dg-motion .qa button:active{transform:scale(.98)}

/* Accordion, tabs, filters, mobile menu, notices: short fades on what changed */
.dg-motion .qa .ans:not([hidden]){animation:dg-drop .22s var(--dg-ease) backwards}
.dg-motion .ind-panel.dg-swap>*{animation:dg-fade .28s ease-out backwards}
.dg-motion .proj.dg-swap{animation:dg-rise .32s var(--dg-ease) backwards}
.dg-motion .mobile-menu:not([hidden]){animation:dg-drop .22s var(--dg-ease) backwards}
.dg-motion .toast:not([hidden]){animation:dg-toast .22s var(--dg-ease) backwards}
@keyframes dg-drop{from{opacity:0;transform:translate3d(0,-6px,0)}to{opacity:1;transform:none}}
@keyframes dg-toast{from{opacity:0;transform:translate(-50%,8px)}to{opacity:1;transform:translate(-50%,0)}}

@media print{.dg-motion [data-dg]{opacity:1!important;transform:none!important}}

/* =================================================================================================
 * WordPress build corrections (DIROGEN homepage v6 package, 29 Oct 2026). Everything above this block is the approved
 * v6 stylesheet plus the approved v7 motion layer, changed only by the anchor renames (#how -> #how-we-work,
 * #why -> #about, #indRel -> .ind-rel). Everything below is a labelled correction.
 * ============================================================================================== */

/* WordPress document basics (v6 was a fragment) */
body.dg-home-v6{margin:0}
.dg-home-v6 .skip-link{position:absolute;left:12px;top:-60px;z-index:100;background:#fff;color:var(--ink);padding:10px 14px;border-radius:8px;font-weight:700}
.dg-home-v6 .skip-link:focus{top:12px;outline:2px solid var(--blue-text);outline-offset:2px}
.dg-home-v6 #main{display:block}

/* No-JS: the industry panels and Our Work cards are separate elements; only the selected one shows */
.ind-panel[hidden]{display:none!important}

/* Variants for blocks whose image or destination is not available (images are optional; text stays) */
.feature.no-art{min-height:0}
.feature.no-art .icon-line{width:44px;height:44px;flex:none;display:grid;place-items:center;border-radius:12px;background:rgba(41,211,242,.12);color:var(--cyan)}
.feature.no-art .icon-line svg{width:24px;height:24px}
.proj.no-thumb{grid-template-columns:minmax(0,1fr)!important}
.sfa.no-visual .sfa-visual{display:none}
.dg-cta-gap{margin-top:14px}
.ind-img .asset-slot.fill{position:absolute;inset:0;border-radius:10px;min-height:0}

/* Approved testimonials (shown only with written permission): the v6 card without the placeholder rows; the quote
   itself is set in sentence case because it is the client's own words, not a placeholder heading */
.quote.dg-real .qmark{grid-row:1/2;grid-column:1}
.quote.dg-real blockquote{grid-row:1/2;grid-column:2;align-self:start;text-transform:none;letter-spacing:0;font-weight:600;line-height:1.5}

/* F9: Back to top arrow in white on the blue circle */
.totop span svg{width:18px;height:18px;color:#fff;stroke:#fff}

/* F10: target sizes of at least 24px without moving anything visually */
.navlinks a,.footer ul a,.foot-bottom a{display:inline-block;padding-block:3px;min-height:24px}
.footer ul a{padding-block:2px}
.socials a{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:#a9bbd6;border:1px solid rgba(110,170,255,.32)}
.socials a:hover{color:#fff}
.socials a svg{width:18px;height:18px}
.foot-bottom a{color:#a9bbd6}

/* Staging review mode only (these classes are never printed on the public site) */
.dg-review-banner{position:relative;z-index:60;background:#fff4d6;color:#5b3b00;border-bottom:2px solid #c98a00;font:600 13px/1.45 var(--body);padding:8px max(var(--gutter),16px);text-align:center}
.dg-review-tag{display:inline-block;margin:6px 0;padding:3px 8px;border-radius:6px;background:#fff4d6;color:#5b3b00;border:1px dashed #c98a00;font:700 12px/1.35 var(--body);letter-spacing:.02em;white-space:normal}
.ind-img .dg-review-tag{position:absolute;left:10px;bottom:10px;margin:0;z-index:2}
.dg-pending-cta{opacity:.7;cursor:not-allowed;outline:1.5px dashed #c98a00;outline-offset:3px}
.dg-pending-cta::after{content:" (link pending)";font-weight:600;font-size:.85em}
.iconbtn.dg-pending-cta::after,.btn.dg-pending-cta::after{content:none}
img[data-dg-review]{outline:2px dashed #c98a00;outline-offset:-2px}
.dg-review-chip{border-style:dashed!important}
.dg-review-block{position:relative}

/* Fluent Form 1 inside the v6 form panel. Visual only: no field, validation, consent or processing change. */
#enquiry .fluentform{width:100%}
#enquiry .frm-fluent-form{display:grid;gap:14px}
#enquiry .ff-el-group{margin:0}
#enquiry .ff-el-input--label label{display:block;margin-bottom:7px;font-size:13.5px;font-weight:700;color:#e3ecf8}
#enquiry .ff-el-is-required .ff-el-input--label label::after{content:" *";color:#5fd2ff}
#enquiry .ff-el-form-control{font:inherit;font-weight:500;font-size:15px;color:#fff;background:rgba(6,26,53,.75);border:1px solid rgba(110,170,255,.35);border-radius:8px;padding:0 14px;height:46px;width:100%;box-sizing:border-box}
#enquiry select.ff-el-form-control{color:#c3d1e6}
#enquiry textarea.ff-el-form-control{height:104px;padding:12px 14px;resize:vertical}
#enquiry .ff-el-form-control::placeholder{color:#8ea5c8}
#enquiry .ff-el-form-control:focus{outline:2px solid var(--cyan);outline-offset:1px;border-color:transparent}
#enquiry .ff-el-form-check-label{display:block;position:relative;padding-left:28px;font-size:13.5px;color:#c9d6e8;line-height:1.5;font-weight:500}
#enquiry .ff-el-form-check-input{position:absolute;left:0;top:2px;width:18px;height:18px;margin:0}
#enquiry .ff-el-form-check-label a{color:var(--cyan);text-decoration:underline}
#enquiry .ff-btn-submit{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:52px;padding:0 26px;border:0;border-radius:8px;background:var(--blue);color:#fff;font:700 15.5px/1 var(--body);cursor:pointer;box-shadow:0 6px 18px rgba(23,105,255,.28)}
#enquiry .ff-btn-submit:hover{background:var(--blue-hover)}
#enquiry .error,#enquiry .text-danger{color:#ffb4b4;font-size:13px;margin-top:6px}
#enquiry .ff-message-success{color:#d8f6ff;background:rgba(31,107,255,.18);border:1px solid rgba(90,170,255,.45);border-radius:8px;padding:12px 14px}

/* D3: 981-1180px uses the tablet layout instead of the squeezed desktop one (audit F1, F2) */
@media (min-width:981px) and (max-width:1180px){
  .navlinks,.nav .search,.nav .btn{display:none}
  .menu-toggle{display:grid}
  .mobile-menu:not([hidden]){display:flex;flex-direction:column;gap:4px;padding:8px 0 16px}
  .mobile-menu a{color:#e3ecfa;font-weight:600;padding:12px 4px;border-bottom:1px solid rgba(110,170,255,.18)}
  .mobile-menu .btn{margin-top:12px;color:#fff;border:0}
  .hero-body{grid-template-columns:1fr;padding-block:16px 40px}
  .svc-feature{grid-template-columns:1fr}
}
@media (min-width:641px) and (max-width:1180px){
  .proj{grid-template-columns:minmax(0,300px) minmax(0,1fr)}
  .proj .thumb{min-height:0;max-height:260px;height:260px}
  .proj .thumb img.rec{width:100%;height:100%;object-fit:contain}
}

/* D2: desktop text at least 13px (exempt: the scaled, decorative hero chips and the step numbers) */

/* D2 at 1181-1399px: the larger nav text needs a narrower left offset so the links stay on one line */
@media (min-width:1181px) and (max-width:1399px){
  .navlinks{margin-left:40px;gap:22px}
}

/* F10: related-service links in the industry panel reach the 24px target height */
.ind-rel a{display:inline-block;padding-block:3px}


/* =================================================================================================
 * REFRESH LAYER, REFINED (candidate 2, 31 Oct 2026). Candidate 1 (30 Oct; Martin chose "Fixes + refresh") is R0-R15;
 * the 31 Oct refinement from Martin's audit brief is the F layer at the end, and R9/R10 below were rewritten for it. Same sections, order, copy and functions
 * as v6. What changes: spacing, type scale, card layout, the layouts used when an image or panel is absent, and
 * hover and reveal refinements. Everything respects prefers-reduced-motion.
 * ============================================================================================== */

/* R0. Shared scale */
:root{--r-pad:104px;--r-pad-sm:72px;--r-gap:56px;--r-radius:16px;--r-lift:0 18px 40px rgba(14,48,110,.14);--r-lift-dark:0 18px 44px rgba(0,8,24,.45)}
body.dg-home-v6{font-size:16px;line-height:1.6}
.wrap{padding-block:var(--r-pad)}
.eyebrow{font-size:13px;letter-spacing:.2em}
.h2{font-size:clamp(30px,2.9vw,44px);line-height:1.12;margin-top:14px;letter-spacing:-.025em}
.lead{font-size:17px;line-height:1.65;margin-top:18px;max-width:42ch}
.textlink{font-size:15.5px;margin-top:20px}
.split{column-gap:var(--r-gap)}

/* R1. Hero: more height, a larger headline and a drawn illustration when no approved image exists */
.hero-body{padding-block:56px 112px}
.hero h1{font-size:clamp(48px,5.4vw,84px);line-height:.98;letter-spacing:-.035em;margin-top:18px}
.tagline{font-size:clamp(20px,1.9vw,28px);margin-top:14px}
.hero p.intro{font-size:18px;line-height:1.65;margin-top:22px;max-width:52ch}
.cta-row{margin-top:34px;gap:16px}
.dg-hero-art-box .dg-hero-art,.hero-mvisual .dg-hero-art{display:block;width:100%;height:100%;filter:drop-shadow(0 18px 40px rgba(0,30,80,.55))}
.hero-mvisual .dg-hero-art{height:auto;aspect-ratio:415/240}

/* R2. Technologies strip: breathing room */
.tech .wrap{padding-block:26px}

/* R3. Services: three cards across, larger padding and text */
.svc-feature{gap:22px}
.feature{min-height:190px;padding:30px 30px 30px;gap:26px;border-radius:var(--r-radius)}
.feature h3{font-size:22px;line-height:1.25}
.feature p{font-size:15.5px;line-height:1.6;margin-top:10px}
.feature .go{width:44px;height:44px;right:24px;bottom:24px}
.feature .txt{padding-right:56px;flex:1}
.svc-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:22px}
.svc{min-height:212px;padding:28px 26px 26px;gap:12px;border-radius:var(--r-radius)}
.svc h3{font-size:18px;line-height:1.3}
.svc p{font-size:15px;line-height:1.6}
.svc .icon-tile{width:46px;height:46px}
.svc .icon-tile svg{width:22px;height:22px}
.svc .mini{width:32px;height:32px}

/* R4. SFA & DMS band; without its visual, the four capabilities sit as a 2x2 grid beside the copy */
.sfa{column-gap:var(--r-gap)}
.featlist{gap:16px}
.featlist li{font-size:16px;gap:16px}
.featlist .icon-line{width:44px;height:44px}
.sfa.no-visual{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr)}
.sfa.no-visual .featlist{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.sfa.no-visual .featlist li{padding:22px 22px;border:1px solid rgba(90,165,255,.3);border-radius:var(--r-radius);background:rgba(6,30,64,.5);align-items:flex-start;flex-direction:column}

/* R5. Industries */
.ind-panel{gap:16px;margin-top:22px;padding:16px;border-radius:20px}
.ind-col{padding:24px 22px}
.ind-col h3{font-size:18px}
.bullets{font-size:15px;gap:8px;margin-top:12px}
.ind-img{min-height:280px}

/* R6. How We Work; without the review-only "Ways to work with us" panel the steps take the full width */
.how{column-gap:var(--r-gap)}
.how.no-ways{grid-template-columns:minmax(0,340px) minmax(0,1fr)}
.num{width:46px;height:46px;font-size:14px}
.step h3{font-size:18px;margin-top:16px}
.step p{font-size:15px;line-height:1.6;margin-top:8px;padding-right:18px}

/* R7. Our Work: larger cards; a card with no approved picture gets a calm gradient header instead of a gap */
.work-grid{gap:22px;margin-top:22px}
.proj{border-radius:var(--r-radius)}
.proj .body{padding:24px 24px 22px}
.proj h3{font-size:19px;margin-top:12px}
.proj p{font-size:15px;line-height:1.6;margin-top:10px}
.proj .more{font-size:15.5px}
.proj.no-thumb{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr}
.proj.no-thumb::before{content:"";display:block;height:10px;background:linear-gradient(90deg,var(--blue),var(--cyan))}
.filters .chipbtn{height:40px;font-size:14px;padding:0 16px}

/* R8. Stories, Why, Delivery, Insights, FAQ, Contact, Footer: text and spacing only */
.quote{padding:26px 26px 24px}
.quote p{font-size:15px;line-height:1.6}
.why-grid{gap:32px}
.why-item h3{font-size:17px}
.why-item p{font-size:15px;line-height:1.6;margin-top:8px}
.why-item .ring{width:52px;height:52px;border-radius:14px}
.del{padding:22px 22px;gap:14px}
.del h3{font-size:17px}
.del p{font-size:15px;line-height:1.55}
.article h3{font-size:17px}
.article .cover{height:170px}
.qa button{min-height:60px;padding:14px 20px;font-size:16px}
.qa .ans{font-size:15px;padding:0 20px 18px}
.contact .wrap{padding-block:var(--r-pad)}
.contact h2{font-size:clamp(32px,3vw,46px)}
.next{padding:30px 30px}
.next h3{font-size:20px}
.footer .wrap{padding-block:72px 28px}
.footer ul{font-size:15px;gap:10px}

/* R9. Hover and focus (pointer devices only). Refined 31 Oct: 2px lift, 180ms cards, 150ms buttons. Cards get hover
   timing only when they have no reveal or their reveal has finished (.dg-done), so hover never fights the reveal. */
@media (hover:hover){
  :is(.svc,.feature,.proj,.del,.article,.ind-col,.quote,.next,.sfa.no-visual .featlist li):not([data-dg]),
  .dg-motion .dg-done:is(.svc,.feature,.proj,.del,.article,.ind-col,.quote,.next,.featlist li){transition:transform .18s var(--dg-ease,ease),box-shadow .18s var(--dg-ease,ease),border-color .18s}
  :is(.svc,.proj,.del,.article,.ind-col,.quote):hover,
  .dg-motion .dg-done:is(.svc,.proj,.del,.article,.ind-col,.quote):hover{transform:translate3d(0,-2px,0);box-shadow:0 10px 24px rgba(14,48,110,.12);border-color:#bcd3f5}
  :is(.feature,.sfa.no-visual .featlist li):hover,
  .dg-motion .dg-done:is(.feature,.featlist li):hover{transform:translate3d(0,-2px,0);box-shadow:0 12px 28px rgba(0,8,24,.38)}
  .svc .mini,.feature .go,.proj .more svg,.textlink svg,.btn svg{transition:transform .15s var(--dg-ease,ease),background-color .15s,color .15s}
  .svc:hover .mini,.feature:hover .go{transform:translateX(3px)}
  .svc:hover .mini{background:var(--blue);color:#fff}
  .feature:hover .go{background:#4fd0ff;color:#061a35}
  .proj:hover .more svg,.textlink:hover svg,.btn:hover svg{transform:translateX(3px)}
  .btn{transition:transform .15s var(--dg-ease,ease),background-color .15s,border-color .15s,box-shadow .15s}
  .btn:hover,.dg-motion .btn:hover{transform:translate3d(0,-1px,0)}
}

/* R10. Reveal, refined 31 Oct: 340ms, 10px rise, 50ms stagger (v7 was 620ms, 14px, 70ms). Off with reduced motion,
   and never applied without JavaScript (the script adds .dg-motion). */
:root{--dg-dur:.34s;--dg-step:50ms}
.dg-motion [data-dg]{transform:translate3d(0,10px,0)}
/* The hero stays almost still: a short fade on load instead of the rise and scale */
.dg-motion .hero-body>div:first-child>*{animation:dg-fade .3s ease-out backwards;animation-delay:calc(var(--dg-h,0)*40ms)}
.dg-motion .hero-stage,.dg-motion .hero-mvisual{animation:dg-fade .4s ease-out .1s backwards}
.dg-motion .hero-stage .hchip{animation:dg-fade .3s ease-out backwards;animation-delay:calc(var(--dg-c,0)*40ms + 200ms)}
.dg-motion .hero-stage .cn{animation:dg-fade .4s ease-out .2s backwards}
.dg-motion .band.dark::before,.dg-motion .contact.band::before{transition-duration:.8s}
/* How We Work: the numbers and connectors run in about half a second instead of two */
.dg-motion #how-we-work .num{transition-duration:.3s;transition-delay:calc(var(--dg-s,0)*60ms)}
.dg-motion #how-we-work .conn,.dg-motion #how-we-work .step:not(:last-child)::before{transition-duration:.3s;transition-delay:calc(var(--dg-s,0)*60ms + 80ms)}

/* R10b. Desktop 1181px+: wider heading columns so section headings sit on two or three lines; Why DIROGEN puts its
   heading above the five points so each point has room */
@media (min-width:1181px){
  .split{grid-template-columns:minmax(0,400px) minmax(0,1fr)}
  .how{grid-template-columns:minmax(0,360px) minmax(0,1fr) minmax(0,300px)}
  .how.no-ways{grid-template-columns:minmax(0,400px) minmax(0,1fr)}
  .sfa{grid-template-columns:minmax(0,400px) minmax(0,1fr) minmax(0,280px)}
  .contact-grid{grid-template-columns:minmax(0,400px) minmax(0,1fr) minmax(0,340px);column-gap:40px}
  #about .split{grid-template-columns:1fr;row-gap:48px}
  #about .h2{max-width:20ch}
  .tag,.badge,.chipbtn,.tabs .chipbtn,.filters .chipbtn,.ph-tag,.dg-review-tag,.quote figcaption,.article .topic{font-size:13px}
  .work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .proj{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr}
  .proj .thumb{min-height:190px;height:190px;padding:14px}
  .feature:not(.no-art){flex-direction:column;align-items:flex-start}
  .feature:not(.no-art) .art{width:128px;height:96px}
  .how:not(.no-ways){grid-template-columns:minmax(0,400px) minmax(0,1fr);align-items:start}
  .how:not(.no-ways) .ways{grid-column:2;margin-top:12px}
  .how:not(.no-ways) .ways ul{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
  .why-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:36px}
  .why-item{flex-direction:column;gap:18px}
}

/* R10c. Review labels keep their own colours inside panels that restyle spans (review mode only) */
.ways .dg-review-tag{color:#5b3b00}

/* R11. Tablet 641-1180px */
@media (max-width:1180px){
  :root{--r-pad:80px;--r-gap:40px}
  .svc-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .sfa.no-visual,.how.no-ways{grid-template-columns:1fr}
}

/* R12. Phone up to 640px */
@media (max-width:640px){
  :root{--r-pad:64px;--r-gap:28px}
  .h2{font-size:30px}
  .lead{font-size:16px}
  .hero-body{padding-block:28px 64px}
  .hero h1{font-size:46px}
  .svc-grid{grid-template-columns:1fr;gap:14px}
  .svc{min-height:0}
  .feature{padding:24px}
  .sfa.no-visual .featlist{grid-template-columns:1fr}
  .ind-img{min-height:0}
  .footer .wrap{padding-block:56px 24px}
}

/* R13. Reduced motion: no hover movement either */
@media (prefers-reduced-motion:reduce){
  .svc:hover,.proj:hover,.del:hover,.article:hover,.ind-col:hover,.quote:hover,.feature:hover,.btn:hover,.sfa.no-visual .featlist li:hover{transform:none}
  .svc:hover .mini,.feature:hover .go,.proj:hover .more svg,.textlink:hover svg,.btn:hover svg,.svc:hover .icon-tile{transform:none}
}

/* R14. Staging review only: the label on every recovered mockup crop (never printed on the public site) */
.hero-mvisual,.sfa-visual,.how-visual{position:relative}
.dg-crop-tag{position:absolute;left:8px;top:8px;z-index:3;max-width:calc(100% - 16px);padding:3px 8px;border-radius:6px;background:#fff4d6;color:#5b3b00;border:1px dashed #c98a00;font:700 13px/1.3 var(--body);text-align:left;pointer-events:none}
.art .dg-crop-tag,.proj .thumb .dg-crop-tag{font-size:0;padding:2px 6px;left:4px;top:4px}
.art .dg-crop-tag::after,.proj .thumb .dg-crop-tag::after{content:"Placeholder crop";font-size:13px}
.ind-img .dg-crop-tag{top:auto;bottom:8px}

/* =================================================================================================
 * F. REFINEMENT LAYER (31 Oct 2026, from Martin's audit brief). Readability of the refresh with more of v6's
 * information density: spacing by section, wider content, compact mobile rows. Copy, order and functions unchanged.
 * ============================================================================================== */

/* F0. Section spacing by weight instead of 104px everywhere: main sections 80px, supporting sections 64px
   (tablet 64/56, phone 52/44). */
:root{--r-pad:80px;--r-pad-c:64px}
#how-we-work .wrap,#client-stories .wrap,#about .wrap,#delivery .wrap,#insights .wrap,#faq .wrap,.wrap.sfa{padding-block:var(--r-pad-c)}
.split{row-gap:32px}

/* F1. Hero: less padding, CTA straight after the copy, illustration unchanged */
.hero-body{padding-block:40px 80px}

/* F2. Desktop and small laptop (981px+): sections whose content is a grid of cards put the heading above it, with
   the lead text beside the heading, so the cards use the full width instead of a squeezed column. */
@media (min-width:981px){
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split{grid-template-columns:minmax(0,1fr)}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);column-gap:64px;align-items:end}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child>*{grid-column:2}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child>.eyebrow{grid-column:1/-1;grid-row:1}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child>.h2{grid-column:1;grid-row:2/span 2;max-width:22ch;align-self:start}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child>.lead{grid-row:2;margin-top:14px;max-width:56ch}
  :is(#services,#industries,#work,#client-stories,#delivery,#insights) .split>div:first-child>.textlink{justify-self:start}
}

/* F3. Services: featured cards keep the artwork beside the text now that they are wide; the six supporting
   services are compact rows (icon, then title and description, arrow at the right), three across on desktop. */
.feature{min-height:0;padding:28px}
.svc{display:grid;grid-template-columns:46px minmax(0,1fr) 32px;column-gap:18px;row-gap:6px;align-content:start;min-height:0;padding:24px 22px}
.svc .icon-tile{grid-column:1;grid-row:1/span 2}
.svc h3{grid-column:2;grid-row:1;align-self:center}
.svc p{grid-column:2;grid-row:2}
.svc .mini{grid-column:3;grid-row:1;align-self:start;margin-top:0}
@media (min-width:1181px){
  .feature:not(.no-art){flex-direction:row;align-items:center}
  .feature:not(.no-art) .art{width:150px;height:112px}
}

/* F4. SFA & DMS: same 2x2 capability grid, less padding. With an approved visual the three-column layout returns. */
.sfa.no-visual .featlist li{padding:18px 20px}

/* F5. Industries: the panel uses the full width; the picture is landscape beside three readable text columns. */
@media (min-width:1181px){
  .ind-panel{grid-template-columns:minmax(0,1.35fr) repeat(3,minmax(0,1fr));gap:16px;padding:16px}
  .ind-img{grid-row:auto;min-height:0;aspect-ratio:3/2;align-self:start}
  .ind-foot{grid-column:2/-1}
}
@media (min-width:641px) and (max-width:1180px){
  .ind-img{min-height:0;aspect-ratio:21/8}
}
/* Tabs that do not fit show a fade at the edge, and the previous/next buttons stay visible on phones */
.tabs{-webkit-mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);mask-image:linear-gradient(90deg,#000 calc(100% - 40px),transparent);scroll-snap-type:x proximity;padding-right:32px}
.tabs .chipbtn{scroll-snap-align:start;flex:none}

/* F7. Our Work: every card has the same picture-above-text shape and picture height */
@media (min-width:1181px){
  .proj .thumb{min-height:0;height:200px}
}

/* F10. Insights: shorter covers */
.article .cover{height:150px}

/* F13. Contact: beside the visible form, the "Discuss Your Project" button only scrolled to that form, so it is
   hidden where the form sits next to it (981px+). It stays where the form is further down the page. */
@media (min-width:981px){
  .contact-ctas a[href="#enquiry"]{display:none}
}

/* F14. Footer */
.footer .wrap{padding-block:56px 24px}

/* F11. Tablet 641-1180px */
@media (max-width:1180px){
  :root{--r-pad:64px;--r-pad-c:56px}
  .hero-body{padding-block:32px 64px}
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proj{grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto 1fr}
  .proj .thumb{min-height:0;height:200px}
}

/* F12. Phone up to 640px: compact hero, full-width service rows, consistent project cards, 2x2 delivery facts */
@media (max-width:640px){
  :root{--r-pad:52px;--r-pad-c:44px}
  .hero-body{padding-block:16px 44px}
  .hero-mvisual{max-width:320px;margin:24px auto 0}
  .cta-row{margin-top:26px;gap:12px}
  .feature{padding:22px}
  .svc{padding:18px 16px;column-gap:14px;grid-template-columns:40px minmax(0,1fr) 28px}
  .svc .icon-tile{width:40px;height:40px}
  .svc .icon-tile svg{width:20px;height:20px}
  .svc .mini{width:28px;height:28px}
  .svc-grid{gap:10px;margin-top:14px}
  .tab-arrows{display:flex}
  .tab-arrows button{width:36px;height:36px}
  .ind-col{padding:18px 18px}
  .work-grid{grid-template-columns:minmax(0,1fr)}
  .proj:not(:first-child){grid-template-columns:minmax(0,1fr)}
  .proj .thumb,.proj:first-child .thumb,.proj:not(:first-child) .thumb{aspect-ratio:16/9;min-height:0;height:auto;padding:0}
  .proj .body{padding:20px 18px 18px}
  .step{padding-bottom:16px}
  .del-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .del{flex-direction:column;gap:10px;padding:16px}
  .article .cover{height:140px}
  .quote{padding:20px 18px}
  .footer .wrap{padding-block:44px 20px}
}
@media (max-width:640px){
  .feature:not(.no-art) .art,.feature:nth-child(2):not(.no-art) .art{max-width:84px!important}
}
/* F16. Tablet and small laptop: featured service cards one per row with the art beside the text (two across
   squeezed the text), and Why DIROGEN keeps its heading above the five points */
@media (min-width:641px) and (max-width:1180px){
  .svc-feature{grid-template-columns:minmax(0,1fr)}
  .feature:not(.no-art){flex-direction:row;align-items:center}
}
@media (min-width:981px) and (max-width:1180px){
  #about .split{grid-template-columns:minmax(0,1fr)}
  #about .h2{max-width:20ch}
  .why-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:24px}
  .why-item{flex-direction:column;gap:14px}
}
/* F17. Labels at every width: badges, tags, chips and quote names at 13px on tablets and phones too (the desktop
   rule is in R10b), so "Illustrative concept" and the review labels stay readable everywhere */
.tag,.badge,.chipbtn,.ph-tag,.dg-review-tag,.quote figcaption,.quote figcaption *,.article .topic{font-size:13px}
@media (max-width:640px){
  /* the small featured-service art box is narrower than its label, so the label may extend past the picture */
  .feature .art{overflow:visible}
  .art .dg-crop-tag{max-width:none;white-space:nowrap}
}


/* ==============================================================================================
 * CANDIDATE 2.1 layer (local only, 1 Nov 2026). Appended after the Candidate 2 refresh layer.
 * Scope approved by Martin: sticky header after the hero, mobile menu focus trap and scroll lock,
 * light Why DIROGEN section with icon tiles, subtle link and icon hover transitions, self-hosted font.
 * Everything else (layout, colours, copy, reveals, staggers, timeline) is Candidate 2 unchanged.
 * ============================================================================================== */

/* 2.1-F: self-hosted Plus Jakarta Sans, one variable file covering weights 200-800 (Latin subset, SIL OFL 1.1).
   Same family name as before, so every existing font rule is unchanged. */
@font-face{font-family:"Plus Jakarta Sans";font-style:normal;font-weight:200 800;font-display:swap;
  src:url(../fonts/plus-jakarta-sans-latin-var.woff2) format("woff2-variations"),url(../fonts/plus-jakarta-sans-latin-var.woff2) format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}

/* 2.1-S: sticky header. The script adds .dg-stuck to the existing header bar once the hero has scrolled out.
   Without the script nothing here applies, so the page behaves exactly as Candidate 2. */
.dg-nav-ph{display:none}
.dg-nav-ph.on{display:block}
.dg-sticky-ready{scroll-padding-top:calc(var(--dg-bar-h,64px) + 12px)}
body{--dg-bar-top:0px}
body.admin-bar{--dg-bar-top:32px}
@media (max-width:782px){body.admin-bar{--dg-bar-top:46px}}
@media (max-width:600px){body.admin-bar{--dg-bar-top:0px}}
.hero .nav.dg-stuck{position:fixed;top:var(--dg-bar-top);left:0;right:0;z-index:60;margin:0;
  padding-block:10px;padding-inline:max(var(--gutter),calc((100% - 1440px) / 2 + var(--gutter)));
  background:rgb(6,26,53);box-shadow:0 1px 0 rgba(110,170,255,.18),0 10px 28px rgba(3,12,28,.28);
  transition:transform .2s var(--dg-ease)}
@supports ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){
  .hero .nav.dg-stuck{background:rgba(6,26,53,.95);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}}
.hero .nav.dg-stuck .brand img{height:34px!important;width:auto}
.hero .nav.dg-stuck.dg-nav-hide{transform:translateY(calc(-100% - var(--dg-bar-top) - 2px))}
@media (prefers-reduced-motion:no-preference){
  .hero .nav.dg-stuck{animation:dg-bar-in .22s var(--dg-ease) backwards}
  @keyframes dg-bar-in{from{transform:translateY(-100%)}to{transform:none}}}
/* The open mobile menu follows the stuck bar instead of opening inside the hero, which is off screen by then. */
.dg-nav-stuck .mobile-menu:not([hidden]){position:fixed;z-index:59;left:0;right:0;
  top:calc(var(--dg-bar-top) + var(--dg-bar-h,64px));max-height:calc(100vh - var(--dg-bar-top) - var(--dg-bar-h,64px));
  overflow:auto;overscroll-behavior:contain;background:var(--navy);
  padding:8px max(var(--gutter),env(safe-area-inset-left,0px)) 18px;box-shadow:0 18px 32px rgba(3,12,28,.35)}

/* 2.1-M: background scroll lock while the mobile menu is open (the focus trap is in the script). */
.dg-menu-open,.dg-menu-open body{overflow:hidden}
.mobile-menu{overscroll-behavior:contain}

/* 2.1-W: Why DIROGEN as a light section with icon tiles. Same copy, icons, anchor and order.
   Scoped to #about.light so the old why.php (class "band dark") still renders as Candidate 2 if only this file is new. */
#about.band.light{background:linear-gradient(180deg,#fff,#f7faff)!important;color:var(--ink);border-top:1px solid var(--line)}
#about.band.light::before{content:none}
#about.light .eyebrow{color:var(--blue-text)}
#about.light .h2{color:var(--ink)}
#about.light .split{background:none!important;border:0!important;border-radius:0!important}
#about.light .why-item{background:#fff;border:1px solid var(--line);border-radius:16px;padding:22px 20px;box-shadow:0 1px 2px rgba(11,27,58,.04)}
#about.light .why-item .ring{width:48px;height:48px;border-radius:12px;border:0;background:var(--tile);color:var(--blue)}
#about.light .why-item .ring .hex{display:none}
#about.light .why-item .ring svg{width:22px;height:22px}
#about.light .why-item h3{color:var(--ink)}
#about.light .why-item p{color:var(--muted)}
#about.light :focus-visible{outline-color:var(--blue-text)}
@media (min-width:981px){#about.light .why-item{flex-direction:column;gap:14px}}

/* 2.1-H: subtle hover transitions. Link colours fade over 150 ms; service icon tiles shift colour with the card.
   Mouse and trackpad only; reduced motion already removes every transition. */
.navlinks a,.footer ul a,.foot-bottom a,.mobile-menu a,.textlink{transition:color .15s var(--dg-ease)}
.svc .icon-tile,.feature .icon-tile{transition:background-color .18s var(--dg-ease),color .18s var(--dg-ease)}
@media (hover:hover) and (pointer:fine){
  .svc:hover .icon-tile{background:var(--blue);color:#fff}
  .feature:hover .icon-tile{background:rgba(41,211,242,.18);color:#fff}}
@media (max-width:640px){#about.light .why-grid{gap:12px!important}}


/* ==============================================================================================
 * CANDIDATE 2.2 layer (local only, 2 Nov 2026). Appended after the Candidate 2.1 layer.
 * Scope approved by Aditya (A3, A4, A5, A9, A11, A12 and the review's form-spacing and SFA-tile items).
 * Everything else is Candidate 2.1 unchanged.
 * ============================================================================================== */

/* 2.2-C (A5): compact "Discuss" button in the stuck header on tablet and phone widths.
   The full label is kept everywhere else; the link's accessible name stays "Discuss Your Project". */
.dg-cta-short{display:none}
@media (max-width:1180px){
  .hero .nav.dg-stuck .btn{display:inline-flex;min-height:40px;padding:0 16px;font-size:14px}
  .hero .nav.dg-stuck .nav-right{gap:8px}
}
@media (max-width:600px){
  .hero .nav.dg-stuck .btn{padding:0 14px}
  .hero .nav.dg-stuck .btn .dg-cta-full,.hero .nav.dg-stuck .btn svg{display:none}
  .hero .nav.dg-stuck .btn .dg-cta-short{display:inline}
}

/* 2.2-F: clearer grouping in Form 1. Each label sits further from the field above it than from its own field. */
#enquiry .frm-fluent-form{gap:20px}
#enquiry .ff-el-input--label label{margin-bottom:8px;font-size:14px}

/* 2.2-P (A9): privacy notice under the form (renders only when a Privacy Policy page is published). */
.dg-privacy-note{margin:14px 0 0;font-size:13.5px;line-height:1.5;color:#c9d6e8}
.dg-privacy-note a{color:var(--cyan);text-decoration:underline;text-underline-offset:2px}

/* 2.2-S: SFA & DMS points read as a list, not as clickable cards (no box, no hover lift). */
.sfa.no-visual .featlist li{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:4px 0!important;flex-direction:row!important;align-items:center!important}
.sfa.no-visual .featlist li:hover,.dg-motion .sfa .featlist li.dg-done:hover{transform:none!important;box-shadow:none!important}

/* ==== Candidate 2.3 layer (local only, 2 Nov 2026). Appended after Candidate 2.2, which stays an exact prefix. ==== */

/* Technologies: logo tiles. Not links, so no hover lift or pointer (same rule as the flattened SFA list). */
.tech.tech-logos{background:#fff}
.tech.tech-logos .wrap{display:block;padding-block:30px 32px}
.tech.tech-logos .label{display:block;margin:0 0 16px;font-size:13.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--blue-text)}
.tech.tech-logos .tech-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;width:100%;margin:0;padding:0;list-style:none}
.tech.tech-logos .tech-item{display:flex;align-items:center;gap:12px;min-height:60px;padding:10px 16px;border:1px solid var(--line);border-radius:12px;background:#fff;font-size:15px;font-weight:700;letter-spacing:0;color:var(--ink);line-height:1.2;box-shadow:0 1px 2px rgba(14,48,110,.04)}
.tech.tech-logos .tech-item img{width:40px;height:32px;flex:none;object-fit:contain} /* 40x32 box: wide marks (AWS, PHP) get more width so all logos read at a similar size */
.tech.tech-logos .tech-item span{min-width:0;overflow-wrap:anywhere}
.tech.tech-logos .tech-item.no-logo{justify-content:center;text-align:center}
.tech.tech-logos .dg-review-tag{margin-top:12px}
@media (max-width:1180px){.tech.tech-logos .tech-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
.tech.tech-logos .tech-swipe-hint{display:none}
.tech.tech-logos .tech-grid:focus-visible{outline:3px solid var(--cyan, #54d2df);outline-offset:4px}
/* Phones: one horizontal swipe row instead of a multi-row grid (Aditya, 3 Nov). About 2.4 cards show at a time and the
   next card is cut by the screen edge, with a small "Swipe →" hint beside the heading. Native touch scrolling, gentle snap,
   no autoplay. The row runs to the screen edges, so the page itself never scrolls sideways. */
@media (max-width:600px){
  .tech.tech-logos .wrap{padding-block:24px}
  .tech.tech-logos .tech-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
  .tech.tech-logos .label{margin:0;font-size:12.5px}
  .tech.tech-logos .tech-swipe-hint{display:inline-flex;align-items:center;gap:6px;flex:none;color:var(--muted, #5b6b80);font-size:12.5px;font-weight:600;white-space:nowrap}
  .tech.tech-logos .tech-swipe-arrow{color:var(--blue-text);font-size:14px;line-height:1}
  .tech.tech-logos .tech-grid{display:flex;flex-wrap:nowrap;gap:10px;width:auto;margin-inline:calc(-1 * var(--gutter));padding:2px var(--gutter) 6px;overflow-x:auto;overflow-y:hidden;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scroll-padding-inline:var(--gutter);-webkit-overflow-scrolling:touch;scrollbar-width:none}
  .tech.tech-logos .tech-grid::-webkit-scrollbar{display:none}
  .tech.tech-logos .tech-item{flex:0 0 auto;width:clamp(120px,calc((100vw - 2 * var(--gutter) - 20px) / 2.4),168px);min-width:max-content;flex-direction:column;justify-content:center;gap:6px;min-height:80px;padding:10px 12px;font-size:13px;text-align:center;white-space:nowrap;scroll-snap-align:start}
  .tech.tech-logos .tech-item span{overflow-wrap:normal}
  .tech.tech-logos .tech-item img{width:36px;height:28px}
}
@media (max-width:600px) and (prefers-reduced-motion:no-preference){.tech.tech-logos .tech-grid{scroll-behavior:smooth}}

/* Footer: larger tap targets for footer links on phones (C23); desktop spacing unchanged. */
@media (max-width:600px){
  .footer ul{gap:0}
  .footer ul a{display:inline-block;padding-block:9px}
  .footer ul li::before{margin-top:18px}
  .foot-bottom nav a:not(.totop){display:inline-block;padding-block:9px}
}

/* ==================================================================================================================
 * CANDIDATE 2.4 (local build, 3 Nov 2026): Round 3 homepage layer, appended to the Candidate 2.3 stylesheet.
 * Decisions D1-D9 (Aditya, 3 Nov 19:06). Everything above this line is Candidate 2.3, byte for byte.
 * Hero sample screens, SFA & DMS band, Industries section, Our Work concept cards, direct contact details, tech-strip
 * tablet fix, touch targets and the hero entrance. The shared menu, footer and Form 1 states are in site-chrome.css.
 * ================================================================================================================== */

/* ---------- 1. Hero: sample operations screen + field-sales phone (fixed 660x450 stage, scaled by home-v6.js) ---------- */
.hero-body{align-items:center}
.hv{position:relative;width:100%;max-width:660px;justify-self:end;aspect-ratio:660/450;margin:0 0 26px}
.hv-stage{position:absolute;left:0;top:0;width:660px;height:450px;transform-origin:0 0;transform:scale(var(--s,1))}
.hv-glow{position:absolute;inset:40px 10px 10px 60px;background:radial-gradient(closest-side,rgba(41,211,242,.28),transparent 75%);filter:blur(10px)}
.hv-win{position:absolute;left:70px;top:20px;width:560px;height:360px;border-radius:14px;background:#f6f9ff;box-shadow:0 30px 70px rgba(0,8,30,.55),0 0 0 1px rgba(120,180,255,.35);overflow:hidden;color:#0b1b3a}
.hv-bar{height:34px;display:flex;align-items:center;gap:7px;padding:0 14px;background:#e9f0fb;border-bottom:1px solid #d7e3f5}
.hv-bar i{width:9px;height:9px;border-radius:50%;background:#c3d2ea}
.hv-bar b{margin-left:10px;font:700 11.5px var(--body);color:#33476b}
.hv-bar em{margin-left:auto;font:600 10px var(--body);font-style:normal;color:#5a6d8c;padding:3px 8px;border:1px solid #cddbf0;border-radius:20px;background:#fff}
.hv-body{display:grid;grid-template-columns:120px 1fr;height:326px}
.hv-side{background:#0b2246;padding:14px 10px;display:flex;flex-direction:column;gap:6px}
.hv-side span{display:flex;align-items:center;gap:8px;padding:7px 8px;border-radius:7px;color:#9fb6d8;font:600 10.5px var(--body)}
.hv-side span::before{content:"";width:8px;height:8px;border-radius:2px;background:currentColor;opacity:.7}
.hv-side span.on{background:rgba(41,211,242,.14);color:#fff}
.hv-main{padding:14px 16px;display:grid;grid-template-rows:auto 1fr auto;gap:12px;min-width:0}
.hv-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.hv-kpi{background:#fff;border:1px solid #dde7f5;border-radius:9px;padding:9px 10px}
.hv-kpi small{display:block;font:600 9.5px var(--body);color:#5a6d8c}
.hv-kpi b{display:block;margin-top:3px;font:800 16px var(--display);letter-spacing:-.02em}
.hv-kpi i{font:700 9px var(--body);font-style:normal;color:#0b7a53}
.hv-chart{background:#fff;border:1px solid #dde7f5;border-radius:9px;padding:10px 12px;display:grid;grid-template-rows:auto 1fr;min-height:0}
.hv-ch{margin:0;display:flex;justify-content:space-between;font:700 10.5px var(--body);color:#33476b}
.hv-ch span{color:#5a6d8c;font-weight:600}
.hv-chart svg{width:100%;height:100%}
.hv-rows{display:grid;gap:5px}
.hv-row{display:grid;grid-template-columns:1.4fr 1fr .8fr;gap:8px;align-items:center;font:600 10px var(--body);color:#33476b;background:#fff;border:1px solid #e6eef9;border-radius:7px;padding:6px 9px}
.hv-row .pill,.hv .pill,.hv-m .pill{justify-self:start;padding:2px 7px;border-radius:20px;font-size:9px}
.pill.ok{background:#e3f7ef;color:#0b7a53}.pill.warn{background:#fff3dd;color:#8a5806}
.hv-phone{position:absolute;left:0;top:150px;width:170px;height:296px;border-radius:24px;background:#071a36;padding:9px;box-shadow:0 26px 60px rgba(0,8,30,.6),0 0 0 1px rgba(120,190,255,.5)}
.hv-screen{height:100%;border-radius:17px;background:#f6f9ff;overflow:hidden;color:#0b1b3a;display:flex;flex-direction:column}
.hv-sh{background:#1769ff;color:#fff;padding:12px 11px 10px}
.hv-sh small{display:block;font:600 8.5px var(--body);opacity:.85}
.hv-sh b{font:800 12px var(--display)}
.hv-sku{display:flex;justify-content:space-between;align-items:center;margin:6px 8px 0;padding:7px 8px;background:#fff;border:1px solid #e1eaf7;border-radius:8px;font:600 9.5px var(--body)}
.hv-sku span:last-child{display:inline-flex;gap:5px;align-items:center;font-weight:800}
.hv-sku:not(.hv-ok) span:last-child::before,.hv-sku:not(.hv-ok) span:last-child::after{content:"–";display:inline-grid;place-items:center;width:15px;height:15px;border-radius:4px;background:#eaf2ff;color:#1769ff}
.hv-sku:not(.hv-ok) span:last-child::after{content:"+"}
.hv-sku.hv-ok span:last-child{color:#0b7a53}
.hv-submit{margin:auto 8px 10px;padding:8px;border-radius:8px;background:#0b2246;color:#fff;text-align:center;font:800 10px var(--body)}
.hv-chip{position:absolute;display:flex;align-items:center;gap:7px;padding:7px 11px;border-radius:30px;background:rgba(10,42,80,.92);border:1px solid rgba(110,170,255,.45);color:#dbe8fb;font:700 11px var(--body);box-shadow:0 10px 26px rgba(0,8,30,.4);white-space:nowrap}
.hv-chip i{width:8px;height:8px;border-radius:50%;background:var(--cyan);box-shadow:0 0 0 4px rgba(41,211,242,.18)}
.hv-chip--a{left:186px;top:400px}.hv-chip--b{left:400px;top:392px}
.hv-cap{position:absolute;right:0;bottom:-26px;margin:0;font:600 11.5px var(--body);color:#9db3d3}
.hero.hero-grid{position:relative}
.hero.hero-grid::after{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(120,180,255,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(120,180,255,.07) 1px,transparent 1px);background-size:44px 44px;-webkit-mask-image:radial-gradient(ellipse 46% 60% at 74% 52%,#000 0%,transparent 75%);mask-image:radial-gradient(ellipse 46% 60% at 74% 52%,#000 0%,transparent 75%)}
.hero.hero-grid>*{position:relative;z-index:1}
.hv-m{display:none;margin:0}

/* trust row under the hero buttons */
.dg-trust{display:flex;flex-wrap:wrap;gap:8px 22px;max-width:560px;margin:26px 0 0;padding:18px 0 0;list-style:none;border-top:1px solid rgba(110,170,255,.22);color:#b9c9df;font-size:13.5px;font-weight:600}
.dg-trust li{display:inline-flex;align-items:center;gap:8px}
.dg-trust .dg-ic{width:16px;height:16px;stroke:var(--cyan)}
.dg-trust a{color:#dbe8fb;text-decoration:underline;text-decoration-color:rgba(219,232,251,.35);text-underline-offset:3px}
.dg-trust a:hover{color:#fff;text-decoration-color:currentColor}

/* ---------- 2. Services: the low-poly corner decoration is removed (Round 3) ---------- */
#services.lowpoly{background:linear-gradient(180deg,#f7faff,var(--pale))!important}
#services.lowpoly::before,#services.lowpoly::after{content:none!important;display:none!important}

/* ---------- 3. Tech strip: no broken words at tablet widths (PostgreSQL wrapped at 768 in 2.3) ---------- */
@media (min-width:601px) and (max-width:1023px){
  .tech.tech-logos .tech-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
  .tech.tech-logos .tech-item{gap:8px;padding:10px 10px;font-size:14px}
  .tech.tech-logos .tech-item img{width:32px;height:26px}
  .tech.tech-logos .tech-item span{overflow-wrap:normal;word-break:normal;white-space:nowrap}
}

/* ---------- 4. SFA & DMS band ---------- */
.dg-sfa-band{background:radial-gradient(520px 340px at 78% 50%,rgba(30,100,220,.34),transparent 70%),linear-gradient(180deg,var(--navy-2),#061a35)}
.sfa2{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:56px;align-items:center}
.sfa2 .lead{max-width:46ch}
.sfa-for{margin:18px 0 0;color:#a9bddb;text-transform:uppercase;letter-spacing:.12em;font-size:12px;font-weight:700}
.uses{margin:12px 0 0;padding:0;list-style:none;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.use{display:grid;grid-template-columns:38px 1fr;gap:12px;align-items:center;padding:14px;border:1px solid var(--on-dark-line);border-radius:12px;background:rgba(255,255,255,.03);transition:border-color .2s,background-color .2s}
.use:hover{border-color:rgba(110,170,255,.55);background:rgba(255,255,255,.05)}
.use .ic{width:38px;height:38px;border-radius:10px;display:grid;place-items:center;background:rgba(41,211,242,.12)}
.use .ic svg{width:19px;height:19px;stroke:var(--cyan);fill:none;stroke-width:1.8}
.use h3{margin:0;font-size:14.5px;color:#fff;line-height:1.3}
.use p{margin:3px 0 0;font-size:13px;color:var(--on-dark-muted);line-height:1.45}
.sfa-ctas{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin-top:26px}
.sfa-ctas .txt{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:#dbe8fb;font-weight:700;font-size:15px;padding:0 4px}
.sfa-ctas .txt:hover{color:#fff}
.sfa-ctas .txt svg{width:18px;height:18px;stroke:var(--cyan);transition:transform .2s}
.sfa-ctas .txt:hover svg{transform:translateX(3px)}
.sfa-vis{position:relative;aspect-ratio:600/440;margin:0}
.sfa-stage{position:absolute;left:0;top:0;width:600px;height:440px;transform-origin:0 0;transform:scale(var(--s,1))}
.sfa-stage .tab{position:absolute;right:0;top:10px;width:470px;height:330px;border-radius:16px;background:#071a36;padding:10px;box-shadow:0 30px 70px rgba(0,8,30,.55),0 0 0 1px rgba(110,170,255,.4)}
.sfa-stage .scr{height:100%;border-radius:9px;background:#f6f9ff;overflow:hidden;color:#0b1b3a;padding:14px}
.sfa-stage .sv-h{margin:0;font:800 13px var(--display);display:flex;justify-content:space-between}
.sfa-stage .sv-h span{font:600 10px var(--body);color:#5a6d8c}
.sfa-stage .stock{margin-top:10px;padding-left:44px;display:grid;gap:6px}
.sfa-stage .stock div{display:grid;grid-template-columns:1.3fr 2fr .6fr;gap:10px;align-items:center;font:600 10.5px var(--body);color:#33476b;background:#fff;border:1px solid #e1eaf7;border-radius:7px;padding:7px 9px}
.sfa-stage .meter{height:7px;border-radius:9px;background:#e6eef9;overflow:hidden}
.sfa-stage .meter i{display:block;height:100%;border-radius:9px;background:linear-gradient(90deg,#1769ff,#29d3f2)}
.sfa-stage .meter i.lo{background:linear-gradient(90deg,#f5a524,#f7c35f)}
.sfa-stage .kp{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.sfa-stage .kp div{background:#fff;border:1px solid #dde7f5;border-radius:8px;padding:8px 10px;font:600 9.5px var(--body);color:#5a6d8c}
.sfa-stage .kp b{display:block;font:800 15px var(--display);color:#0b1b3a}
.sfa-stage .ph2{position:absolute;left:10px;top:120px;width:165px;height:300px;border-radius:24px;background:#071a36;padding:9px;box-shadow:0 26px 60px rgba(0,8,30,.6),0 0 0 1px rgba(120,190,255,.5)}
.sfa-stage .beat{padding:6px 8px 0;display:grid;gap:6px}
.sfa-stage .beat>div{display:grid;grid-template-columns:20px 1fr;gap:7px;align-items:center;padding:7px;border-radius:8px;background:#fff;border:1px solid #e1eaf7;font:700 9.5px var(--body)}
.sfa-stage .beat small{display:block;font-weight:600;color:#5a6d8c;font-size:8.5px}
.sfa-stage .beat .dot{width:20px;height:20px;border-radius:50%;display:grid;place-items:center;font-size:9px;color:#fff;background:#1769ff}
.sfa-stage .beat .done .dot{background:#0b7a53}
.vis-cap{position:absolute;left:0;bottom:-6px;margin:0;font:600 11.5px var(--body);color:#9db3d3}

/* ---------- 5. Industries (published D2 industry pages only) ---------- */
.dg-ind-band{background:#fff}
.ind-head{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px;align-items:end;margin-bottom:28px}
.ind-head .lead{max-width:52ch}
.ind-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none}
.ind-grid>li{display:flex}
.ind{flex:1;display:grid;grid-template-columns:46px 1fr 20px;gap:14px;align-items:center;min-height:84px;padding:18px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink);text-decoration:none;transition:border-color .2s,box-shadow .2s,transform .2s}
a.ind:hover{border-color:#b7cdf0;box-shadow:0 10px 26px rgba(14,48,110,.08);transform:translateY(-2px)}
a.ind:active{transform:translateY(0);box-shadow:0 4px 12px rgba(14,48,110,.08)}
.ind .ic{width:46px;height:46px;border-radius:12px;display:grid;place-items:center;background:var(--tile)}
.ind .ic svg{width:22px;height:22px;stroke:var(--blue);fill:none;stroke-width:1.8}
.ind-name{display:block;font-size:16px;line-height:1.3;font-weight:700}
.ind-text{display:block;margin-top:3px;color:var(--muted);font-size:13.5px;line-height:1.45}
.ind .go{color:var(--blue);display:grid;place-items:center}
.ind .go svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;transition:transform .2s}
a.ind:hover .go svg{transform:translateX(3px)}
.ind-foot{margin:16px 0 0;color:var(--muted);font-size:13.5px}

/* ---------- 6. Our Work: three industrial sample concepts (unlinked, D5) ---------- */
.work-grid.wk{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0;list-style:none}
.proj2{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:14px;overflow:hidden;box-shadow:0 1px 2px rgba(14,48,110,.04)}
.proj2 .thumb{aspect-ratio:16/10;position:relative;overflow:hidden;background:linear-gradient(160deg,#0a2a50,#061a35)}
.proj2 .body{padding:18px 18px 20px;display:flex;flex-direction:column;gap:8px;flex:1}
.proj2 .badge{align-self:flex-start}
.proj2 h3{font-size:17px;margin:0}
.proj2 p{color:var(--muted);font-size:14px;margin:0}
.proj2 .meta{display:flex;flex-wrap:wrap;gap:6px}
.shot{position:absolute;inset:18px 18px -20px;border-radius:10px 10px 0 0;background:#f6f9ff;box-shadow:0 18px 40px rgba(0,8,30,.45);overflow:hidden;font-family:var(--body);color:#0b1b3a}
.shot .mb{height:18px;background:#e9f0fb;border-bottom:1px solid #d7e3f5;display:flex;gap:4px;align-items:center;padding:0 8px}
.shot .mb i{width:5px;height:5px;border-radius:50%;background:#c3d2ea}
.shot .mc{padding:0;display:grid;gap:0}
.shot .nv{display:flex;align-items:center;gap:8px;padding:7px 10px;background:#fff;border-bottom:1px solid #e3ebf7;font:800 9px var(--display)}
.shot .nv span{font:600 7.5px var(--body);color:#5a6d8c}
.shot .nv span:first-of-type{margin-left:auto}
.shot .k3{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:8px 10px 0}
.shot .k3.k2{grid-template-columns:repeat(2,1fr)}
.shot .k3 div{background:#fff;border:1px solid #e3ebf7;border-radius:6px;padding:5px 7px;font:600 6.5px var(--body);color:#5a6d8c}
.shot .k3 b{display:block;font:800 11px var(--display);color:#0b1b3a}
.shot .bars{display:flex;align-items:flex-end;gap:5px;height:58px;margin:8px 10px 0;padding:6px 8px;background:#fff;border:1px solid #e3ebf7;border-radius:6px}
.shot .bars i{flex:1;border-radius:3px 3px 0 0;background:linear-gradient(180deg,#29d3f2,#1769ff)}
.shot .slots{display:grid;gap:4px;padding:8px 10px}
.shot .slot{display:grid;grid-template-columns:40px 1fr auto;gap:6px;align-items:center;padding:5px 7px;border-radius:5px;background:#fff;border:1px solid #e3ebf7;font:700 7px var(--body)}
.shot .slot small{color:#5a6d8c;font-weight:600}
.shot .slot em{font-style:normal;font:700 6px var(--body);padding:2px 5px;border-radius:9px;background:#e3f7ef;color:#0b7a53}
.shot .slot em.w{background:#fff3dd;color:#8a5806}
.wk-hint{display:none}
.wk-note{margin:18px 0 0;color:var(--muted);font-size:13.5px;max-width:80ch}
.work-grid.wk:focus-visible{outline:3px solid var(--blue-text);outline-offset:4px;border-radius:14px}

/* ---------- 7. Contact: direct email and location beside Form 1 ---------- */
.dg-direct{margin:26px 0 0;padding:0;list-style:none;display:grid;gap:12px}
.dg-direct li{display:grid;grid-template-columns:40px 1fr;gap:12px;align-items:center}
.dg-direct .ic{width:40px;height:40px;border-radius:10px;display:grid;place-items:center;border:1px solid var(--on-dark-line);background:rgba(255,255,255,.03)}
.dg-direct .dg-ic{width:18px;height:18px;stroke:var(--cyan)}
.dg-direct small{display:block;color:var(--on-dark-muted);font-size:12.5px}
.dg-direct b,.dg-direct a{color:#fff;font-size:15px;font-weight:700}
.dg-direct a{display:inline-block;padding-block:4px;text-decoration:underline;text-decoration-color:rgba(255,255,255,.35);text-underline-offset:3px}
.dg-direct a:hover{text-decoration-color:currentColor}

/* ---------- 8. Touch targets and hover states (phones: every tap target >= 44 px) ---------- */
.textlink{display:inline-flex;align-items:center;gap:8px;min-height:44px}
.textlink svg{transition:transform .2s}
.textlink:hover svg{transform:translateX(3px)}
.btn{transition:background-color .2s,border-color .2s,box-shadow .2s,transform .15s}
.btn:active{transform:translateY(1px)}
@media (max-width:980px){
  .menu-toggle{min-width:44px;min-height:44px}
  .nav .btn.btn-primary{min-height:44px}
}
@media (max-width:600px){
  .hero .cta-row .btn,.sfa-ctas .btn{min-height:48px}
  .dg-trust a{display:inline-block;padding-block:12px;margin-block:-12px}
  .faq-list .qa button{min-height:52px}
}

/* ---------- 9. Responsive ---------- */
@media (max-width:980px){
  .sfa2{grid-template-columns:1fr;gap:34px}
  .ind-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:760px){
  .hv{justify-self:stretch;max-width:none;margin:8px 0 30px}
  .dg-trust{font-size:13px;gap:8px 14px;margin-top:22px}
  .ind-head{grid-template-columns:1fr;gap:12px}
  .work-grid.wk{grid-template-columns:1fr;gap:14px}
}
@media (max-width:600px){
  .hv{display:none!important}
  .hv-m{display:block;margin:26px 0 6px}
  .hm-win{border-radius:14px;background:#f6f9ff;overflow:hidden;color:#0b1b3a;box-shadow:0 24px 50px rgba(0,8,30,.55),0 0 0 1px rgba(120,180,255,.35)}
  .hm-win .hv-bar b{font-size:12.5px}
  .hm-win .hv-bar em{font-size:10.5px}
  .hm-body{padding:12px;display:grid;gap:10px}
  .hm-kpis{display:grid;grid-template-columns:1fr 1fr;gap:10px}
  .hm-kpis .hv-kpi small{font-size:11.5px}.hm-kpis .hv-kpi b{font-size:22px}.hm-kpis .hv-kpi i{font-size:11px}
  .hm-body .hv-chart{height:130px}.hm-body .hv-ch{font-size:12px}
  .hm-body .hv-row{grid-template-columns:1fr auto;font-size:12px;padding:8px 10px}
  .hm-body .hv-row .pill{font-size:11px}
  .hm-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
  .hm-chips .hv-chip{position:static;font-size:12px}
  .hm-cap{margin:10px 0 0;color:#9db3d3;font-size:12px;font-weight:600}
  .uses{grid-template-columns:1fr}
  .ind-grid{grid-template-columns:1fr;gap:10px}
  .ind{padding:14px;min-height:72px}
  .sfa-ctas .btn{width:100%;justify-content:center}
  .work-grid.wk{display:flex;gap:12px;margin-inline:calc(-1 * var(--gutter));padding:2px var(--gutter) 8px;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:var(--gutter);scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .work-grid.wk::-webkit-scrollbar{display:none}
  .work-grid.wk .proj2{flex:0 0 82%;scroll-snap-align:start}
  .wk-hint{display:inline-flex;gap:6px;margin:0 0 12px;color:var(--muted);font-size:12.5px;font-weight:600}
  .wk-hint b{color:var(--blue-text)}
}

/* ---------- 10. Motion: hero entrance (off for reduced motion: the dg-motion class is only set without it) ---------- */
.dg-motion .hv-stage .hv-win{animation:dg-settle .9s var(--dg-ease,cubic-bezier(.2,.7,.2,1)) .35s backwards}
.dg-motion .hv-stage .hv-phone{animation:dg-rise .8s var(--dg-ease,cubic-bezier(.2,.7,.2,1)) .6s backwards}
.dg-motion .hv-stage .hv-chip{animation:dg-fade .5s ease-out backwards}
.dg-motion .hv-stage .hv-chip--a{animation-delay:1.05s}.dg-motion .hv-stage .hv-chip--b{animation-delay:1.2s}
.dg-motion .hv-m .hm-win{animation:dg-settle .8s var(--dg-ease,cubic-bezier(.2,.7,.2,1)) .35s backwards}
.dg-motion .dg-trust{animation:dg-fade .6s ease-out .55s backwards}
@media (prefers-reduced-motion:reduce){
  .hv-stage *,.hv-m *,.dg-trust,.ind,.use,.btn,.textlink svg{animation:none!important;transition:none!important}
}

/* ---------- 11. QA round 1 (3 Nov): touch targets ---------- */
.nav .brand{display:inline-flex;align-items:center;min-height:44px}
.dg-direct a{padding-block:10px;margin-block:-6px}
.dgf-logo{display:inline-flex;align-items:center;min-height:44px}
@media (max-width:600px){.dgf-contact li a{min-height:44px}}
/* the phone swipe row of Our Work: cards beyond the screen edge are shown at once (no reveal waiting off screen) */
@media (max-width:600px){.dg-motion .work-grid.wk [data-dg]{opacity:1!important;transform:none!important}}
