/*
Theme Name: Sriram Bhargav — AI Portfolio
Theme URI: https://sbm78.au
Author: Sriram Bhargav Madhav
Author URI: https://sbm78.au
Description: Dark AI-executive portfolio theme — banner + 3-tile home (Insights / AI Lab / About), built to match the approved Layout 1 design.
Version: 1.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: sriram-theme
*/

*{box-sizing:border-box;margin:0;padding:0}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;background:#060B14;color:#E2EAF4}
:root{--teal:#00D9B5;--blue:#4F8EF7;--purple:#7C3AED;--amber:#F59E0B;--border:#1A2E4A;--muted:#6B84A3;--card:#0D1B35;--bg2:#0A1628}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

/* ---------- Nav ---------- */
.nav{background:rgba(6,11,20,.9);backdrop-filter:blur(16px);border-bottom:1px solid var(--border);padding:0 5%;height:60px;display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:100}
.logo{display:flex;align-items:center;gap:8px}
.logo-mark{width:32px;height:32px;background:linear-gradient(135deg,var(--teal),var(--blue));border-radius:7px;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#060B14}
.logo-name{font-size:15px;font-weight:700;color:#fff}
.nav-links{display:flex;gap:28px}
.nav-links .menu{display:flex;gap:28px;list-style:none}
.nav-links a{font-size:13px;color:var(--muted);cursor:pointer}
.nav-links a:hover,.nav-links a.is-active,.nav-links .current-menu-item a{color:#fff}
.nav-cta{background:var(--teal);color:#060B14;border:none;border-radius:7px;padding:8px 18px;font-size:13px;font-weight:600;cursor:pointer;display:inline-block}
.mobile-toggle{display:none;background:none;border:1px solid var(--border);color:#fff;border-radius:7px;padding:6px 12px;font-size:16px;cursor:pointer}

@media (max-width:820px){
  .nav-links{display:none;position:absolute;top:60px;left:0;right:0;background:#060B14;border-bottom:1px solid var(--border);padding:8px 5%}
  .nav-links.is-open{display:block}
  .nav-links .menu{flex-direction:column;gap:0}
  .nav-links a{display:block;padding:12px 0;border-bottom:1px solid var(--border)}
  .mobile-toggle{display:block}
}

.section{max-width:1160px;margin:0 auto;padding:70px 5%}

/* ---------- Tiles (shared card system) ---------- */
.tile{border-radius:16px;overflow:hidden;transition:all .25s;border:1px solid var(--border);background:var(--card);display:flex;flex-direction:column}
.tile:hover{transform:translateY(-4px);box-shadow:0 16px 48px rgba(0,0,0,.4)}
.tile-body{padding:28px;flex:1;display:flex;flex-direction:column}
.tile-icon{font-size:36px;margin-bottom:14px}
.tile-tag{font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.tile-title{font-size:20px;font-weight:800;color:#fff;margin-bottom:8px;line-height:1.3}
.tile-desc{font-size:13px;color:var(--muted);line-height:1.7;margin-bottom:18px}
.tile-link{font-size:13px;font-weight:600;display:flex;align-items:center;gap:4px;margin-top:auto}
.tile-preview{display:flex;flex-direction:column;gap:8px;margin-top:14px}
.preview-item{background:rgba(255,255,255,.04);border:1px solid var(--border);border-radius:8px;padding:9px 12px;font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px}
.preview-dot{width:5px;height:5px;border-radius:50%;flex-shrink:0}
.status-live{color:#4ADE80;font-size:10px;font-weight:700;margin-left:auto}
.status-beta{color:#FCD34D;font-size:10px;font-weight:700;margin-left:auto}
.status-planned{color:var(--muted);font-size:10px;font-weight:700;margin-left:auto}

/* ---------- Home banner (Layout 1) ---------- */
.l1-banner{background:linear-gradient(135deg,#060B14 0%,#0A1628 60%,#060B14 100%);border-bottom:1px solid var(--border);padding:40px 5%}
.l1-banner-inner{max-width:1160px;margin:0 auto;display:flex;align-items:center;gap:32px;flex-wrap:wrap}
.l1-photo{width:72px;height:72px;border-radius:50%;object-fit:cover;object-position:center top;border:2px solid rgba(0,217,181,.35);flex-shrink:0}
.l1-eyebrow{font-size:10px;font-weight:700;letter-spacing:.15em;color:var(--teal);text-transform:uppercase;margin-bottom:6px}
.l1-title{font-size:26px;font-weight:800;color:#fff;line-height:1.2;margin-bottom:6px}
.l1-title .hl{color:var(--teal)}
.l1-sub{font-size:14px;color:var(--muted);line-height:1.6;max-width:640px}
.l1-meta{display:flex;align-items:center;gap:12px;margin-top:16px;flex-wrap:wrap}
.l1-badge{background:rgba(0,217,181,.1);border:1px solid rgba(0,217,181,.2);color:var(--teal);font-size:11px;font-weight:600;padding:4px 10px;border-radius:20px;white-space:nowrap}
.l1-tiles{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}
.tile-bar{height:6px}

@media (max-width:820px){
  .l1-tiles{grid-template-columns:1fr}
  .l1-title{font-size:22px}
}

/* ---------- Generic page content ---------- */
.page-content{padding:64px 5% 90px;max-width:1160px;margin:0 auto}
.page-eyebrow{font-size:11px;font-weight:700;letter-spacing:.12em;color:var(--teal);text-transform:uppercase;margin-bottom:10px}
.page-title{font-size:clamp(1.8rem,3vw,2.4rem);font-weight:800;color:#fff;margin-bottom:18px;letter-spacing:-0.01em}
.page-lede{font-size:1.05rem;color:var(--muted);max-width:680px;line-height:1.7;margin-bottom:40px}

/* ---------- Insights (blog) list ---------- */
.post-list{display:flex;flex-direction:column;gap:0}
.post-card{padding:26px 0;border-bottom:1px solid var(--border)}
.post-card h2{font-size:1.25rem;font-weight:800;color:#fff;margin-bottom:6px}
.post-card h2 a:hover{color:var(--teal)}
.post-meta{color:var(--muted);font-size:.8rem;margin-bottom:10px}
.post-excerpt{color:var(--muted);font-size:.95rem;line-height:1.7}
.entry-content{font-size:1.02rem;color:#dbe3ee;line-height:1.8}
.entry-content p{margin-bottom:20px}
.entry-content h2,.entry-content h3{color:#fff;margin:32px 0 14px}

/* ---------- AI Lab grid ---------- */
.lab-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:20px}
@media (max-width:820px){.lab-grid{grid-template-columns:1fr}}

/* ---------- About page ---------- */
.about-layout{display:grid;grid-template-columns:260px 1fr;gap:48px;align-items:start}
@media (max-width:820px){.about-layout{grid-template-columns:1fr}}
.about-photo{width:140px;height:140px;border-radius:20px;object-fit:cover;object-position:center top;border:2px solid rgba(0,217,181,.3);margin-bottom:20px}
.about-fact{font-size:13px;color:var(--muted);margin-bottom:10px;display:flex;align-items:center;gap:8px}
.about-divider{height:1px;background:var(--border);margin:20px 0}
.about-cta{display:flex;flex-direction:column;gap:10px;margin-top:20px}
.btn-primary{background:var(--teal);color:#060B14;border:none;border-radius:7px;padding:11px 18px;font-size:13px;font-weight:700;cursor:pointer;text-align:center}
.btn-secondary{background:transparent;color:var(--muted);border:1px solid var(--border);border-radius:7px;padding:11px 18px;font-size:13px;cursor:pointer;text-align:center}
.credential-list{list-style:none;margin:16px 0 0}
.credential-list li{padding:10px 0;border-bottom:1px solid var(--border);font-size:.95rem;color:#dbe3ee}
.credential-list li span{display:block;color:var(--muted);font-size:.8rem;margin-top:2px}

/* ---------- Contact ---------- */
.contact-box{max-width:520px;background:var(--card);border:1px solid var(--border);border-radius:16px;padding:40px;text-align:center}
.contact-box .btn-primary{display:inline-block;margin-top:20px;padding:12px 28px}
.contact-links{display:flex;justify-content:center;gap:16px;margin-top:20px;font-size:.9rem}

/* ---------- Footer ---------- */
.site-footer{border-top:1px solid var(--border);padding:32px 5%;color:var(--muted);font-size:.85rem}
.footer-wrap{max-width:1160px;margin:0 auto;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}
.footer-menu{list-style:none;display:flex;gap:18px}
.footer-menu a:hover{color:#fff}
