/* rajeshthokala.com · blue palette, no build step */
:root {
  --navy-950: #061229;
  --navy-900: #0a1a36;
  --navy-800: #102a52;
  --blue-700: #1d4ed8;
  --blue-600: #2563eb;
  --blue-500: #3b82f6;
  --sky-400: #38bdf8;
  --sky-200: #bae6fd;
  --ink: #0f1b2d;
  --ink-soft: #3d4b63;
  --muted: #64748b;
  --line: #dbe4f0;
  --bg: #ffffff;
  --bg-tint: #f3f7fd;
  --card: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(10, 26, 54, .06), 0 8px 24px rgba(10, 26, 54, .06);
  --shadow-lift: 0 2px 4px rgba(10, 26, 54, .06), 0 18px 40px rgba(29, 78, 216, .12);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Plus Jakarta Sans", var(--font);
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-700); text-decoration: none; }
a:hover { color: var(--blue-600); }
:focus-visible { outline: 3px solid var(--sky-400); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { width: min(1160px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ── Navigation ─────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50; background: rgba(10, 26, 54, .97);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08); transition: background .3s;
}
.nav.is-scrolled { background: rgba(6, 18, 41, .92); box-shadow: 0 8px 30px rgba(6, 18, 41, .25); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-weight: 600; }
.brand:hover { color: #fff; }
.brand__mark {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; font-family: var(--display);
  font-weight: 800; font-size: 14px; letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400));
  box-shadow: 0 4px 14px rgba(56, 189, 248, .35);
}
.brand__name { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.015em; }
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  color: rgba(226, 236, 252, .82); font-size: 15px; font-weight: 500; padding: 8px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav__links a:hover, .nav__links a.is-active { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__links a.nav__cta { color: var(--navy-900); background: #fff; margin-left: 6px; }
.nav__links a.nav__cta:hover { background: var(--sky-200); }
.nav__toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; position: relative; }
.nav__toggle span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.nav__toggle span:first-child { top: 17px; }
.nav__toggle span:last-child { top: 25px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden; color: #e2ecfc;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(56, 189, 248, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 110%, rgba(37, 99, 235, .35), transparent 60%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  padding: 96px 0 112px;
}
.hero__grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(148, 197, 255, .06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(148, 197, 255, .06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}
.hero__inner { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; letter-spacing: .02em;
  color: var(--sky-200); background: rgba(56, 189, 248, .1); border: 1px solid rgba(56, 189, 248, .25);
  padding: 6px 14px; border-radius: 999px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .18); }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin: 22px 0 22px; letter-spacing: -.035em; }
.grad { background: linear-gradient(90deg, #7cc4ff, var(--sky-400) 45%, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: rgba(226, 236, 252, .82); max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 26px;
  border-radius: 12px; font-weight: 600; font-size: 16px; transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn--primary { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--blue-500)); box-shadow: 0 10px 30px rgba(37, 99, 235, .45); }
.btn--primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px rgba(37, 99, 235, .55); }
.btn--ghost { color: #fff; border: 1px solid rgba(186, 230, 253, .35); }
.btn--ghost:hover { color: #fff; background: rgba(255, 255, 255, .08); transform: translateY(-2px); }
.layers { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px 22px; margin-top: 44px; max-width: 640px; }
.layers li { font-size: 13.5px; color: rgba(226, 236, 252, .66); border-left: 2px solid rgba(56, 189, 248, .45); padding-left: 12px; }
.layers b { display: block; font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-400); }

.hero__card {
  margin: 0; background: rgba(255, 255, 255, .05); border: 1px solid rgba(186, 230, 253, .16); border-radius: 24px; padding: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35); backdrop-filter: blur(6px);
}
.portrait { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(6, 18, 41, .55)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.card__label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-400); margin: 18px 4px 10px; }
.now {
  display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; color: rgba(226, 236, 252, .75);
  font-size: 14px; line-height: 1.45; transition: background .2s;
}
.now:hover { background: rgba(255, 255, 255, .06); color: rgba(226, 236, 252, .9); }
.now b { display: block; color: #fff; font-size: 15px; }
.badge {
  flex: none; display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 500; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 9px; border-radius: 999px; color: var(--blue-700); background: #e8f0fe;
}
.hero .badge { color: var(--sky-200); background: rgba(56, 189, 248, .14); }
.badge--live { color: #047857; background: #d1fae5; }
.hero .badge--live { color: #6ee7b7; background: rgba(52, 211, 153, .14); }

/* ── Highlights ─────────────────────────────────────────── */
.stats { position: relative; z-index: 2; margin-top: -48px; }
.stats__inner {
  display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: 20px;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
}
.stat { padding: 28px 26px; border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { display: block; font-family: var(--display); font-weight: 800; font-size: 36px; letter-spacing: -.03em; color: var(--blue-700); }
.stat__label { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; margin-top: 4px; }

/* ── Sections ───────────────────────────────────────────── */
.section { padding: 112px 0; }
.section--tint { background: var(--bg-tint); border-block: 1px solid #e6eef9; }
.section__head { max-width: 720px; margin-bottom: 56px; }
.kicker { font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-600); margin-bottom: 14px; }
.section h2, .contact h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 800; }
.section__lead { margin-top: 18px; font-size: 18.5px; color: var(--ink-soft); }

/* Experience */
.timeline { position: relative; display: grid; gap: 22px; }
.job {
  display: grid; grid-template-columns: 280px 1fr; gap: 40px; padding: 32px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s;
}
.job:hover { box-shadow: var(--shadow-lift); border-color: #c7d7ee; }
.job__meta { position: relative; padding-left: 22px; }
.job__meta::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--blue-600); box-shadow: 0 0 0 5px #dbeafe;
}
.job h3 { font-size: 22px; font-weight: 700; }
.job__role { color: var(--muted); font-size: 15px; margin-top: 6px; }
.job__body > p { color: var(--ink-soft); }
.metrics { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.metrics li { font-size: 14px; color: var(--ink-soft); background: #eff5ff; border: 1px solid #d6e4fb; padding: 6px 12px; border-radius: 10px; }
.metrics b { color: var(--blue-700); font-family: var(--display); font-size: 15px; }
.bullets { display: grid; gap: 10px; }
.bullets li { position: relative; padding-left: 22px; color: var(--ink-soft); }
.bullets li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 8px; height: 2px; background: var(--blue-500); border-radius: 2px; }
.bullets b { color: var(--ink); font-weight: 600; }

/* Leadership and system design */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pillar {
  padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); transition: box-shadow .25s, border-color .25s, transform .25s;
}
.pillar:hover { box-shadow: var(--shadow-lift); border-color: #c7d7ee; transform: translateY(-3px); }
.pillar__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #fff; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--blue-600), var(--sky-400)); box-shadow: 0 8px 20px rgba(37, 99, 235, .3);
}
.pillar h3 { font-size: 22px; font-weight: 700; margin-bottom: 16px; }
.pillar .bullets li { font-size: 15.5px; }

.job__body > p + .bullets { margin-top: 12px; }
.job__stack { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.job__stack li { font-family: var(--mono); font-size: 12px; color: var(--blue-700); background: #f1f6ff; border: 1px solid #dbe7fb; padding: 4px 10px; border-radius: 8px; }

/* Projects */
.feature {
  display: grid; grid-template-columns: 1.5fr 1fr; gap: 40px; align-items: start; padding: 40px; margin-bottom: 28px;
  border-radius: 20px; color: #e2ecfc; position: relative; overflow: hidden;
  background: radial-gradient(600px 300px at 100% 0%, rgba(56, 189, 248, .25), transparent 60%), linear-gradient(135deg, var(--navy-800), var(--navy-900));
  box-shadow: var(--shadow-lift);
}
.feature h3 { color: #fff; font-size: 32px; margin: 14px 0 12px; font-weight: 800; }
.feature p { color: rgba(226, 236, 252, .82); }
.feature .bullets { margin: 18px 0 22px; }
.feature .bullets li { color: rgba(226, 236, 252, .78); }
.feature .bullets b { color: #fff; }
.feature .bullets li::before { background: var(--sky-400); }
.feature .link { color: var(--sky-200); }
.feature .link:hover { color: #fff; }
.feature .badge--live { color: #6ee7b7; background: rgba(52, 211, 153, .14); }
.flow { background: rgba(255, 255, 255, .04); border: 1px solid rgba(186, 230, 253, .16); border-radius: 16px; padding: 24px; }
.flow__title { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sky-400) !important; margin-bottom: 16px; }
.flow__steps { position: relative; display: grid; gap: 14px; margin-bottom: 22px; }
.flow__steps::before { content: ""; position: absolute; left: 13px; top: 14px; bottom: 14px; width: 2px; background: linear-gradient(var(--sky-400), rgba(56, 189, 248, .1)); }
.flow__steps li { position: relative; display: flex; gap: 14px; align-items: flex-start; font-size: 14px; line-height: 1.45; color: rgba(226, 236, 252, .72); }
.flow__steps span {
  flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-family: var(--mono); font-size: 12px;
  color: var(--navy-950); background: linear-gradient(135deg, #7cc4ff, var(--sky-400)); box-shadow: 0 0 0 4px rgba(56, 189, 248, .15);
}
.flow__steps b { display: block; color: #fff; font-size: 15px; }
.feature--light { color: var(--ink); background: linear-gradient(135deg, #ffffff, #eef5ff); border: 1px solid #d6e4fb; box-shadow: var(--shadow); }
.feature--light h3 { color: var(--ink); }
.feature--light p { color: var(--ink-soft); }
.feature--light .bullets li { color: var(--ink-soft); }
.feature--light .bullets b { color: var(--ink); }
.feature--light .bullets li::before { background: var(--blue-500); }
.feature--light .link { color: var(--blue-700); }
.feature--light .link:hover { color: var(--blue-600); }
.feature--light .flow { background: var(--navy-900); border-color: transparent; }
.feature--light .flow p, .feature--light .flow__steps li { color: rgba(226, 236, 252, .72); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-content: flex-start; }
.tags li { font-size: 13.5px; color: var(--sky-200); border: 1px solid rgba(186, 230, 253, .25); background: rgba(255, 255, 255, .04); padding: 6px 12px; border-radius: 999px; }

.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.card {
  display: flex; flex-direction: column; gap: 12px; padding: 28px; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); border-color: #c7d7ee; }
.card .badge { align-self: flex-start; }
.card h3 { font-size: 21px; font-weight: 700; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card__tech { font-family: var(--mono); font-size: 12.5px !important; color: var(--muted) !important; margin-top: auto; padding-top: 6px; }
.link { font-weight: 600; font-size: 15px; display: inline-flex; gap: 6px; align-items: center; }
.link span { transition: transform .2s; }
.link:hover span { transform: translateX(4px); }

.roots {
  display: grid; grid-template-columns: .9fr 1.6fr; gap: 40px; margin-top: 28px; padding: 36px; border-radius: 20px;
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.roots h3 { font-size: 24px; font-weight: 800; }
.roots__intro p { color: var(--ink-soft); margin-top: 12px; }
.roots__list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 32px; }
.roots__list li { font-size: 15px; color: var(--ink-soft); }
.roots__list b { display: block; color: var(--ink); font-size: 16px; margin-bottom: 4px; }
.roots__list a { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: 12.5px; }

/* Stack */
.stack { border: 1px solid var(--line); border-radius: 20px; background: var(--card); box-shadow: var(--shadow); overflow: hidden; }
.stack__group { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; padding: 26px 32px; border-top: 1px solid var(--line); }
.stack__group:first-child { border-top: 0; }
.stack__group:nth-child(even) { background: #f8fbff; }
.stack__group h3 { font-size: 13px; font-family: var(--mono); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-700); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14.5px; font-weight: 500; color: var(--navy-800); background: #fff; border: 1px solid #d6e2f3; padding: 7px 14px; border-radius: 10px; transition: border-color .2s, color .2s, background .2s; }
.chips.chips--strong li { color: #fff; background: linear-gradient(135deg, var(--blue-700), var(--blue-500)); border-color: transparent; }
.chips.chips--strong li:hover { color: #fff; background: linear-gradient(135deg, var(--blue-600), var(--sky-400)); border-color: transparent; }
.chips li:hover { border-color: var(--blue-500); color: var(--blue-700); background: #f1f6ff; }

/* Education */
.edu { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.edu__item { padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); border-top: 4px solid var(--blue-600); }
.edu__year { font-family: var(--mono); font-size: 13px; color: var(--blue-600); letter-spacing: .06em; }
.edu__item h3 { font-size: 22px; font-weight: 700; margin: 10px 0 6px; }
.edu__item p:last-child { color: var(--muted); }

/* Contact */
.contact {
  padding: 104px 0; color: #e2ecfc;
  background: radial-gradient(700px 360px at 90% 10%, rgba(56, 189, 248, .22), transparent 60%), linear-gradient(135deg, var(--navy-900), var(--navy-950));
}
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.contact h2 { color: #fff; }
.contact p { color: rgba(226, 236, 252, .8); font-size: 18.5px; margin-top: 16px; max-width: 460px; }
.contact p.kicker { font-size: 13px; color: var(--sky-400); margin: 0 0 14px; }
.direct { display: grid; gap: 12px; margin-top: 28px; max-width: 460px; }
.direct a {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; color: #fff;
  background: linear-gradient(135deg, rgba(37, 99, 235, .35), rgba(56, 189, 248, .18)); border: 1px solid rgba(56, 189, 248, .35);
  transition: transform .2s, border-color .2s, background .2s;
}
.direct a:hover { color: #fff; transform: translateY(-2px); border-color: var(--sky-400); background: linear-gradient(135deg, rgba(37, 99, 235, .5), rgba(56, 189, 248, .25)); }
.direct svg { flex: none; color: var(--sky-200); }
.direct span { display: flex; flex-direction: column; font-family: var(--display); font-weight: 700; font-size: 18px; word-break: break-all; }
.direct small { font-family: var(--mono); font-weight: 500; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--sky-400); }
.socials { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.socials a {
  display: flex; flex-direction: column; gap: 2px; padding: 20px 22px; border-radius: 14px; color: #fff;
  border: 1px solid rgba(186, 230, 253, .18); background: rgba(255, 255, 255, .04); transition: background .2s, border-color .2s, transform .2s;
}
.socials a:hover { color: #fff; background: rgba(56, 189, 248, .1); border-color: rgba(56, 189, 248, .5); transform: translateY(-2px); }
.socials span { font-family: var(--display); font-weight: 700; font-size: 18px; }
.socials small { color: rgba(186, 230, 253, .75); font-size: 14px; }

.footer { background: var(--navy-950); color: rgba(226, 236, 252, .6); font-size: 14px; border-top: 1px solid rgba(255, 255, 255, .06); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; height: 72px; }
.footer a { color: rgba(186, 230, 253, .85); }
.footer a:hover { color: #fff; }

.footer__links { display: flex; gap: 22px; }

/* ── Blog ───────────────────────────────────────────────── */
.wrap--narrow { width: min(760px, 100% - 48px); margin-inline: auto; }
.page-hero {
  position: relative; overflow: hidden; color: #e2ecfc; padding: 80px 0 72px;
  background: radial-gradient(800px 400px at 85% -20%, rgba(56, 189, 248, .22), transparent 60%),
              radial-gradient(600px 400px at -10% 120%, rgba(37, 99, 235, .32), transparent 60%),
              linear-gradient(180deg, var(--navy-900), var(--navy-950));
}
.page-hero__inner { position: relative; }
.page-hero__inner > h1, .page-hero__inner > .page-hero__lead { max-width: 820px; }
.page-hero h1 { color: #fff; font-size: clamp(38px, 5vw, 58px); font-weight: 800; margin: 18px 0 16px; letter-spacing: -.03em; }
.page-hero__lead { font-size: 19px; color: rgba(226, 236, 252, .8); max-width: 680px; }
.page-hero--post h1 { font-size: clamp(32px, 4.4vw, 50px); }
.back { display: inline-flex; gap: 8px; color: var(--sky-200); font-size: 15px; font-weight: 500; }
.back:hover { color: #fff; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 13px; color: var(--muted); }
.page-hero .post__meta { color: rgba(186, 230, 253, .8); margin-top: 22px; }
.post__tag { font-family: var(--mono); font-size: 11.5px; color: var(--blue-700); background: #e8f0fe; padding: 3px 9px; border-radius: 999px; }
.page-hero .post__tag { color: var(--sky-200); background: rgba(56, 189, 248, .14); }
.section--blog { padding-top: 72px; }

.posts { display: grid; gap: 20px; max-width: 860px; }
.post-card {
  display: block; padding: 30px 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); color: var(--ink); transition: transform .25s, box-shadow .25s, border-color .25s;
}
.post-card:hover { color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: #c7d7ee; }
.post-card h2 { font-size: 25px; font-weight: 700; margin: 10px 0 10px; }
.post-card p { color: var(--ink-soft); }
.post-card__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; }
.post-card .link { margin-top: 16px; }

.soon {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; padding: 40px; border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #eef5ff); border: 1px solid #d6e4fb; box-shadow: var(--shadow);
}
.soon h2 { font-size: 30px; font-weight: 800; margin: 14px 0 12px; }
.soon p { color: var(--ink-soft); }
.soon__topics { display: grid; gap: 12px; }
.soon__topics li { padding: 14px 18px; background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--blue-600); border-radius: 12px; font-size: 14.5px; color: var(--muted); }
.soon__topics b { display: block; color: var(--ink); font-size: 16px; }
.soon__follow { grid-column: 1 / -1; padding-top: 6px; border-top: 1px solid var(--line); }

.post .wrap--narrow { padding: 56px 0 96px; }
.prose { font-size: 18px; line-height: 1.75; color: #1f2a3d; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 28px; font-weight: 800; margin-top: 1.8em; }
.prose h3 { font-size: 22px; font-weight: 700; margin-top: 1.5em; }
.prose a { text-decoration: underline; text-decoration-color: rgba(37, 99, 235, .35); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue-600); }
.prose blockquote { margin-left: 0; padding: 14px 22px; border-left: 4px solid var(--blue-500); background: #f1f6ff; border-radius: 0 12px 12px 0; color: var(--navy-800); }
.prose img { border-radius: 12px; border: 1px solid var(--line); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15.5px; display: block; overflow-x: auto; }
.prose th, .prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }
.prose th { font-family: var(--mono); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--blue-700); }
.prose code { font-family: var(--mono); font-size: .86em; background: #eef3fb; padding: 2px 6px; border-radius: 6px; }
.prose pre { background: var(--navy-950); color: #dbe7fb; padding: 18px 20px; border-radius: 14px; overflow-x: auto; font-size: 14.5px; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; font-size: inherit; }
.highlight .k, .highlight .kd, .highlight .kn, .highlight .kc { color: #7cc4ff; }
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sd { color: #a7f3d0; }
.highlight .c, .highlight .c1, .highlight .cm { color: #7b8db0; font-style: italic; }
.highlight .nf, .highlight .nc { color: #fde68a; }
.highlight .mi, .highlight .mf { color: #f9a8d4; }
.post__author { display: flex; gap: 16px; align-items: flex-start; margin-top: 56px; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-tint); }
.post__author img { width: 56px; height: 56px; border-radius: 50%; }
.post__author p { font-size: 15px; color: var(--ink-soft); }
.post__author-name { font-family: var(--display); font-weight: 700; color: var(--ink) !important; font-size: 17px !important; }
.post__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 28px; }
.post__nav a { display: flex; flex-direction: column; padding: 16px 20px; border: 1px solid var(--line); border-radius: 12px; max-width: 48%; font-weight: 600; }
.post__nav small { font-family: var(--mono); font-weight: 500; font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.post__nav-next { text-align: right; margin-left: auto; }

/* Reveal on scroll (only when JS runs and motion is welcome) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 1020px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .hero__inner > * { min-width: 0; }
  .hero__card { max-width: 460px; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .feature, .roots, .contact__inner, .soon { grid-template-columns: 1fr; }
  .job { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 4px; padding: 14px 24px 22px;
    background: rgba(6, 18, 41, .98); border-bottom: 1px solid rgba(255, 255, 255, .08); display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a { padding: 12px 14px; }
  .nav__links a.nav__cta { margin: 6px 0 0; text-align: center; }
  .stats__inner { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line); }
  .edu, .roots__list, .stack__group { grid-template-columns: 1fr; }
  .stack__group { gap: 12px; padding: 22px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .hero { padding: 64px 0 96px; }
  .lead { font-size: 17.5px; }
  .eyebrow { font-size: 11.5px; padding: 6px 12px; }
  .layers { grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .hero__actions .btn { flex: 1 1 140px; }
  .section { padding: 80px 0; }
  .cards, .socials { grid-template-columns: 1fr; }
  .feature, .roots, .job, .card { padding: 24px; }
  .stat { padding: 20px 18px; }
  .stat__num { font-size: 28px; }
  .footer__inner { flex-direction: column; justify-content: center; gap: 6px; height: auto; padding: 22px 0; }
  .soon, .post-card { padding: 24px; }
  .direct a { padding: 14px 16px; gap: 12px; }
  .direct span { font-size: 16px; word-break: normal; overflow-wrap: anywhere; }
  .prose { font-size: 17px; }
}

div.now:hover { background: none; color: rgba(226, 236, 252, .75); }
