/* Umar portfolio — clean, mobile-first, system fonts, no external requests */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: #1e293b;
  background: #ffffff;
}
a { color: #4f46e5; text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: #0f172a; margin: 0 0 12px; }
h1 { font-size: 2rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 14px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #e2e8f0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; }
.brand { font-size: 1.25rem; font-weight: 800; color: #0f172a; display: inline-flex; align-items: center; gap: 8px; }
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 9px;
  background: #4f46e5; color: #fff; font-size: 1.1rem;
}
.brand-dot { color: #4f46e5; }
.nav-toggle {
  display: none; background: none; border: 1px solid #e2e8f0; border-radius: 8px;
  font-size: 1.3rem; line-height: 1; padding: 6px 11px; cursor: pointer; color: #0f172a;
}
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { color: #334155; font-weight: 600; font-size: 0.98rem; }
.site-nav a:hover { color: #4f46e5; text-decoration: none; }

/* Buttons */
.btn {
  display: inline-block; background: #4f46e5; color: #fff; font-weight: 700;
  padding: 12px 24px; border-radius: 10px; border: 1px solid #4f46e5; cursor: pointer;
  font-size: 1rem; text-align: center;
}
.btn:hover { background: #4338ca; text-decoration: none; }
.btn-ghost { background: #fff; color: #4f46e5; }
.btn-ghost:hover { background: #eef2ff; }
.btn-small { padding: 8px 16px; font-size: 0.92rem; }

/* Hero */
.hero { padding: 72px 0 56px; background: linear-gradient(180deg, #eef2ff 0%, #ffffff 100%); }
.hero-kicker { color: #4f46e5; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
.hero h1 { font-size: 2.5rem; max-width: 640px; }
.hero-sub { font-size: 1.15rem; color: #475569; max-width: 640px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 34px; }
.hero-facts {
  list-style: none; margin: 0; padding: 20px 0 0;
  display: flex; flex-wrap: wrap; gap: 12px 36px;
  border-top: 1px solid #e2e8f0; color: #475569; font-size: 0.95rem;
}
.hero-facts strong { color: #0f172a; font-size: 1.25rem; margin-right: 4px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: #f8fafc; }
.section-sub { color: #475569; max-width: 640px; margin-bottom: 30px; }

/* Cards */
.work-grid, .services-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: #fff; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: 24px; display: flex; flex-direction: column;
}
.section-alt .card { background: #fff; }
.card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.card-tags span {
  background: #eef2ff; color: #4f46e5; font-size: 0.8rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
}
.card p { color: #475569; }
.card-links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.card-links a { font-weight: 700; white-space: nowrap; }

/* About */
.about-wrap { max-width: 720px; }
.about-list { list-style: none; padding: 0; margin: 20px 0 0; }
.about-list li { padding: 10px 0 10px 28px; position: relative; border-top: 1px solid #e2e8f0; }
.about-list li::before { content: "\2713"; position: absolute; left: 2px; top: 10px; color: #4f46e5; font-weight: 800; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; align-items: start; }
.contact-info p { margin-bottom: 20px; }
.contact-form label { display: block; font-weight: 700; margin: 0 0 6px; color: #0f172a; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 12px 14px; margin-bottom: 16px;
  border: 1px solid #cbd5e1; border-radius: 10px; font: inherit; font-size: 1rem;
  background: #fff; color: #0f172a;
}
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid #4f46e5; border-color: #4f46e5; }
.form-note { font-size: 0.88rem; color: #64748b; margin-top: 12px; }

/* Footer */
.site-footer { border-top: 1px solid #e2e8f0; padding: 28px 0; color: #64748b; font-size: 0.95rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; }
.footer-inner p { margin: 0; }

/* Responsive */
@media (max-width: 900px) {
  .work-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; top: 60px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid #e2e8f0; padding: 8px 20px 14px;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 10px 0; width: 100%; }
  .site-nav .btn { margin-top: 8px; }
  .hero { padding: 48px 0 40px; }
  .hero h1 { font-size: 1.9rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .work-grid, .services-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.7rem; }
  .hero-facts { gap: 10px 24px; }
  .section { padding: 48px 0; }
}
