/* Saif Akhtar personal site: one page, no build step, no JavaScript. */

:root {
  --ink: #1a2433;
  --muted: #55606e;
  --accent: #1d4ed8;
  --accent-dark: #1e40af;
  --bg: #ffffff;
  --bg-alt: #f4f6f9;
  --border: #dde3ea;
  --radius: 10px;
}

* {
  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: var(--ink);
  background: var(--bg);
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.narrow {
  max-width: 760px;
}

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h2 {
  font-size: 1.75rem;
  margin-bottom: 0.9em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Header */

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
  padding-bottom: 14px;
  flex-wrap: wrap;
}

.brand {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.site-header nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.site-header nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-header nav a:hover {
  color: var(--ink);
  text-decoration: none;
}

/* Hero */

.hero {
  padding: 56px 0 48px;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-copy {
  flex: 1 1 55%;
}

.hero-copy h1 {
  font-size: 2.6rem;
  margin-bottom: 0.25em;
}

.hero-pitch {
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 600;
  margin-bottom: 0.6em;
}

.hero-sub {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 34em;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 1.4em;
  margin-bottom: 0;
}

.hero-photo {
  flex: 0 1 40%;
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Buttons */

.btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-secondary:hover {
  background: #eff4ff;
}

/* Sections */

.section {
  padding: 52px 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* Cards */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}

.card h3 {
  margin-bottom: 0.6em;
}

.card p {
  color: var(--muted);
  margin-bottom: 0;
}

/* Track record */

.proof {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 36px;
}

.proof li {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

.proof strong {
  display: block;
  margin-bottom: 2px;
}

.proof span {
  color: var(--muted);
}

/* Contact */

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}

.contact-list li:last-child {
  border-bottom: none;
}

/* Footer */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 24px 0 32px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

/* Mobile */

@media (max-width: 760px) {
  .hero {
    padding: 36px 0 32px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .hero-photo {
    width: 100%;
    max-width: 420px;
  }

  .hero-copy h1 {
    font-size: 2.1rem;
  }

  .hero-pitch {
    font-size: 1.2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .proof {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 40px 0;
  }
}

.section-intro {
  max-width: 44rem;
  color: var(--muted, #444);
  margin: 0 0 1.5rem;
}

.also {
  max-width: 52rem;
  margin: 1.75rem 0 0;
  color: var(--muted, #444);
}
