:root{
  --max-width:1200px;
  --muted:#6b7280;
}
*{box-sizing:border-box}
body{font-family:Inter,system-ui,Segoe UI,Arial,Helvetica,sans-serif;color:#111;margin:0;line-height:1.4;background:#fff}
.container{max-width:var(--max-width);margin:0 auto;padding:0 24px}
.site-header{border-bottom:1px solid #eee;background:#fff;color:inherit}
.header-inner{display:flex;align-items:center;justify-content:space-between;padding:26px 0}
.brand{font-family:Oswald,system-ui,Arial,Helvetica,sans-serif;font-weight:700;letter-spacing:0.06em;font-size:2.4em;color:#111}
.main-nav a{margin-left:22px;color:var(--muted);text-decoration:none;font-size:14px}

.hero{padding:40px 0 20px}
.hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:center}
.hero-text .small{font-size:12px;color:var(--muted);letter-spacing:0.12em;margin-bottom:12px}
.hero-text h1{font-family:Oswald,system-ui,Arial,Helvetica,sans-serif;font-size:56px;margin:0 0 18px;line-height:1}
.lead{color:var(--muted);max-width:560px;margin-bottom:22px}
.btn{display:inline-block;padding:10px 14px;border:1px solid #111;text-decoration:none;color:#111;font-weight:600}
.back-btn{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;border:1px solid #111;background:transparent;color:#111;text-decoration:none;font-weight:700}
.back-btn:hover{background:#111;color:#fff}
.hero-visual{width:100%;height:420px;overflow:hidden;border-radius:6px}
.hero-visual img,.hero-svg{width:100%;height:100%;display:block;object-fit:cover}
.thumb img{width:100%;height:auto;display:block;border-radius:4px}

.featured{padding:24px 0}
.section-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:18px}
.section-head h2{margin:0;font-size:20px}
.projects-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}
.card{display:flex;flex-direction:column}
.thumb svg{width:100%;height:auto;border-radius:4px}
.card-link{color:inherit;text-decoration:none;display:block}
.project-page .project-hero{display:grid;grid-template-columns:1fr 520px;gap:28px;align-items:start;margin-bottom:28px}
.project-hero-left{padding:40px;border-radius:6px;color:#fff;background:#000}
.project-hero-left h1{font-size:56px;margin-top:0;margin-bottom:8px}
.project-hero-left p{color:rgba(255,255,255,0.92)}
.project-hero-left .muted{color:rgba(255,255,255,0.75)}
.project-hero-right{align-self:stretch}
.project-hero-right img{width:100%;height:100%;object-fit:cover;border-radius:6px;box-shadow:0 8px 30px rgba(0,0,0,0.25)}
.project-section{margin-bottom:20px}
.gallery{display:flex;gap:12px;align-items:start}
.gallery img{width:220px;height:auto;border-radius:6px}

/* Project CTA buttons (matches reference) */
.project-ctas{display:flex;gap:18px;justify-content:center;margin:36px 0}
.project-ctas a{display:inline-flex;align-items:center;justify-content:center;width:160px;padding:8px 0;border-radius:999px;background:#111;color:#fff;text-decoration:none;font-weight:700}
.project-ctas a.secondary{background:#111;opacity:0.95}
.project-ctas a:hover{background:#333}

/* Layout wrapper to align back button left while centering CTAs */
.project-actions{position:relative;margin:36px 0;min-height:44px}
.project-actions .project-ctas{position:relative;margin:0 auto;z-index:1}
.project-actions .back-btn{position:absolute;left:0;top:50%;transform:translateY(-50%);display:inline-flex;align-items:center;justify-content:center;padding:8px 14px;border-radius:999px;border:1px solid #111;background:#fff;color:#111;font-weight:700;z-index:5}
.project-actions .back-btn:hover{background:#111;color:#fff}

@media (max-width:900px){
  .project-actions{min-height:0}
  .project-actions .back-btn{position:static;transform:none;margin-bottom:12px}
  .project-actions .project-ctas{justify-content:center;flex-wrap:wrap}
}
.meta{padding-top:10px}
.index{display:block;color:var(--muted);font-size:12px}
.card h3{margin:6px 0}
.muted{color:var(--muted);font-size:14px}

.capabilities{padding:56px 0;border-top:1px solid #f1f1f1}
.cap-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.cap strong{display:block;margin-bottom:8px}

.site-footer{border-top:1px solid #eee;padding:36px 0 20px;background:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr auto;gap:24px;align-items:start}
.tech-connect{display:flex;gap:18px;align-items:flex-start;justify-content:center;grid-column:1/-1}
.tech-connect .links-col{min-width:120px}
.links{ text-align:left }
.logo{font-weight:700;font-size:28px}
.footer-grid h4{margin:0 0 10px}
.footer-grid ul{list-style:none;padding:0;margin:0;text-align:left}
.links{ text-align:left }
.footer-grid li{color:var(--muted);margin-bottom:6px}
.copyright{font-size:13px;color:var(--muted);text-align:center;padding-top:18px}

/* Let's Connect buttons */
.tech-connect .connect{display:flex;flex-direction:column;align-items:center}
.tech-connect .connect h4{text-align:center;width:100%}
.tech-connect .connect ul{padding:0;margin:0;display:flex;flex-direction:row;align-items:center;gap:12px;flex-wrap:wrap}
.tech-connect .connect li{margin:0}
.tech-connect .connect a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:160px;
  padding:8px 0;
  background:#111;
  color:#fff;
  text-decoration:none;
  border-radius:999px;
  font-weight:600;
  box-sizing:border-box;
}
.tech-connect .connect a:hover{background:#333}

@media (max-width:900px){
  .hero-grid{grid-template-columns:1fr}
  .projects-grid{grid-template-columns:repeat(2,1fr)}
  .cap-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr}
  .project-page .project-hero{grid-template-columns:1fr}
  .project-hero-right img{height:360px}
}

@media (max-width:480px){
  .hero-text h1{font-size:36px}
  .projects-grid{grid-template-columns:1fr}
}
