/* Resume page (markup in tools/content/resume.html): light bento grid on the page's #f4f4f4,
   orange accent from the site's --orange-300. */
.vb {
  --tile: #fff; --ink: #111; --muted: #6b6b6b; --rule: rgba(0,0,0,.08); --accent: var(--orange-300, #e16a08);
  box-sizing: border-box; width: 100%; max-width: 1200px; margin: 0 auto; padding: 136px 24px 120px;
  color: var(--ink); font-family: Font, sans-serif; font-size: 16px; line-height: 1.5;
}
.vb *, .vb *::before, .vb *::after { box-sizing: inherit; }
.vb :where(h1, h2, h3, p, ul, ol, dl, dd) { margin: 0; padding: 0; text-align: left; }
.vb :where(ul, ol) { list-style: none; }
.vb a { color: inherit; text-decoration: none; }

@keyframes vb-in { from { opacity: 0; transform: translateY(16px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes vb-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.7); } 100% { box-shadow: 0 0 0 9px rgba(255,255,255,0); } }

.vb-grid {
  display: grid; gap: 12px;
  grid-template-columns: repeat(4, 1fr);
  grid-template-areas:
    "hero hero hero now"
    "exp exp exp stat"
    "exp exp exp edu"
    "service service lang links";
}
.vb-tile {
  position: relative; overflow: hidden; padding: 28px; border-radius: 24px; background: var(--tile);
  border: 1px solid var(--rule); box-shadow: 0 1px 2px rgba(0,0,0,.04); animation: vb-in .7s cubic-bezier(.22,1,.36,1) both;
  transition: border-color .25s, box-shadow .25s;
}
.vb-tile:hover { border-color: rgba(0,0,0,.14); box-shadow: 0 8px 24px rgba(0,0,0,.06); }
.vb-tile:nth-child(2) { animation-delay: .05s; } .vb-tile:nth-child(3) { animation-delay: .1s; }
.vb-tile:nth-child(4) { animation-delay: .15s; } .vb-tile:nth-child(5) { animation-delay: .2s; }
.vb-tile:nth-child(6) { animation-delay: .25s; } .vb-tile:nth-child(7) { animation-delay: .3s; } .vb-tile:nth-child(8) { animation-delay: .35s; }

.vb-eyebrow { display: flex; align-items: center; gap: 8px; margin-bottom: 20px; font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
/* White, not green: the live dot only sits on the orange "Currently" card. */
.vb-live { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: vb-pulse 1.8s infinite; }

/* Hero */
.vb-hero { grid-area: hero; display: flex; flex-direction: column; min-height: 360px;
  background: radial-gradient(120% 140% at 100% 0%, rgba(225,106,8,.16), transparent 55%), var(--tile); }
.vb-name { font-size: clamp(56px, 8vw, 112px); font-weight: 700; line-height: .9; letter-spacing: -.04em; }
.vb-role { margin-top: 16px; font-size: 22px; color: var(--muted); }
.vb-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 32px; }
.vb-contact a { display: inline-flex; gap: 8px; padding: 12px 18px; border-radius: 99px; background: rgba(0,0,0,.04); border: 1px solid var(--rule); font-weight: 500; transition: background-color .2s, color .2s; }
.vb-contact a:first-child { background: var(--ink); border-color: var(--ink); color: #fff; }
.vb-contact a:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.vb-contact span { transition: transform .2s; } .vb-contact a:hover span { transform: translateX(3px); }

/* Now */
.vb-now { grid-area: now; display: flex; flex-direction: column; background: var(--accent); border-color: transparent; color: #fff; }
.vb-now .vb-eyebrow { color: rgba(255,255,255,.75); }
.vb-now img { width: 56px; height: 56px; margin-top: auto; border-radius: 14px; object-fit: cover; }
.vb-now h2 { margin-top: 16px; font-size: 24px; font-weight: 700; line-height: 1.15; }
.vb-now p { margin-top: 4px; color: rgba(255,255,255,.75); }

/* Experience */
.vb-exp { grid-area: exp; }
.vb-exp li { display: grid; grid-template-columns: 40px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--rule); }
.vb-exp li:first-child { border-top: 0; padding-top: 0; }
/* The outline keeps white logos (Basil, Salam, Azad) from melting into the white card. */
.vb-exp img, .vb-degree img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; box-shadow: 0 0 0 1px var(--rule); }
.vb-exp img.is--parsa { padding: 6px; object-fit: contain; background: var(--accent); }
.vb-exp h3 { font-size: 17px; font-weight: 500; }
.vb-exp p, .vb-exp time { color: var(--muted); }
.vb-exp time { font-size: 15px; font-variant-numeric: tabular-nums; }

/* Stats */
.vb-big { font-size: 72px; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.vb-big sup { margin-left: 4px; font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted); vertical-align: top; position: relative; top: 10px; }
.vb-stat { grid-area: stat; display: flex; flex-direction: column; justify-content: flex-end; }
.vb-stat p:last-child { margin-top: 10px; font-size: 18px; line-height: 1.3; color: var(--muted); }

/* Education: degree, then school, then location and GPA */
.vb-edu { grid-area: edu; }
.vb-degree { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.vb-degree + .vb-degree { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
.vb-degree h3 { font-size: 17px; font-weight: 500; line-height: 1.3; }
.vb-school { margin-top: 2px; font-size: 15px; color: #333; }
.vb-detail { margin-top: 2px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Service */
.vb-service { grid-area: service; }
.vb-service ul { margin-top: 16px; }
.vb-service li { padding: 10px 0; border-top: 1px solid var(--rule); color: var(--muted); font-size: 15px; }

/* Languages */
.vb-lang { grid-area: lang; }
.vb-lang li { padding: 12px 0; border-top: 1px solid var(--rule); font-size: 22px; font-weight: 500; letter-spacing: -.01em; }
.vb-lang li:first-child { border-top: 0; padding-top: 0; }

/* Links */
.vb-links { grid-area: links; display: flex; flex-direction: column; padding: 10px; }
.vb-links a { display: flex; justify-content: space-between; flex: 1; align-items: center; padding: 14px 18px; border-radius: 16px;
  font-size: 28px; font-weight: 500; letter-spacing: -.02em; transition: background-color .2s, color .2s; }
.vb-links a:hover { background: var(--accent); color: #fff; }
.vb-links span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,.05); color: var(--ink); transition: background-color .2s, transform .25s cubic-bezier(.22,1,.36,1), color .2s; }
.vb-links a:hover span { background: rgba(255,255,255,.2); color: #fff; transform: translate(3px, -3px); }
.vb-links svg { width: 26px; height: 26px; }

@media (max-width: 991px) {
  .vb-grid { grid-template-columns: 1fr 1fr; grid-template-areas: "hero hero" "now stat" "exp exp" "edu edu" "service service" "lang links"; }
}
@media (max-width: 600px) {
  .vb { padding: 120px 12px 80px; }
  .vb-tile { padding: 22px; border-radius: 20px; }
  .vb-grid { grid-template-columns: 1fr; grid-template-areas: "hero" "exp" "stat" "edu" "service" "lang" "links"; }
  /* Basil already tops the Experience list, so the Currently card would repeat it. */
  .vb-now { display: none; }
  .vb-hero { min-height: 0; }
  .vb-exp li { grid-template-columns: 36px 1fr; row-gap: 0; }
  .vb-exp img { width: 36px; height: 36px; }
  .vb-links a { font-size: 24px; }
  .vb-exp time { grid-column: 2; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .vb * { animation: none !important; } }
