/* ==========================================================
   Sumeet Saraf — dark-mode tech theme
   ========================================================== */

:root {
    --bg-deep: #07090f;
    --bg: #0a0e1a;
    --surface: #111827;
    --surface-2: #161f33;
    --border: #1f2a44;
    --border-strong: #2c3a5c;
    --text: #e6ebf5;
    --text-muted: #9aa6b8;
    --text-dim: #6b7689;
    --cyan: #22d3ee;
    --cyan-soft: #67e8f9;
    --cyan-glow: rgba(34, 211, 238, 0.18);
    --green: #4ade80;
    --magenta: #c084fc;
    --warn: #fbbf24;
    --shadow: 0 30px 60px -20px rgba(0,0,0,0.6);
    --radius: 14px;
    --radius-sm: 10px;
    --maxw: 1180px;
    --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image:
        radial-gradient(1200px 600px at 80% -10%, rgba(34,211,238,0.10), transparent 60%),
        radial-gradient(900px 500px at -10% 30%, rgba(192,132,252,0.07), transparent 60%);
    background-attachment: fixed;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-soft); }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); line-height: 1.08; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0 0 0.6em; }
h3 { font-size: 1.2rem; margin: 0 0 0.4em; }
p { margin: 0 0 1em; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; position: relative; }
.section-tight { padding: 64px 0; }
.eyebrow {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cyan);
    margin: 0 0 14px;
}
.section-head { max-width: 760px; margin: 0 0 48px; }
.lead { font-size: 1.12rem; color: var(--text-muted); max-width: 740px; }

/* ========== Header / Nav ========== */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(10,14,26,0.78);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 600; color: var(--text); }
.brand .logo-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px var(--cyan-glow); }
.brand .brand-name { font-size: 1.05rem; }
.brand .brand-meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.nav-list { display: flex; align-items: center; gap: 28px; list-style: none; padding: 0; margin: 0; }
.nav-list a { color: var(--text-muted); font-size: 0.94rem; transition: color 160ms ease; }
.nav-list a:hover { color: var(--text); }
.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 18px; border-radius: 999px;
    background: linear-gradient(135deg, rgba(34,211,238,0.16), rgba(192,132,252,0.12));
    color: var(--text); border: 1px solid var(--border-strong);
    font-size: 0.9rem; font-weight: 500;
    transition: transform 160ms ease, border-color 160ms ease;
}
.nav-cta:hover { transform: translateY(-1px); border-color: var(--cyan); color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; color: var(--text); font-size: 1.5rem; cursor: pointer; }

/* ========== Hero ========== */
.hero { padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero .grid {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.hero h1 strong { color: var(--cyan); font-weight: 600; }
.hero .pull-quote {
    border-left: 2px solid var(--cyan);
    padding: 6px 0 6px 18px;
    color: var(--text-muted);
    font-style: italic;
    margin: 28px 0;
    font-family: var(--font-display);
    font-size: 1.05rem;
}
.hero .credentials {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin-bottom: 26px;
}
.cred-pill {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--surface); border: 1px solid var(--border);
    font-family: var(--font-mono); font-size: 0.75rem;
    color: var(--text-muted); letter-spacing: 0.06em;
}
.cred-pill::before {
    content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan);
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 22px; border-radius: 999px;
    font-weight: 500; font-size: 0.96rem;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
    cursor: pointer; border: 1px solid transparent;
}
.btn-primary {
    background: linear-gradient(135deg, var(--cyan), #7dd3fc);
    color: #03131c;
    box-shadow: 0 10px 30px -10px var(--cyan-glow);
}
.btn-primary:hover { transform: translateY(-2px); color: #03131c; }
.btn-ghost {
    background: transparent; color: var(--text);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--text); }

.hero-card {
    background: linear-gradient(180deg, rgba(34,211,238,0.06), rgba(192,132,252,0.04));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    position: relative;
}
.hero-card::before {
    content: ""; position: absolute; inset: 0; border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(34,211,238,0.18), transparent 40%);
    pointer-events: none;
    mask: linear-gradient(#000, transparent 60%);
    -webkit-mask: linear-gradient(#000, transparent 60%);
}
.hero-card .terminal-bar {
    display: flex; gap: 6px; margin-bottom: 14px;
}
.hero-card .terminal-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2c3a5c; }
.hero-card .terminal-bar span:nth-child(1) { background: #ef4444; }
.hero-card .terminal-bar span:nth-child(2) { background: #f59e0b; }
.hero-card .terminal-bar span:nth-child(3) { background: #22c55e; }
.hero-card pre {
    font-family: var(--font-mono); font-size: 0.84rem;
    color: var(--text); margin: 0; white-space: pre-wrap; line-height: 1.7;
}
.hero-card .k { color: var(--magenta); }
.hero-card .s { color: var(--green); }
.hero-card .c { color: var(--text-dim); font-style: italic; }
.hero-card .v { color: var(--cyan); }

/* ========== Metrics strip ========== */
.metrics-strip {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--bg-deep);
}
.metrics-strip .grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 0;
}
.metric { padding: 28px 24px; border-right: 1px solid var(--border); }
.metric:last-child { border-right: 0; }
.metric .v {
    font-family: var(--font-display); font-size: 1.6rem; color: var(--text); font-weight: 600;
    letter-spacing: -0.01em;
}
.metric .l {
    font-family: var(--font-mono); font-size: 0.72rem;
    color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em;
    margin-top: 6px;
}

/* ========== About ========== */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: start; }
.about p { color: var(--text-muted); }
.about-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}
.about-card h4 { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--cyan); margin-bottom: 14px; }
.about-card ul { list-style: none; margin: 0; padding: 0; }
.about-card li { padding: 10px 0; border-bottom: 1px dashed var(--border); display: flex; justify-content: space-between; gap: 16px; color: var(--text-muted); font-size: 0.94rem; }
.about-card li:last-child { border-bottom: 0; }
.about-card li strong { color: var(--text); font-weight: 500; }

/* ========== Capabilities ========== */
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cap-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 26px; transition: transform 200ms ease, border-color 200ms ease;
}
.cap-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.cap-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(34,211,238,0.18), rgba(192,132,252,0.10));
    color: var(--cyan); margin-bottom: 16px; font-size: 18px;
}
.cap-card h3 { font-size: 1.06rem; margin-bottom: 6px; }
.cap-card p { font-size: 0.94rem; color: var(--text-muted); margin: 0; }

/* ========== Experience timeline ========== */
.timeline { position: relative; padding-left: 30px; }
.timeline::before {
    content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
    width: 2px; background: linear-gradient(180deg, var(--cyan), transparent);
}
.tl-item { position: relative; padding: 0 0 36px; }
.tl-item::before {
    content: ""; position: absolute; left: -29px; top: 8px;
    width: 14px; height: 14px; border-radius: 50%;
    background: var(--bg); border: 2px solid var(--cyan);
    box-shadow: 0 0 0 4px var(--cyan-glow);
}
.tl-period { font-family: var(--font-mono); color: var(--cyan); font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.tl-role { font-size: 1.18rem; font-family: var(--font-display); color: var(--text); margin: 0; }
.tl-company { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 10px; }
.tl-summary { color: var(--text-muted); font-size: 0.96rem; margin: 0 0 12px; }
.tl-wins { margin: 0 0 10px; padding-left: 18px; color: var(--text-muted); font-size: 0.93rem; }
.tl-wins li { margin: 4px 0; }
.tl-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag {
    font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.06em;
    padding: 4px 10px; border-radius: 999px;
    background: var(--surface-2); color: var(--text-muted);
    border: 1px solid var(--border);
}

/* ========== Portfolio (Data & AI Governance) ========== */
.case-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.case-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px; position: relative; overflow: hidden;
    transition: border-color 200ms ease, transform 200ms ease;
}
.case-card::after {
    content: ""; position: absolute; inset: -1px; border-radius: var(--radius);
    background: linear-gradient(135deg, transparent, rgba(34,211,238,0.18));
    opacity: 0; transition: opacity 200ms ease; pointer-events: none;
}
.case-card:hover { transform: translateY(-3px); border-color: var(--cyan); }
.case-card:hover::after { opacity: 1; }
.case-meta {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-mono); font-size: 0.74rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 14px;
}
.case-card h3 { font-size: 1.32rem; margin-bottom: 8px; }
.case-client { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 14px; }
.case-summary { color: var(--text-muted); font-size: 0.96rem; margin-bottom: 18px; }
.case-section { margin-bottom: 14px; }
.case-section h4 { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; color: var(--cyan); text-transform: uppercase; margin-bottom: 6px; }
.case-section ul { margin: 0; padding-left: 18px; color: var(--text-muted); font-size: 0.92rem; }
.case-tools { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }

/* ========== Certifications ========== */
.cert-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.cert-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
    padding: 16px 18px;
    display: flex; gap: 14px; align-items: center;
    transition: border-color 160ms ease;
}
.cert-card:hover { border-color: var(--cyan); }
.cert-badge {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(34,211,238,0.2), rgba(192,132,252,0.12));
    color: var(--cyan);
    font-family: var(--font-mono); font-weight: 600; font-size: 0.78rem;
    flex-shrink: 0;
}
.cert-card .cert-name { color: var(--text); font-size: 0.96rem; line-height: 1.3; }
.cert-card .cert-org { color: var(--text-muted); font-size: 0.82rem; }

/* ========== Services ========== */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.svc-card {
    background: linear-gradient(180deg, var(--surface), var(--surface-2));
    border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px;
}
.svc-card h3 { font-size: 1.18rem; margin-bottom: 4px; }
.svc-card .lede { color: var(--cyan); font-family: var(--font-mono); font-size: 0.84rem; margin-bottom: 12px; letter-spacing: 0.04em; }
.svc-card p { color: var(--text-muted); font-size: 0.96rem; margin: 0; }

/* ========== Testimonials ========== */
.tst-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tst-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px;
    position: relative;
}
.tst-card::before {
    content: "“"; position: absolute; top: 8px; left: 18px;
    font-family: var(--font-display); font-size: 4rem; color: var(--cyan); opacity: 0.4; line-height: 1;
}
.tst-card blockquote { margin: 18px 0 14px; color: var(--text); font-size: 1rem; line-height: 1.55; }
.tst-card .who { color: var(--text); font-weight: 500; font-size: 0.92rem; }
.tst-card .where { color: var(--text-muted); font-size: 0.84rem; margin-top: 2px; }

/* ========== Speaking & Writing ========== */
.feed { display: grid; gap: 12px; }
.feed-item {
    display: grid; grid-template-columns: 100px 110px 1fr;
    gap: 18px; align-items: center;
    padding: 16px 18px; background: var(--surface);
    border: 1px solid var(--border); border-radius: var(--radius-sm);
}
.feed-item .type { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.feed-item .date { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.82rem; }
.feed-item .title { color: var(--text); font-weight: 500; }
.feed-item .venue { color: var(--text-muted); font-size: 0.84rem; }

/* ========== Contact ========== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info p { color: var(--text-muted); font-size: 1rem; }
.contact-info a { color: var(--text); border-bottom: 1px dashed var(--border-strong); }
.contact-info a:hover { color: var(--cyan); border-color: var(--cyan); }
.contact-info ul { list-style: none; padding: 0; margin: 18px 0 0; }
.contact-info li { padding: 10px 0; color: var(--text-muted); border-bottom: 1px dashed var(--border); font-family: var(--font-mono); font-size: 0.9rem; }
.contact-info li strong { color: var(--text); font-weight: 500; margin-right: 12px; font-family: var(--font-sans); }

.contact-form {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
    padding: 28px;
}
.contact-form label { display: block; font-family: var(--font-mono); font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.contact-form input, .contact-form textarea {
    width: 100%; background: var(--bg-deep); color: var(--text);
    border: 1px solid var(--border); border-radius: 8px;
    padding: 12px 14px; font-family: var(--font-sans); font-size: 0.96rem;
    margin-bottom: 14px;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: 0; border-color: var(--cyan);
    box-shadow: 0 0 0 3px var(--cyan-glow);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .btn { width: 100%; justify-content: center; }

/* ========== Footer ========== */
.site-footer {
    background: var(--bg-deep);
    border-top: 1px solid var(--border);
    padding: 48px 0 28px;
    color: var(--text-muted);
    font-size: 0.92rem;
}
.site-footer .grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.site-footer h5 { color: var(--text); font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: var(--text-muted); }
.site-footer a:hover { color: var(--cyan); }
.site-footer .legal {
    border-top: 1px solid var(--border); padding-top: 24px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.08em; color: var(--text-dim); text-transform: uppercase;
}

/* ========== Single post / blog ========== */
.post-list { display: grid; gap: 18px; }
.post-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.post-card h3 { margin: 0 0 6px; }
.post-card a { color: var(--text); }
.post-card a:hover { color: var(--cyan); }
.post-meta { color: var(--text-muted); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.08em; margin-bottom: 8px; text-transform: uppercase; }

article.entry { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
article.entry h1 { margin-bottom: 8px; }
article.entry .post-meta { margin-bottom: 24px; }
article.entry h2, article.entry h3 { margin-top: 28px; }

/* ========== 404 ========== */
.notfound { text-align: center; padding: 120px 0; }
.notfound h1 { font-size: 6rem; margin: 0; background: linear-gradient(135deg, var(--cyan), var(--magenta)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ========== Responsive ========== */
@media (max-width: 980px) {
    .hero .grid, .about-grid, .contact-grid, .case-grid, .svc-grid, .tst-grid, .cap-grid, .cert-grid { grid-template-columns: 1fr; }
    .metrics-strip .grid { grid-template-columns: repeat(2, 1fr); }
    .metric { border-right: 0; border-bottom: 1px solid var(--border); }
    .site-footer .grid { grid-template-columns: 1fr; }
    .nav-list { display: none; flex-direction: column; gap: 16px; position: absolute; top: 64px; right: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px 22px; }
    .nav-list.open { display: flex; }
    .nav-toggle { display: block; }
    .feed-item { grid-template-columns: 1fr; gap: 4px; }
}

@media (max-width: 540px) {
    .section { padding: 64px 0; }
    .hero { padding: 80px 0 60px; }
    .metrics-strip .grid { grid-template-columns: 1fr 1fr; }
}

/* WordPress core alignments / accessibility */
.alignleft { float: left; margin-right: 24px; }
.alignright { float: right; margin-left: 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
