/* About Us — page-specific CSS.
   Everything shared (tokens, reset, buttons, page hero, .sec-intro, .exp-* band, CTA, footer)
   lives in shell.css. Ported verbatim from the approved design, about.html.

   Filename must stay in step with page-templates/tpl-about.php: stormwater_page_css_slug()
   strips the tpl- prefix, so tpl-about.php looks for pages/about.css and silently loads
   nothing if it is renamed. */

/* ---------- WHO WE ARE ---------- */
.about{background:#fff}
/* Wider container for this band only, so the content runs closer to the edges. Trade-off,
   accepted in the design: its left/right edges no longer line up with the sections above
   and below. */
.about > .wrap{max-width:1300px}
.about-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:48px;align-items:center}
.about h2{font-size:34px;font-weight:700;line-height:1.2;margin-bottom:22px}
.about p{color:var(--slate);font-size:15px;margin-bottom:16px}
.about .btn-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:24px}
.about-img{position:relative}
.about-img img{width:100%;height:470px;object-fit:cover;border-radius:var(--radius);box-shadow:var(--shadow-md);position:relative;z-index:1}
/* Accent frame: an outlined square behind the top-left corner and a solid one at the
   bottom-right, both purely decorative. */
.about-img::before{content:"";position:absolute;left:-18px;top:-18px;width:62%;height:62%;
  border:3px solid var(--blue-bright);border-radius:var(--radius);z-index:0;opacity:.65}
.about-img::after{content:"";position:absolute;right:-16px;bottom:-16px;width:70px;height:70px;
  background:var(--blue);border-radius:var(--radius);z-index:0;opacity:.9}

/* ---------- CREDENTIALS ROW ---------- */
.credrow{background:var(--bg-gray);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.credrow .grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:42px 0}
.crd{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 22px;text-align:center;box-shadow:var(--shadow-sm);transition:.25s}
.crd:hover{transform:translateY(-4px);box-shadow:var(--shadow-md)}
.crd .num{font-family:'Poppins';font-weight:800;font-size:38px;line-height:1.05;color:var(--blue);letter-spacing:-1px}
/* line-height tuned so the smaller text tiles keep the same line-box height as the 38px
   ones — that is what keeps all four labels on one baseline */
.crd .num.sm{font-size:29px;line-height:1.38}
.crd .num .plus{font-size:26px;font-weight:700}
.crd .lbl{font-size:13.5px;color:var(--slate);margin-top:7px;line-height:1.45}

/* ---------- MISSION & VISION ---------- */
.mv{background:var(--navy);color:#fff;position:relative;overflow:hidden}
.mv::before{content:"";position:absolute;inset:0;background:radial-gradient(880px 320px at 12% -25%,rgba(61,154,230,.22),transparent)}
.mv .wrap{position:relative;z-index:1}
.mv-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px}
.mv-card{background:rgba(255,255,255,.055);border:1px solid rgba(255,255,255,.11);border-radius:var(--radius);padding:34px 32px 36px}
/* A real heading, not a small uppercase label */
.mv-card h3{font-family:'Poppins';font-weight:600;font-size:24px;letter-spacing:-.2px;color:#fff}
.mv-rule{width:52px;height:3px;background:var(--blue-bright);margin:16px 0 20px}
.mv-card p{font-family:'Poppins';font-weight:500;font-size:18px;line-height:1.55;color:#eaf1f7}

/* ---------- CORE VALUES ---------- */
.values{background:#fff;position:relative;overflow:hidden}
.values::after{content:"";position:absolute;top:70px;left:-80px;width:220px;height:220px;
  background:radial-gradient(circle,rgba(26,111,192,.07),transparent 70%);pointer-events:none}
.val-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;margin-top:38px;text-align:left;position:relative;z-index:1}
.ibox{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:30px 26px 28px;box-shadow:var(--shadow-sm);transition:.25s;position:relative;overflow:hidden}
.ibox:hover{transform:translateY(-5px);box-shadow:var(--shadow-md)}
.ibox::before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:var(--blue);
  transform:scaleX(0);transform-origin:left;transition:transform .35s ease}
.ibox:hover::before{transform:scaleX(1)}
.ibox .ic{width:52px;height:52px;border-radius:8px;background:var(--bg-blue);display:flex;align-items:center;justify-content:center;margin-bottom:18px}
.ibox .ic svg{width:26px;height:26px;stroke:var(--blue);fill:none;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ibox h3{font-size:17.5px;font-weight:600;margin-bottom:10px;line-height:1.3}
.ibox p{font-size:14px;color:var(--slate)}

/* ---------- MILESTONES ---------- */
/* Three columns with NO gap, each carrying a top border, so the borders meet as one
   continuous rule. The dot has a 4px border in the SECTION background colour and a
   negative top margin, which is what makes it straddle the rule cleanly. */
.mstones{background:var(--bg-blue)}
.ms-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:46px}
/* the band sits inside .center, so the cards opt back out */
.ms-grid--left{text-align:left}
.mstone{border-top:3px solid #ccdff1;padding:0 30px}
.mstone:first-child{padding-left:0}
.mstone:last-child{padding-right:0;border-top-color:var(--blue)}
.mstone .dot{width:26px;height:26px;border-radius:50%;background:#a9c9e5;border:4px solid var(--bg-blue);margin:-14px 0 20px}
.mstone:last-child .dot{background:var(--blue)}
.mstone .yr{font-family:'Poppins';font-weight:800;font-size:26px;color:var(--blue);letter-spacing:-.4px;line-height:1.1;margin-bottom:9px}
.mstone h3{font-size:17.5px;font-weight:600;margin-bottom:10px;line-height:1.3}
.mstone p{font-size:14px;color:var(--slate)}

/* ---------- CAPABILITIES ---------- */
/* The .exp-* band comes from shell.css; About differs only in these two values. */
.capab{background:var(--bg-gray)}
.capab .exp-img img{height:400px}
.capab .checks{gap:18px 28px}

/* ---------- CREDENTIALS & COMPLIANCE ---------- */
.creds{background:#fff}
/* inline-grid inside a centred parent, so the ticks align in one column rather than each
   row centring on itself */
.cred-list{display:inline-grid;gap:16px;margin-top:32px;text-align:left}
.cred-list .chk span:last-child{font-size:16px}

/* ---------- RESPONSIVE ---------- */
@media(max-width:1024px){
  .about-grid{grid-template-columns:1fr;gap:40px}
  .about-img img{height:360px}
  .capab .exp-img img{height:330px}
  .credrow .grid{grid-template-columns:repeat(2,1fr)}
  .mv-grid{grid-template-columns:1fr}
  .val-grid{grid-template-columns:repeat(2,1fr)}
  /* The horizontal timeline becomes a left rail: the rule moves from the top edge to the
     left, and the dot moves out onto it with a negative left margin. */
  .ms-grid{grid-template-columns:1fr;gap:0}
  .mstone{padding:0 0 0 30px;border-top:0;border-left:3px solid #ccdff1;padding-bottom:28px}
  .mstone:first-child{padding-left:30px}
  .mstone:last-child{padding-right:0;padding-bottom:0;border-left-color:var(--blue)}
  .mstone .dot{margin:0 0 16px -44px}
}
@media(max-width:680px){
  .about h2{font-size:26px}
  .mv-card p{font-size:17px}
  .credrow .grid,.val-grid{grid-template-columns:1fr}
}
