/* =========================================================
   Home page - "What We Do"
   Light grey band, left heading, 4 white rounded cards,
   black icon top-left, title + text pinned to the bottom.
   ========================================================= */
#about.section{
  background:#f1f3f5 !important;
  padding:96px 0 104px !important;
}
#about > .container{
  width:auto !important;
  max-width:none !important;
  margin:0 !important;
  padding:0 4% !important;
}
#about .row{ margin:0 !important; }
#about .no-subtitle{ padding:0 !important; float:none; width:auto; }
html body section#about h3.has-line{
  margin:0 0 36px !important;
  padding:0 !important;
  text-align:left !important;
  font-size:clamp(32px, 3vw, 44px) !important;
  line-height:1.1 !important;
  color:#0e1524 !important;
}
#about h3.has-line::after,#about h3.has-line:after{ display:none !important; content:none !important; }

.wwd-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:16px;
  margin:0;
  padding:0 4%;
  box-sizing:border-box;
  width:100%;
  text-align:left;
}

.wwd-card{
  position:relative;
  display:flex;
  flex-direction:column;
  min-height:400px;
  padding:28px 26px 26px;
  background:#fff;
  border:0;
  border-radius:16px;
  box-shadow:none;
  color:#0e1524;
  text-decoration:none !important;
  transition:transform .35s ease, box-shadow .35s ease;
}
.wwd-card:hover,
.wwd-card:focus-visible{
  transform:translateY(-6px);
  box-shadow:0 18px 40px rgba(14,21,36,.08);
  color:#0e1524;
}
.wwd-card:focus-visible{ outline:2px solid #0e1524; outline-offset:3px; }

/* icon: existing white sprite (top copy) turned black, top-left */
.wwd-icon{
  position:relative;
  display:block;
  flex:none;
  width:48px;
  height:48px;
  margin:0 0 auto;            /* pushes the text block to the bottom */
  background:none;
  transition:transform .35s ease;
}
.wwd-icon::before{
  content:"";
  position:absolute;
  left:0; top:0;
  width:48px; height:53px;
  background-image:var(--wwd-icon);
  background-repeat:no-repeat;
  background-position:left top;
  background-size:48px auto;
  filter:brightness(0);        /* white -> black */
}
.wwd-card:hover .wwd-icon{ transform:translateY(-3px); }
.wwd-brand  { --wwd-icon:url(../images/idea.png); }
.wwd-ads    { --wwd-icon:url(../images/design-icon.png); }
.wwd-web    { --wwd-icon:url(../images/mobile-icon.png); }
.wwd-mobile { --wwd-icon:url(../images/dev-icon.png); }

html body .wwd-card .wwd-title{
  margin:56px 0 10px !important;
  font-size:clamp(24px, 2vw, 30px) !important;
  line-height:1.15 !important;
  text-align:left !important;
  color:#0e1524 !important;
}
html body .wwd-card .wwd-text{
  margin:0 !important;
  font-size:14.5px !important;
  line-height:1.5 !important;
  text-align:left !important;
  color:#2f3644 !important;
}
.wwd-more{ display:none !important; }

/* tablets: 2 per row */
@media screen and (max-width:1100px){
  .wwd-grid{ grid-template-columns:repeat(2, 1fr); }
  .wwd-card{ min-height:340px; }
}

/* phones: 1 per row */
@media screen and (max-width:600px){
  #about.section{ padding:64px 0 72px !important; }
  #about > .container{ padding:0 16px !important; }
  html body section#about h3.has-line{ margin-bottom:24px !important; }
  .wwd-grid{ grid-template-columns:1fr; gap:12px; padding:0 16px; }
  .wwd-card{ min-height:0; padding:24px 22px; }
  html body .wwd-card .wwd-title{ margin-top:40px !important; }
}

@media (prefers-reduced-motion: reduce){
  .wwd-card,.wwd-icon{ transition:none; }
  .wwd-card:hover{ transform:none; }
}
