/* Focused presentation refinements for the published Digsure marketing pages.
   The original design system remains the source of layout and brand colours. */
body.digsure-refined{
  --ink:#17243b;
  --blue:#245f9e;
  --blue-bright:#4c88bd;
  --grey:#68768a;
  --hairline:#dce3e9;
  --white:#fbfcfd;
  font-family:'Source Sans 3',sans-serif;
  color:#26364b;
  background:#fbfcfd;
}
body.digsure-refined h1,
body.digsure-refined h2,
body.digsure-refined h3,
body.digsure-refined h4,
body.digsure-refined h5,
body.digsure-refined h6{
  font-family:'Source Sans 3',sans-serif;
  letter-spacing:-.035em;
}
body.digsure-refined p{color:#536276;}
body.digsure-refined :focus-visible{
  outline:3px solid #80afd1;
  outline-offset:3px;
}
body.digsure-refined .ds-btn,
body.digsure-refined .hero__cta,
body.digsure-refined .hdr__order{
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,transform .2s ease;
}
body.digsure-refined .ds-btn:hover,
body.digsure-refined .hero__cta:hover{transform:translateY(-1px);}

/* Shared header: one desktop navigation row; contact details stay in the
   mobile drawer and footer while grouped links sit in compact dropdowns. */
body.digsure-refined .hdr{
  z-index:20;
  background:rgba(20,29,48,.9);
  backdrop-filter:blur(8px);
}
body.digsure-refined .hdr__utility{display:none;}
body.digsure-refined .hdr__main{
  max-width:1440px;
  padding:10px 36px 13px;
  gap:28px;
}
body.digsure-refined .hdr__logo img{height:53px;width:auto;}
body.digsure-refined .hdr__nav{
  gap:clamp(15px,1.8vw,28px);
  white-space:nowrap;
}
body.digsure-refined .hdr__nav > a,
body.digsure-refined .hdr__nav .hdr__dropdown-toggle{
  color:#f2f5f8;
  font:600 15px 'Source Sans 3',sans-serif;
}
body.digsure-refined .hdr__trust{
  display:flex;
  align-items:center;
  flex:none;
  gap:7px;
  color:#f2f5f8;
  text-decoration:none;
  white-space:nowrap;
  padding:0;
  background:none;
  border:0;
}
body.digsure-refined .hdr__trust:hover{color:#fff;text-decoration:none;}
body.digsure-refined .hdr__trust img{display:block;width:64px;height:auto;}
body.digsure-refined .hdr__trust span{display:flex;align-items:center;}
body.digsure-refined .hdr__trust strong{font-size:13px;font-weight:700;}
body.digsure-refined .hdr__nav > a:not(.hdr__order):hover,
body.digsure-refined .hdr__nav .hdr__dropdown-toggle:hover{
  border-bottom:2px solid var(--blue-bright);
  padding-bottom:2px;
}
body.digsure-refined .hdr__order{
  border:1px solid rgba(255,255,255,.68);
  padding:10px 17px;
  font-size:12px!important;
  letter-spacing:.07em;
  border-radius:2px;
}
body.digsure-refined .hdr__dropdown{position:relative;}
body.digsure-refined .hdr__dropdown-toggle{
  display:flex;
  align-items:center;
  gap:7px;
  padding:10px 0;
  border:0;
  background:none;
  cursor:pointer;
}
body.digsure-refined .hdr__dropdown-toggle::after{
  content:'';
  width:6px;height:6px;
  border-right:1px solid currentColor;
  border-bottom:1px solid currentColor;
  transform:rotate(45deg) translateY(-2px);
}
body.digsure-refined .hdr__dropdown-menu{
  position:absolute;
  top:100%;left:-16px;
  min-width:220px;
  padding:8px;
  background:#fbfcfd;
  border:1px solid #dce3e9;
  box-shadow:0 12px 28px rgba(13,26,43,.2);
  opacity:0;
  visibility:hidden;
  transform:translateY(5px);
  transition:opacity .18s ease,transform .18s ease,visibility .18s ease;
}
body.digsure-refined .hdr__dropdown:hover .hdr__dropdown-menu,
body.digsure-refined .hdr__dropdown:focus-within .hdr__dropdown-menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
body.digsure-refined .hdr__dropdown-menu a{
  display:block;
  padding:10px 12px;
  color:#26364b;
  font:500 14px 'Source Sans 3',sans-serif;
  white-space:normal;
}
body.digsure-refined .hdr__dropdown-menu a:hover{background:#edf3f7;text-decoration:none;}
body.digsure-refined .hdr.is-sticky,
body.digsure-refined .hdr.hdr--always-solid{background:#17243b;}

/* Homepage */
body.digsure-refined .hero{min-height:680px;height:min(100svh,900px);}
body.digsure-refined .hero__media{background:#17243b;}
@media(min-width:901px){
  body.digsure-refined .hero__media .slide-img{
    background-color:#17243b;
    background-repeat:no-repeat;
    background-size:54% auto;
    background-position:right center;
  }
  body.digsure-refined .hero__media .slide-img:nth-child(3){background-size:auto 78%;}
}
body.digsure-refined .hero__content{padding-top:24px;}
body.digsure-refined .hero__slide-text{max-width:540px;}
body.digsure-refined .hero__eyebrow{color:#e4edf5;letter-spacing:.12em;font-family:'Source Sans 3',sans-serif;}
body.digsure-refined .hero__title{
  font-family:'Source Sans 3',sans-serif;
  font-weight:600;
  font-size:clamp(38px,4.5vw,62px);
  letter-spacing:-.04em;
  max-width:14ch;
  text-shadow:none;
}
body.digsure-refined .hero__cta{
  background:#245f9e;
  border-color:#245f9e;
  border-radius:2px;
  text-transform:none;
  letter-spacing:.015em;
  font:700 16px 'Source Sans 3',sans-serif;
  padding:15px 24px;
}
body.digsure-refined .hero__eyebrow{text-shadow:none;}
body.digsure-refined .hero__qualification{
  color:rgba(242,246,250,.83);
  font-size:14px;
  line-height:1.55;
  max-width:56ch;
  margin:16px 0 0;
}
body.digsure-refined .hero__cards{padding-bottom:38px;}
body.digsure-refined .hero__card{padding-right:18px;}
body.digsure-refined .hero__card small{letter-spacing:.11em;}
body.digsure-refined .hero__card h3{
  font-family:'Source Sans 3',sans-serif;
  font-size:18px;
  font-weight:600;
  letter-spacing:-.02em;
}
body.digsure-refined .ds-section-head h2{letter-spacing:-.04em;}
body.digsure-refined .ds-client-strip{background:#f1f5f7;}
body.digsure-refined .ds-services-grid{gap:20px;}
body.digsure-refined .ds-service-card{
  min-height:0;
  aspect-ratio:auto;
  overflow:hidden;
  color:#17243b;
  background:#fff;
  border:1px solid #dce3e9;
}
body.digsure-refined .ds-service-card::before,
body.digsure-refined .ds-service-card::after{display:none;}
body.digsure-refined .ds-service-card img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  transition:none;
  background:#eef1f3;
}
body.digsure-refined .ds-service-card--map img,
body.digsure-refined .ds-service-card--plan img{
  object-fit:contain;
  padding:10px;
  background:#eef1f3;
}
body.digsure-refined .ds-service-card-title{
  position:static;
  display:block;
  padding:15px 18px 17px;
  margin:0;
  color:#17243b;
  font:600 20px/1.35 'Source Sans 3',sans-serif;
}
body.digsure-refined .ds-service-card:hover .ds-service-card-title{text-decoration:underline;text-underline-offset:3px;}
body.digsure-refined .ds-how-we-help{background:#17243b;}
body.digsure-refined .ds-how-we-help__stack span{font-family:'Source Sans 3',sans-serif;font-weight:700;}
body.digsure-refined .ds-testimonials__grid{gap:20px;}
body.digsure-refined .ds-testimonial{padding:30px;background:#fbfcfd;border-top-width:2px;}
body.digsure-refined .ds-testimonial p{font-style:normal;font-size:17px;}
body.digsure-refined .ds-testimonial footer a{font-size:13px;color:var(--blue);}
body.digsure-refined .ds-split video{
  aspect-ratio:16/9;
  object-fit:contain;
  background:#e9eef2;
  border:1px solid #cbd5df;
}
body.digsure-refined .ds-hero-inner .ds-hero-inner-content h1{
  text-shadow:0 2px 12px rgba(0,0,0,.55);
}
body.digsure-refined .ds-footer{background:#17243b;padding:60px 0 26px;}
body.digsure-refined .ds-footer-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;}
body.digsure-refined .ds-footer h5{font:700 14px 'Source Sans 3',sans-serif;letter-spacing:.05em;}
body.digsure-refined .ds-footer a{font-size:14px;}
body.digsure-refined .ds-footer-bottom{font-size:13px;}

/* About: plain-spoken business information and existing credentials only. */
body.digsure-refined .about-intro{
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr);
  align-items:center;
  gap:72px;
}
body.digsure-refined .about-intro__copy{max-width:720px;}
body.digsure-refined .about-intro__copy p{font-size:18px;line-height:1.8;}
body.digsure-refined .about-intro__image{
  width:100%;
  aspect-ratio:4/3;
  object-fit:contain;
  padding:8px;
  background:#e9eef2;
  border:1px solid #cbd5df;
}
body.digsure-refined .about-scope{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  margin-top:48px;
  border-top:1px solid #dce3e9;
}
body.digsure-refined .about-scope article{padding:22px 24px 0 0;}
body.digsure-refined .about-scope h3{font-size:18px;margin-bottom:8px;}
body.digsure-refined .about-scope p{font-size:15px;line-height:1.7;margin:0;}
body.digsure-refined .about-credentials{background:#f1f5f7;padding:54px 0;}
body.digsure-refined .about-credentials__head{max-width:650px;margin-bottom:28px;}
body.digsure-refined .about-credentials__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
body.digsure-refined .about-credential{
  min-height:180px;
  padding:20px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-align:center;
  background:#fbfcfd;
  border:1px solid #dce3e9;
}
body.digsure-refined .about-credential img{display:block;width:auto;height:86px;max-width:100%;object-fit:contain;}
body.digsure-refined .about-credential h3{font-size:14px;letter-spacing:0;margin:0;}
body.digsure-refined .about-credential p{font-size:12px;margin:0;}

/* Case studies: scan-friendly real project cards; preserve all original links/filters. */
body.digsure-refined .case-intro{max-width:740px;}
body.digsure-refined .case-intro p{font-size:17px;}
body.digsure-refined .ds-filter-tabs{gap:8px;padding-bottom:22px;margin-bottom:36px;}
body.digsure-refined .ds-filter-tab{
  border-radius:2px;
  font:600 14px 'Source Sans 3',sans-serif;
  text-transform:none;
  letter-spacing:0;
  padding:10px 15px;
}
body.digsure-refined .ds-card-grid#csCardGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:34px 24px;}
body.digsure-refined #csCardGrid .ds-card{
  border-bottom:1px solid #dce3e9;
  padding-bottom:22px;
}
body.digsure-refined #csCardGrid .ds-card-image-wrap{margin-bottom:16px;background:#e8edf1;}
body.digsure-refined #csCardGrid .ds-card-image{aspect-ratio:16/10;}
body.digsure-refined #csCardGrid .ds-card-image{
  object-fit:contain;
  padding:7px;
  background:#e9eef2;
  border:1px solid #cbd5df;
}
body.digsure-refined #csCardGrid .ds-card p{font-size:15px!important;line-height:1.65;margin:10px 0 0;}
body.digsure-refined #csCardGrid .ds-card-title{font-size:19px;}
body.digsure-refined #csCardGrid .ds-card:hover .ds-card-title{color:var(--blue);}

/* Contact */
body.digsure-refined .contact-intro{max-width:760px;}
body.digsure-refined .contact-form-wrap{
  background:#f5f7f8;
  border-color:#dce3e9;
  border-radius:2px;
  padding:34px;
}
body.digsure-refined .input-box label{
  font-family:'Source Sans 3',sans-serif;
  font-size:13px;
  letter-spacing:.025em;
  text-transform:none;
  color:#26364b;
}
body.digsure-refined .input-box input,
body.digsure-refined .input-box select,
body.digsure-refined .input-box textarea{
  color:#26364b;
  background:#fbfcfd;
  border:1px solid #cbd5df;
  border-radius:2px;
  padding:13px 14px;
}
body.digsure-refined .input-box input:focus,
body.digsure-refined .input-box select:focus,
body.digsure-refined .input-box textarea:focus{
  border-color:#245f9e;
  box-shadow:0 0 0 3px rgba(36,95,158,.12);
}
body.digsure-refined .contact-info-card{
  background:#17243b;
  border-radius:2px;
  padding:36px;
}
body.digsure-refined .contact-info-card h3{font-family:'Source Sans 3',sans-serif;}
body.digsure-refined .contact-info-item{font-size:15px;line-height:1.6;}
body.digsure-refined .contact-info-card p{color:rgba(245,247,249,.75)!important;}

@media(max-width:1150px) and (min-width:901px){
  body.digsure-refined .hdr__main{padding-left:24px;padding-right:24px;gap:16px;}
  body.digsure-refined .hdr__logo img{height:46px;}
  body.digsure-refined .hdr__nav{gap:13px;}
  body.digsure-refined .ds-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.digsure-refined .hdr__nav{display:none;}
  body.digsure-refined .hdr__burger{display:flex;}
  body.digsure-refined .hdr__mob-drawer,
  body.digsure-refined .hdr__mob-overlay{display:block!important;}
  body.digsure-refined .hdr__trust img{width:54px;}
}
@media(max-width:900px){
  body.digsure-refined .hdr__main{padding:12px 24px;}
  body.digsure-refined .hdr__logo img{height:46px;}
  body.digsure-refined .hdr__nav{display:none;}
  body.digsure-refined .ds-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  body.digsure-refined .hdr__burger{display:flex;}
  body.digsure-refined .hdr__mob-drawer{background:#17243b;}
  body.digsure-refined .hdr__mob-drawer__logo img{height:40px;}
  body.digsure-refined .hero__content{padding:20px 24px 0;}
  body.digsure-refined .hero__cards{padding:18px 24px 24px;}
  body.digsure-refined .hero__card h3{font-size:16px;margin-bottom:0;}
  body.digsure-refined .about-intro{grid-template-columns:1fr;gap:28px;}
  body.digsure-refined .about-intro__image{max-height:360px;}
  body.digsure-refined .ds-card-grid#csCardGrid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:767px){
  body.digsure-refined .hero{min-height:720px;height:auto;}
  body.digsure-refined .hero__media .slide-img{
    background-color:#17243b;
    background-repeat:no-repeat;
    background-size:100% auto;
    background-position:center bottom;
  }
  body.digsure-refined .hero__media .slide-img::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,#17243b 0%,#17243b 47%,rgba(23,36,59,.42) 66%,rgba(23,36,59,.2));
  }
  body.digsure-refined .hero__content{padding-top:22px;}
  body.digsure-refined .hero__title{font-size:clamp(36px,10vw,48px);}
  body.digsure-refined .hero__qualification{font-size:13px;max-width:42ch;}
  body.digsure-refined .hero__cards{gap:0;padding-top:8px;}
  body.digsure-refined .hero__card{padding:10px 12px 10px 17px;}
  body.digsure-refined .hero__card small{font-size:10px;margin-bottom:4px;}
  body.digsure-refined .ds-client-strip__label{padding:0 20px;line-height:1.6;}
  body.digsure-refined .about-scope{grid-template-columns:1fr;}
  body.digsure-refined .about-scope article{padding:18px 0;border-bottom:1px solid #dce3e9;}
  body.digsure-refined .about-credentials__grid{grid-template-columns:1fr;}
  body.digsure-refined .about-credential{min-height:145px;}
  body.digsure-refined .ds-card-grid#csCardGrid{grid-template-columns:1fr;gap:28px;}
  body.digsure-refined .ds-filter-tab{font-size:12px;padding:9px 12px;}
  body.digsure-refined .contact-form-wrap{padding:24px 18px;}
  body.digsure-refined .contact-info-card{padding:28px 22px;}
  body.digsure-refined .ds-footer-grid{grid-template-columns:1fr 1fr;gap:28px 20px;}
}
@media(max-width:767px){
  body.digsure-refined .hdr__main{padding:10px 14px;gap:10px;}
  body.digsure-refined .hdr__logo img{height:36px;}
  body.digsure-refined .hdr__trust{gap:5px;}
  body.digsure-refined .hdr__trust img{width:48px;}
  body.digsure-refined .hdr__trust strong{font-size:12px;}
}
@media(max-width:380px){
  body.digsure-refined .hdr__logo img{height:32px;}
  body.digsure-refined .hdr__trust img{width:42px;}
  body.digsure-refined .hdr__trust strong{font-size:11px;}
}
@media(prefers-reduced-motion:reduce){
  body.digsure-refined *,
  body.digsure-refined *::before,
  body.digsure-refined *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;}
}

/* Homepage hero: a full-bleed infrastructure scene with Digsure-blue
   engineering geometry. Kept within the homepage hero so inner pages remain
   unchanged. */
body.digsure-refined .hero{
  min-height:680px;
  height:min(100svh,900px);
  isolation:isolate;
  background:#17243b;
}
body.digsure-refined .hero .hero__media{z-index:0;background:#17243b;}
body.digsure-refined .hero .hero__media .slide-img{
  background-color:#17243b;
  background-repeat:no-repeat;
  background-size:cover;
  background-position:center;
  transform:scale(1.015);
  transition:opacity .9s ease,transform 7s ease;
}
body.digsure-refined .hero .hero__media .slide-img.is-active{transform:scale(1);}
body.digsure-refined .hero .hero__media .slide-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(12,26,45,.84) 0%,rgba(12,26,45,.68) 38%,rgba(12,26,45,.28) 72%,rgba(12,26,45,.2) 100%),
    linear-gradient(0deg,rgba(12,26,45,.56),transparent 48%);
}
body.digsure-refined .hero::before{
  z-index:2;
  height:auto;
  inset:0;
  background:
    linear-gradient(132deg,transparent 0 43%,rgba(36,95,158,.28) 43.1% 49%,transparent 49.1%),
    linear-gradient(132deg,rgba(18,42,69,.69) 0 38%,rgba(36,95,158,.42) 38.1% 45%,rgba(23,36,59,.1) 45.1% 53%,transparent 53.1%),
    linear-gradient(90deg,rgba(14,31,53,.28),transparent 76%);
  pointer-events:none;
}
body.digsure-refined .hero .hdr{
  position:absolute;
  inset:0 0 auto;
  z-index:20;
  width:100%;
  background:linear-gradient(180deg,rgba(13,27,46,.64),rgba(13,27,46,.12));
  backdrop-filter:blur(3px);
  transition:opacity .25s ease;
}
body.digsure-refined .hero .hdr.is-sticky{
  position:fixed;
  background:rgba(20,29,48,.96);
  box-shadow:0 2px 14px rgba(8,18,31,.2);
}
body.digsure-refined .hero .hdr__main{
  max-width:1440px;
  min-height:76px;
  padding:10px 36px 13px;
  gap:24px;
}
body.digsure-refined .hero .hdr__logo img{height:49px;}
body.digsure-refined .hero .hdr__nav{gap:clamp(14px,1.55vw,24px);}
body.digsure-refined .hero .hdr__nav > a,
body.digsure-refined .hero .hdr__nav .hdr__dropdown-toggle{
  color:#f3f6f8;
  font:600 14px 'Source Sans 3',sans-serif;
}
body.digsure-refined .hero .hdr__trust{color:#f3f6f8;}
body.digsure-refined .hero .hdr__order{
  border-color:rgba(255,255,255,.72);
  padding:10px 16px;
  border-radius:2px;
  font-size:12px!important;
}
body.digsure-refined .hero .hero__content{
  z-index:4;
  max-width:1440px;
  padding:100px 6vw 34px;
  align-items:center;
}
body.digsure-refined .hero .hero__slide-text{max-width:590px;}
body.digsure-refined .hero .hero__eyebrow{
  margin-bottom:17px;
  color:#d8e8f4;
  font-size:12px;
  letter-spacing:.15em;
}
body.digsure-refined .hero .hero__title{
  max-width:12ch;
  margin-bottom:26px;
  color:#fbfcfd;
  font:600 clamp(42px,5.1vw,68px)/1.04 'Source Sans 3',sans-serif;
  letter-spacing:-.035em;
  text-shadow:0 2px 18px rgba(8,18,31,.22);
}
body.digsure-refined .hero .hero__cta{
  padding:14px 23px;
  border:1px solid #245f9e;
  border-radius:2px;
  background:#245f9e;
  color:#fff;
  font:700 15px 'Source Sans 3',sans-serif;
  letter-spacing:.015em;
  text-transform:none;
}
body.digsure-refined .hero .hero__cta:hover{
  background:#194d83;
  border-color:#194d83;
  transform:translateY(-1px);
}
body.digsure-refined .hero .hero__qualification{
  max-width:52ch;
  margin:14px 0 0;
  color:rgba(247,249,251,.88);
  font-size:13px;
  line-height:1.5;
}
body.digsure-refined .hero .hero__cards{
  z-index:4;
  max-width:1440px;
  padding:22px 6vw 42px;
  background:linear-gradient(0deg,rgba(13,27,46,.48),transparent);
}
body.digsure-refined .hero .hero__card{
  min-height:92px;
  padding:9px 26px 8px 18px;
  border-left:1px solid rgba(243,246,248,.63);
}
body.digsure-refined .hero .hero__card .bar{background:rgba(255,255,255,.12);}
body.digsure-refined .hero .hero__card .bar i{background:#8db9dd;}
body.digsure-refined .hero .hero__card small{
  margin-bottom:8px;
  color:#dce9f3;
  font-size:11px;
  letter-spacing:.09em;
}
body.digsure-refined .hero .hero__card h3{
  max-width:26ch;
  margin:0;
  color:#f5f7f9;
  font:600 18px/1.3 'Source Sans 3',sans-serif;
  letter-spacing:-.015em;
}
body.digsure-refined .hero .hero__card:focus-visible{
  outline:3px solid #9cc7e7;
  outline-offset:4px;
}

@media(max-width:1150px) and (min-width:901px){
  body.digsure-refined .hero .hdr__main{padding-left:24px;padding-right:24px;}
  body.digsure-refined .hero .hdr__logo img{height:45px;}
  body.digsure-refined .hero .hdr__trust img{width:54px;}
}
@media(max-width:900px){
  body.digsure-refined .hero .hdr__main{padding:12px 24px;}
  body.digsure-refined .hero .hdr__logo img{height:46px;}
  body.digsure-refined .hero .hero__content{padding:120px 24px 20px;}
  body.digsure-refined .hero .hero__cards{padding:14px 24px 28px;}
}
@media(max-width:767px){
  body.digsure-refined .hero{min-height:760px;height:auto;}
  body.digsure-refined .hero .hero__media .slide-img{
    background-size:cover;
    background-position:center;
    transform:none;
  }
  body.digsure-refined .hero .hero__media .slide-img::after{
    background:linear-gradient(180deg,rgba(12,26,45,.92) 0%,rgba(12,26,45,.84) 39%,rgba(12,26,45,.42) 64%,rgba(12,26,45,.34) 100%);
  }
  body.digsure-refined .hero::before{
    background:
      linear-gradient(132deg,transparent 0 54%,rgba(36,95,158,.24) 54.1% 64%,transparent 64.1%),
      linear-gradient(132deg,rgba(18,42,69,.56) 0 47%,rgba(36,95,158,.3) 47.1% 58%,transparent 58.1%);
  }
  body.digsure-refined .hero .hdr__main{padding:10px 14px;gap:10px;}
  body.digsure-refined .hero .hdr__logo img{height:36px;}
  body.digsure-refined .hero .hdr__trust{gap:5px;}
  body.digsure-refined .hero .hdr__trust img{width:48px;}
  body.digsure-refined .hero .hero__content{padding:112px 24px 14px;}
  body.digsure-refined .hero .hero__title{font-size:clamp(38px,10vw,48px);}
  body.digsure-refined .hero .hero__qualification{font-size:12px;max-width:42ch;}
  body.digsure-refined .hero .hero__cards{grid-template-columns:1fr;gap:0;padding:8px 24px 22px;}
  body.digsure-refined .hero .hero__card{min-height:auto;padding:10px 12px 10px 17px;}
  body.digsure-refined .hero .hero__card h3{font-size:16px;}
}
@media(max-width:380px){
  body.digsure-refined .hero .hdr__logo img{height:32px;}
  body.digsure-refined .hero .hdr__trust img{width:42px;}
  body.digsure-refined .hero .hdr__trust strong{font-size:11px;}
  body.digsure-refined .hero .hero__content{padding-right:18px;padding-left:18px;}
}

/* Homepage service clarity: concise deliverables stay legible without
   changing the approved photo hero or the existing service-card imagery. */
body.digsure-refined .hero .hero__deliverable{
  max-width:48ch;
  margin:-12px 0 19px;
  color:rgba(247,249,251,.94);
  font-size:17px;
  line-height:1.45;
}
body.digsure-refined .hero .hero__actions{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:18px;
}
body.digsure-refined .hero .hero__secondary{
  color:#f3f6f8;
  font:600 15px 'Source Sans 3',sans-serif;
  text-decoration:underline;
  text-decoration-color:rgba(213,231,245,.65);
  text-underline-offset:4px;
}
body.digsure-refined .hero .hero__secondary:hover{color:#c7e0f3;}
body.digsure-refined .ds-service-card-title{padding-bottom:6px;}
body.digsure-refined .ds-service-card-description{
  margin:0;
  padding:0 18px 13px;
  color:#536276;
  font-size:15px;
  line-height:1.55;
}
body.digsure-refined .ds-service-card-link{
  display:block;
  padding:0 18px 18px;
  color:#245f9e;
  font:700 14px/1.4 'Source Sans 3',sans-serif;
  text-decoration:underline;
  text-decoration-color:rgba(36,95,158,.4);
  text-underline-offset:3px;
}
body.digsure-refined .ds-service-card:hover .ds-service-card-link{
  color:#194d83;
  text-decoration-color:currentColor;
}
@media(max-width:767px){
  body.digsure-refined .hero .hero__deliverable{font-size:15px;margin-top:-10px;}
  body.digsure-refined .hero .hero__actions{gap:14px;}
  body.digsure-refined .ds-service-card-description{font-size:14px;}
}

/* Homepage service-preview hero. All changes are isolated to this page's
   uniquely marked hero; inner-page .hero layouts remain untouched. */
body.digsure-refined .hp-hero{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:690px;
  height:min(100svh,900px);
  isolation:isolate;
  overflow:hidden;
  background:#17243b;
}
body.digsure-refined .hp-hero .hero__media{z-index:0;background:#17243b;}
body.digsure-refined .hp-hero .hero__media{container-type:size;}
body.digsure-refined .hp-hero .hero__media .slide-img{
  box-sizing:border-box;
  background-color:#17243b;
  background-repeat:no-repeat;
  background-size:contain;
  background-position:center;
  background-origin:content-box;
  padding:5% 8%;
  transform:none;
  transition:opacity .32s ease;
}
body.digsure-refined .hp-hero .hero__media .slide-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(16,31,52,.62) 0%,rgba(16,31,52,.42) 43%,rgba(16,31,52,.16) 100%);
}
body.digsure-refined .hp-hero::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
   background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 900' preserveAspectRatio='none'%3E%3Cpath d='M0 0H450L893 450L450 900H0Z' fill='%233d79ad' fill-opacity='.066'/%3E%3Cpath d='M0 0H475L979 450L475 900H0Z' fill='%23245f9e' fill-opacity='.05'/%3E%3Cpath d='M0 0H500L1051 450L500 900H0Z' fill='%238db9dd' fill-opacity='.033'/%3E%3C/svg%3E");
  background-size:100% 100%;
  background-repeat:no-repeat;
}
body.digsure-refined .hp-hero::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  pointer-events:none;
   clip-path:polygon(0 0,32% 0,55% 50%,32% 100%,0 100%);
  background:linear-gradient(108deg,rgba(13,29,51,.5) 0%,rgba(20,49,81,.42) 60%,rgba(36,95,158,.25) 100%);
}
body.digsure-refined .hp-hero .hdr{position:absolute;inset:0 0 auto;z-index:20;}
body.digsure-refined .hp-hero .hero__content{
  z-index:4;
  width:100%;
  max-width:1440px;
  margin:auto;
  padding:142px 6vw 28px;
  align-items:flex-start;
  flex:1;
}
body.digsure-refined .hp-hero .hero__slide-text{max-width:650px;}
body.digsure-refined .hp-hero .hero__eyebrow{
  margin:0 0 16px;
  color:#d7e7f4;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
body.digsure-refined .hp-hero .hero__title{
  max-width:13ch;
  margin:0 0 18px;
  color:#fbfcfd;
  font:600 clamp(44px,5.3vw,72px)/1.02 'Source Sans 3',sans-serif;
  letter-spacing:-.04em;
  text-shadow:none;
}
body.digsure-refined .hp-hero .hero__deliverable{
  max-width:47ch;
  margin:0 0 24px;
  color:rgba(247,249,251,.94);
  font-size:18px;
  line-height:1.5;
}
body.digsure-refined .hp-hero .hero__actions{display:flex;align-items:center;gap:24px;}
body.digsure-refined .hp-hero .hero__cta{
  padding:14px 22px;
  border:1px solid #245f9e;
  border-radius:2px;
  background:#245f9e;
  color:#fff;
  font:700 15px 'Source Sans 3',sans-serif;
  text-decoration:none;
  text-transform:none;
}
body.digsure-refined .hp-hero .hero__cta:hover{background:#194d83;border-color:#194d83;}
body.digsure-refined .hp-hero .hero__secondary{
  color:#f3f6f8;
  font:600 15px 'Source Sans 3',sans-serif;
  text-decoration:underline;
  text-underline-offset:4px;
}
body.digsure-refined .hp-hero .hero__secondary:hover{color:#c7e0f3;}
body.digsure-refined .hp-hero .hero__qualification{
  max-width:54ch;
  margin:16px 0 0;
  color:rgba(247,249,251,.82);
  font-size:13px;
  line-height:1.5;
}
body.digsure-refined .hp-hero .hero__cards{
  z-index:4;
  width:100%;
  max-width:1440px;
  margin:0 auto;
  padding:18px 6vw 36px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0;
  background:linear-gradient(0deg,rgba(13,27,46,.52),transparent);
}
body.digsure-refined .hp-hero .hero__service{
  min-width:0;
  padding:0 22px;
  border-left:1px solid rgba(243,246,248,.42);
}
body.digsure-refined .hp-hero .hero__service:first-child{padding-left:0;border-left:0;}
body.digsure-refined .hp-hero .hero__card{
  width:100%;
  min-height:96px;
  padding:8px 4px 8px 0;
  display:block;
  border:0;
  background:transparent;
  color:#f5f7f9;
  text-align:left;
  cursor:pointer;
  border-radius:2px;
  transition:background-color .2s ease,color .2s ease;
}
body.digsure-refined .hp-hero .hero__service:hover .hero__card{
  background:rgba(11,27,47,.32);
}
body.digsure-refined .hp-hero .hero__card small{
  display:block;
  margin:0 0 8px;
  color:#dce9f3;
  font:700 17px/1.25 'Source Sans 3',sans-serif;
  letter-spacing:0;
  text-transform:none;
}
body.digsure-refined .hp-hero .hero__card-description{
  display:block;
  max-width:34ch;
  color:rgba(250,251,252,.91);
  font:400 15px/1.45 'Source Sans 3',sans-serif;
}
body.digsure-refined .hp-hero .hero__service.is-selected .hero__card small{color:#fff;}
body.digsure-refined .hp-hero .hero__service.is-selected{border-left-color:#8db9dd;}
body.digsure-refined .hp-hero .hero__service.is-selected .hero__card{
  background:rgba(11,27,47,.46);
  box-shadow:inset 0 2px #9cc7e7;
}
body.digsure-refined .hp-hero .hero__service.is-selected .hero__card-description{color:#fff;}
body.digsure-refined .hp-hero .hero__order-link{
  display:inline-block;
  margin:8px 0 0;
  padding:10px 14px;
  border:1px solid rgba(215,231,244,.7);
  border-radius:2px;
  background:rgba(16,31,52,.75);
  color:#f5f7f9;
  font:600 14px/1.4 'Source Sans 3',sans-serif;
  text-decoration:none;
}
body.digsure-refined .hp-hero .hero__order-link:hover{color:#fff;background:#245f9e;}
body.digsure-refined .hp-hero .visually-hidden{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
body.digsure-refined .hp-hero .hero__card:focus-visible,
body.digsure-refined .hp-hero .hero__order-link:focus-visible,
body.digsure-refined .hp-hero .hero__secondary:focus-visible,
body.digsure-refined .hp-hero .hero__cta:focus-visible{
  outline:3px solid #9cc7e7;
  outline-offset:4px;
}
@media(max-width:900px){
  body.digsure-refined .hp-hero{min-height:790px;height:auto;}
  body.digsure-refined .hp-hero .hero__content{padding:132px 24px 24px;}
  body.digsure-refined .hp-hero .hero__cards{padding:16px 24px 30px;}
}
@media(max-width:767px){
  body.digsure-refined .hp-hero{min-height:0;height:auto;}
  body.digsure-refined .hp-hero::after{
    inset:0 0 auto;
    height:clamp(420px,72svh,620px);
    background-size:73% 100%;
  }
  body.digsure-refined .hp-hero::before{
    inset:0 0 auto;
    height:clamp(420px,72svh,620px);
    clip-path:polygon(0 0,24% 0,40% 50%,24% 100%,0 100%);
    background:linear-gradient(108deg,rgba(13,29,51,.5) 0%,rgba(20,49,81,.42) 65%,rgba(36,95,158,.25) 100%);
  }
  body.digsure-refined .hp-hero .hero__media .slide-img{
    background-position:center bottom;
    background-size:88% auto;
    background-origin:padding-box;
    padding:0;
  }
  body.digsure-refined .hp-hero .hero__media .slide-img::after{
    background:linear-gradient(180deg,rgba(16,31,52,.62) 0%,rgba(16,31,52,.42) 43%,rgba(16,31,52,.16) 100%);
  }
  body.digsure-refined .hp-hero .hero__content{padding:112px 22px 20px;}
  body.digsure-refined .hp-hero .hero__title{font-size:clamp(40px,10vw,54px);}
  body.digsure-refined .hp-hero .hero__deliverable{font-size:16px;}
  body.digsure-refined .hp-hero .hero__qualification{font-size:12px;}
  body.digsure-refined .hp-hero .hero__cards{
    grid-template-columns:1fr;
    gap:0;
    padding:10px 22px 24px;
  }
  body.digsure-refined .hp-hero .hero__service,
  body.digsure-refined .hp-hero .hero__service:first-child{
    padding:12px 0;
    border-left:0;
    border-top:1px solid rgba(243,246,248,.4);
  }
  body.digsure-refined .hp-hero .hero__card{min-height:0;padding:6px 2px 8px;}
  body.digsure-refined .hp-hero .hero__card-description{max-width:44ch;}
}
body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]{
  background-image:none!important;
  background-color:#17243b;
  overflow:hidden;
}
body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]::before{
  content:"";
  position:absolute;
  inset:-18px;
  background:url("../images/cad-hero-sommerstown.webp") center/cover no-repeat;
  filter:blur(15px);
  transform:scale(1.04);
  opacity:.82;
}
body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]::after{
  background-image:
    linear-gradient(90deg,rgba(16,31,52,.62) 0%,rgba(16,31,52,.42) 43%,rgba(16,31,52,.16) 100%),
    linear-gradient(0deg,rgba(16,31,52,.25),transparent 48%),
    url("../images/cad-hero-sommerstown.webp");
  background-size:cover,cover,82% auto;
  background-position:center,center,center;
  background-repeat:no-repeat;
}
@supports (width:1cqw){
  body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]::after{
    background-size:cover,cover,max(82cqw,145.8cqh) auto;
  }
}
body.digsure-refined .hp-hero__rotation{
  position:absolute;
  z-index:6;
  right:clamp(20px,6vw,86px);
  bottom:19px;
  padding:7px 12px;
  border:1px solid rgba(231,241,249,.58);
  border-radius:2px;
  background:rgba(14,31,52,.78);
  color:#f5f7f9;
  font:600 12px 'Source Sans 3',sans-serif;
  cursor:pointer;
}
body.digsure-refined .hp-hero__rotation:hover{background:#245f9e;}
body.digsure-refined .hp-hero__rotation:focus-visible{
  outline:3px solid #9cc7e7;
  outline-offset:3px;
}
@media(prefers-reduced-motion:reduce){
  body.digsure-refined .hp-hero .hero__media .slide-img{transition:none;}
}
@media(max-width:767px){
  body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]::after{
    background-size:cover,cover,82% auto;
    background-position:center,center,center bottom;
  }
  body.digsure-refined .hp-hero__rotation{right:22px;bottom:12px;}
}
@media(max-width:767px){
  @supports (width:1cqw){
    body.digsure-refined .hp-hero .hero__media .slide-img[data-hero-image="cad"]::after{
      background-size:cover,cover,max(82cqw,145.8cqh) auto;
    }
  }
}

/* Keep the service-specific copy area stable while the selected preview changes. */
body.digsure-refined .hp-hero .hero__title{min-height:2.1em;}
body.digsure-refined .hp-hero .hero__deliverable{min-height:4.5em;}
body.digsure-refined .hp-hero .hero__actions{min-height:48px;}
body.digsure-refined .hp-hero .hero__qualification{min-height:4.5em;}
@media(max-width:767px){
  body.digsure-refined .hp-hero .hero__title{min-height:2.1em;}
  body.digsure-refined .hp-hero .hero__deliverable{min-height:4.5em;}
  body.digsure-refined .hp-hero .hero__actions{
    min-height:96px;
    flex-direction:column;
    align-items:flex-start;
    justify-content:flex-start;
    gap:14px;
  }
  body.digsure-refined .hp-hero .hero__qualification{min-height:6em;}
}
