/* Mosaic Mind — Cleaned CSS (per preferred look) */

:root{
  --charcoal:#2B2B2B;
  --slate:#4F5B66;
  --burgundy:#770737;
  --gold:#c6a664;
  --gold-deep:#a4894f;
  --ivory:#f4efe6;
  --ink:#0b0f14;
  --line:rgba(198,166,100,.18);
  --about-offset:125px; /* approx height of "About" heading; adjust as needed */
}

/* Base */
*{box-sizing:border-box}
html,body{margin:0;padding:0;background:linear-gradient(180deg,#0b0f14,#121416);color:var(--ivory);font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif}
a{color:var(--gold);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1160px;margin:0 auto;padding:0 22px}

/* Type scale */
.h1{font-family:'Rajdhani',sans-serif;font-size:46px;line-height:1.05;margin:0 0 10px}
.h2, h2{font-family:'Rajdhani',sans-serif;font-size:25px;margin:0 0 8px}
.lead{font-size:15px;color:rgba(255,255,255,.8)}
.muted{color:rgba(255,255,255,.7)}

/* Hero - FIXED: Added grid layout */
.hero{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: stretch;
  width:100%;
  padding:72px 0 52px;
  border-bottom:1px solid var(--line);
}
.hero .media{overflow:visible;align-self: stretch; display:flex;align-items:center;justify-content:flex-end}
.hero .media img{
  width:80%;
  border:2px solid var(--line);
  border-radius:12px;
  box-shadow:20 18px 50px rgba(0,0,0,.45);
  transform:scale(1);
  transform-origin:top right;
}

/* KPIs */
.kpis{max-width:650px;margin-top:16px}
.kpi{
  width:100%;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0
}
.kpi + .kpi{margin-top:18px}
.kpi strong{font-size:22px;color:var(--gold)}
.hero .kpis .kpi .muted{font-size:16px;line-height:1.25}

/* Sections & Cards */
.section{padding:46px 0;border-bottom:1px solid var(--line)}
.card{
  background:linear-gradient(180deg,rgba(198,166,100,.06),rgba(0,0,0,.05));
  border:1px solid var(--line);
  border-radius:14px;
  padding:16px
}
.card h3{margin:10px 0 6px;font-size:20px}
.card p{margin:0;color:rgba(255,255,255,.9)}
.card p:last-child{margin-top:10px}

/* Approach: side-by-side (3 columns) */
.approach{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;align-items:stretch}
.approach .card{height:100%}

/* Equal-height tiles across grids */
.grid-3,.grid-2{display:grid;gap:18px;align-items:stretch}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:1fr 1fr}
.grid-3 > article.card,
.grid-2 > article.card,
.grid-3 > .card,
.grid-2 > .card{display:flex;flex-direction:column;height:100%}
.grid-3 > article.card > img,
.grid-2 > article.card > img,
.grid-3 > .card > img,
.grid-2 > .card > img{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line)
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  font-weight:800;
  text-decoration:none;
  border:1px solid transparent;
  transition:all .2s ease;
  cursor:pointer
}
.btn:focus{outline:2px solid rgba(255,255,255,.25);outline-offset:2px}
.btn-steel{
  color:#0D1B2A;
  background:linear-gradient(180deg,#f7f9fc 0%,#e4e9ef 45%,#cfd6de 55%,#eef2f6 100%);
  border-color:#b2b8c2;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.75), inset 0 -1px 0 rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.08)
}
.btn-steel:hover{transform:translateY(-1px)}
.btn-burgundy{
  background:linear-gradient(180deg,#8a0a43 0%,#770737 50%,#5d052c 100%);
  color:#ffffff;
  border-color:#6a0530;
  box-shadow:inset 0 2px 4px rgba(255,255,255,.06), inset 0 -2px 4px rgba(0,0,0,.25), 0 4px 10px rgba(0,0,0,.25)
}
.btn-burgundy:hover{transform:translateY(-1px)}
.btn-gold{
  background:linear-gradient(180deg,#ffd700 0%,#e6b800 40%,#c9a227 60%,#ffd700 100%);
  color:#151515;
  border-color:#b38f00;
  box-shadow:inset 0 2px 4px rgba(255,255,255,.6), inset 0 -2px 4px rgba(0,0,0,.2), 0 4px 8px rgba(0,0,0,.25);
  text-shadow:0 1px 1px rgba(255,255,255,.5)
}
.btn-gold:hover{transform:translateY(-1px)}

/* Footer - DEPRECATED: Use unified footer from opsartica-unified.css */
.site-footer{padding:28px 0;border-top:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.2)}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.footer-left{display:flex;align-items:center;gap:12px}
.footer-logo{width:32px;height:32px;border-radius:8px}
.btn-return{min-width:160px;text-align:center}

/* Spacing around KPIs */
.hero .hero-actions{margin-bottom:10px}
.hero .hero-actions + .kpis{margin-top:10px}
.hero .kpis{display:block}
.hero .kpis > .kpi{margin:0}
.hero .kpis > .kpi + .kpi{margin-top:18px}

/* Responsive */
@media(max-width:980px){
  .grid-3,.grid-2,.approach{grid-template-columns:1fr}
  .hero{grid-template-columns:1fr} /* Stack hero on mobile */
  .hero .media{justify-content:center}
  .hero .media img{transform:scale(1.15)} /* soften scaling on small screens */
}

/* Legacy helper */
.edit-id{color:var(--gold);opacity:.75;margin-left:.35rem;font-size:.9em}
