@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  src: url("https://framerusercontent.com/assets/UjlFhCnUjxhNfep4oYBPqnEssyo.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  src: url("https://framerusercontent.com/assets/yDtI2UI8XcEg1W2je9XPN3Noo.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 600;
  src: url("https://fonts.gstatic.com/s/sourceserif4/v14/vEFH2_tTDB4M7-auWDN0ahZJW1ge6NmXpVAHV83Bfb_US0r6aX0.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4 Fallback";
  font-style: italic;
  font-weight: 600;
  size-adjust: 85.86%;
  src: local("Georgia");
}

:root {
  --tp-bg: #f0f0f0;
  --tp-ink: #050601;
  --tp-muted: #7e7e7e;
  --tp-card: #fff;
  --tp-accent: #171817;
  --tp-accent-raised: #242524;
  --tp-accent-border: #353635;
  --tp-on-accent: #fff;
  --tp-on-accent-muted: #a0a0a0;
  --tp-focus: #fff;
  --tp-focus-outer: #050601;
  --tp-line: rgba(5, 6, 1, .12);
  --tp-shadow: 0 2px 4px rgba(108,113,128,.08), 0 7px 7px rgba(108,113,128,.07), 0 17px 10px rgba(108,113,128,.04), 0 29px 12px rgba(108,113,128,.01);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--tp-bg);
  color: var(--tp-ink);
  font-family: "Inter", "Inter Placeholder", Arial, sans-serif;
  margin: 0;
  min-width: 320px;
  text-rendering: optimizeLegibility;
}

body, button, a { -webkit-font-smoothing: antialiased; }

a { color: inherit; }

.tp-skip {
  background: #000;
  border-radius: 0 0 12px 0;
  color: #fff;
  left: 0;
  padding: 13px 18px;
  position: fixed;
  top: -70px;
  transition: top .2s ease;
  z-index: 100;
}

.tp-skip:focus { top: 0; }

.tp-header {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1248px;
  padding: 20px 24px;
}

.tp-brand {
  align-items: center;
  display: inline-flex;
  gap: 9px;
  text-decoration: none;
}

.tp-brand img { flex: none; }

.tp-brand span {
  color: #0a2640;
  font-family: "Source Serif 4", "Source Serif 4 Fallback", Georgia, serif;
  font-size: 19px;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.055em;
  white-space: nowrap;
}

.tp-brand sup {
  align-self: flex-start;
  color: #0a2640;
  font-size: 8px;
  font-weight: 600;
  margin-left: -5px;
  margin-top: 2px;
}

.tp-header-actions {
  align-items: center;
  display: flex;
  gap: 10px;
}

.tp-site-links {
  align-items: center;
  display: flex;
  gap: 2px;
}

/* Keep secondary pages' navigation consistent with the landing-page menu. */
.tp-site-nav .tp-site-links,
.tp-site-nav .tp-site-cta { display: none; }
.tp-site-nav .tp-mobile-nav { display: block; }

.tp-site-link {
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 12px;
  text-decoration: none;
  white-space: nowrap;
}

.tp-site-link:hover,
.tp-site-link[aria-current="page"] { background: #fff; }

.tp-mobile-nav { display: none; position: relative; }
.tp-mobile-nav summary {
  align-items: center;
  background: #fff;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 14px;
  font-weight: 600;
  gap: 9px;
  list-style: none;
  min-height: 44px;
  padding: 0 17px;
}
.tp-mobile-nav summary::-webkit-details-marker { display: none; }
.tp-mobile-nav summary span { font-size: 16px; transition: transform .2s ease; }
.tp-mobile-nav[open] summary span { transform: rotate(180deg); }
.tp-mobile-nav-panel {
  background: #fff;
  border: 1px solid rgba(5,6,1,.1);
  border-radius: 18px;
  box-shadow: var(--tp-shadow);
  display: grid;
  min-width: min(330px, calc(100vw - 40px));
  max-height: min(80vh, 720px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 9px;
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  z-index: 80;
}
.tp-mobile-nav-panel a {
  border-radius: 11px;
  font-size: 15px;
  font-weight: 600;
  padding: 13px 14px;
  text-decoration: none;
}
.tp-mobile-nav-panel a:hover,
.tp-mobile-nav-panel a[aria-current="page"] { background: #f0f0f0; }
.tp-mobile-nav-panel .tp-mobile-nav-cta { background: #000; color: #fff; margin-top: 5px; text-align: center; }
.tp-mobile-nav-panel .tp-menu-action { background: #f0f0f0; display: flex; justify-content: space-between; margin-top: 5px; }
.tp-mobile-nav-panel .tp-menu-action:hover { background: #e4e4e4; }
.tp-mobile-nav-panel .tp-menu-action--whatsapp { background: #25d366; color: #071b0d; }
.tp-mobile-nav-panel .tp-menu-action--whatsapp:hover { background: #1fb85a; }

.tp-header-link {
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  padding: 13px 18px;
  text-decoration: none;
}

.tp-header-link:hover { background: #fff; }

.tp-button {
  align-items: center;
  border: 4px solid rgba(255,255,255,.75);
  border-radius: 999px;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 14px;
  justify-content: center;
  min-height: 58px;
  padding: 0 28px;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.tp-button:hover { transform: translateY(-2px); }
.tp-button:focus-visible, a:focus-visible, button:focus-visible { box-shadow: 0 0 0 2px var(--tp-focus-outer); outline: 3px solid var(--tp-focus); outline-offset: 4px; }
.tp-button--small { border-width: 3px; font-size: 14px; min-height: 46px; padding: 0 20px; }
.tp-button--dark { background: #000; border-color: #000; color: #fff; }
.tp-button--dark:hover { background: #202020; }
.tp-button--light { background: #fff; border-color: #f8f8f8; box-shadow: var(--tp-shadow); }
.tp-button--white { background: #fff; border-color: #fff; color: #000; }

.tp-hero {
  align-items: center;
  display: grid;
  gap: clamp(42px, 7vw, 100px);
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, .74fr);
  margin: 0 auto;
  max-width: 1248px;
  padding: 72px 24px 88px;
}

.tp-hero-copy { max-width: 720px; }

.tp-eyebrow {
  background: #fff;
  border-radius: 999px;
  color: var(--tp-ink);
  display: inline-flex;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  margin-bottom: 26px;
  padding: 11px 17px;
}

.tp-hero h1,
.tp-section h2,
.tp-cta h2 {
  font-weight: 600;
  letter-spacing: -.072em;
  margin: 0;
}

.tp-hero h1 {
  font-size: clamp(64px, 7.5vw, 108px);
  line-height: .88;
}

.tp-hero h1 em,
.tp-section h2 em,
.tp-cta h2 em {
  font-family: "Source Serif 4", "Source Serif 4 Fallback", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: -.075em;
}

.tp-role {
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 600;
  letter-spacing: -.045em;
  margin: 28px 0 18px;
}

.tp-lede {
  color: var(--tp-muted);
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
  max-width: 675px;
}

.tp-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }

.tp-facts {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 55px 0 0;
}

.tp-facts div { border-top: 1px solid var(--tp-line); padding-top: 16px; }
.tp-facts dt { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.tp-facts dd { color: var(--tp-muted); font-size: 12px; line-height: 1.4; margin: 7px 0 0; }

.tp-portrait-card {
  background: #fff;
  border: 6px solid #f8f8f8;
  border-radius: 19px;
  box-shadow: var(--tp-shadow);
  overflow: hidden;
  padding: 12px;
}

.tp-portrait-frame { aspect-ratio: .86; border-radius: 12px; overflow: hidden; }
.tp-portrait-frame img { display: block; height: 100%; object-fit: cover; object-position: center 36%; width: 100%; }

.tp-portrait-frame--abdul-hai img {
  object-position: center 34%;
}

.tp-portrait-frame--malik img { object-position: center 32%; }

.tp-profile-graphic {
  align-items: center;
  aspect-ratio: .86;
  background: linear-gradient(145deg, #080808, #262626);
  border-radius: 12px;
  color: #fff;
  display: flex;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.tp-profile-graphic::before,
.tp-profile-graphic::after {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  content: "";
  height: 360px;
  position: absolute;
  width: 360px;
}

.tp-profile-graphic::after { height: 235px; width: 235px; }

.tp-profile-graphic strong {
  font-size: clamp(74px, 9vw, 120px);
  letter-spacing: -.09em;
  position: relative;
  z-index: 1;
}

.tp-portrait-caption {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 19px 11px 9px;
}

.tp-portrait-caption div { display: grid; gap: 4px; }
.tp-portrait-caption strong { font-size: 17px; letter-spacing: -.035em; }
.tp-portrait-caption span { color: var(--tp-muted); font-size: 13px; }

.tp-profile-mark {
  align-items: center;
  background: var(--tp-accent);
  border-radius: 50%;
  color: var(--tp-on-accent) !important;
  display: flex;
  height: 40px;
  justify-content: center;
  width: 40px;
}

.tp-profile-mark svg { height: 22px; width: 22px; }

.tp-section {
  margin: 0 auto;
  max-width: 1248px;
  padding: 112px 24px;
}

.tp-section-heading {
  margin: 0 auto 52px;
  max-width: 820px;
  text-align: center;
}

.tp-section-heading--left { margin-left: 0; text-align: left; }

.tp-section-heading h2,
.tp-cta h2 {
  font-size: clamp(42px, 5vw, 67px);
  line-height: 1.02;
}

.tp-section-heading > p,
.tp-heading-row > p,
.tp-cta p {
  color: var(--tp-muted);
  font-size: 17px;
  line-height: 1.55;
  margin: 22px auto 0;
  max-width: 650px;
}

.tp-section-heading--left > p { margin-left: 0; }

.tp-intro-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
}

.tp-intro-grid--no-video { grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); }

.tp-stack-graphic {
  align-items: flex-end;
  background: #000;
  border: 6px solid #f8f8f8;
  border-radius: 17px;
  box-shadow: var(--tp-shadow);
  color: #fff;
  display: flex;
  min-height: 520px;
  overflow: hidden;
  padding: 36px;
  position: relative;
}

.tp-stack-graphic::before {
  background: radial-gradient(circle at 70% 22%, rgba(255,255,255,.17), transparent 35%), radial-gradient(circle at 22% 58%, rgba(126,126,126,.3), transparent 32%);
  content: "";
  inset: 0;
  position: absolute;
}

.tp-stack-graphic div { position: relative; z-index: 1; }
.tp-stack-graphic span { color: #aaa; font-family: monospace; font-size: 11px; text-transform: uppercase; }
.tp-stack-graphic strong { display: block; font-size: clamp(34px, 4vw, 54px); letter-spacing: -.065em; line-height: 1; margin-top: 14px; }

.tp-video-shell,
.tp-proof-card,
.tp-skill-card,
.tp-work-card,
.tp-degree,
.tp-publications {
  background: #fff;
  border: 6px solid #f8f8f8;
  border-radius: 17px;
  box-shadow: var(--tp-shadow);
}

.tp-video-shell { min-height: 620px; overflow: hidden; padding: 0; position: relative; }

.tp-video-shell--landscape { aspect-ratio: 16 / 9; min-height: 0; }

.tp-video-button {
  appearance: none;
  background: #dcdcdc;
  border: 0;
  cursor: pointer;
  display: block;
  height: 100%;
  inset: 0;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 100%;
}

.tp-video-button img { display: block; height: 100%; object-fit: cover; object-position: center 36%; transition: transform .35s ease; width: 100%; }
.tp-video-button:hover img { transform: scale(1.025); }
.tp-video-shade { background: linear-gradient(180deg, rgba(0,0,0,.02) 45%, rgba(0,0,0,.35)); inset: 0; position: absolute; }

.tp-video-label {
  backdrop-filter: blur(12px);
  background: rgba(255,255,255,.93);
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  left: 18px;
  padding: 11px 15px;
  position: absolute;
  top: 18px;
}

.tp-play {
  align-items: center;
  background: #000;
  border: 5px solid rgba(255,255,255,.94);
  border-radius: 50%;
  color: #fff;
  display: flex;
  height: 70px;
  justify-content: center;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
  width: 70px;
}

.tp-video-button:hover .tp-play { transform: translate(-50%, -50%) scale(1.06); }
.tp-play svg { height: 23px; margin-left: 3px; width: 23px; }
.tp-video-shell iframe { border: 0; display: block; height: 100%; inset: 0; position: absolute; width: 100%; }

.tp-proof-card { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 70px); }
.tp-proof-card h3 { font-size: clamp(28px, 3vw, 40px); letter-spacing: -.055em; line-height: 1.05; margin: 0 0 32px; }

.tp-check-list { display: grid; gap: 18px; list-style: none; margin: 0; padding: 0; }
.tp-check-list li { align-items: flex-start; display: grid; font-size: 15px; gap: 13px; grid-template-columns: 24px 1fr; line-height: 1.5; }
.tp-check { align-items: center; background: #000; border-radius: 50%; color: #fff; display: flex; font-size: 11px; height: 22px; justify-content: center; margin-top: 1px; width: 22px; }

.tp-text-link { align-items: center; display: inline-flex; font-size: 15px; font-weight: 600; gap: 9px; margin-top: 38px; text-decoration: none; }
.tp-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.tp-skill-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-skill-card { min-height: 330px; padding: 34px; }
.tp-card-index { color: #999; font-family: monospace; font-size: 11px; }
.tp-skill-card h3, .tp-work-card h3, .tp-degree h3 { font-size: 30px; letter-spacing: -.055em; margin: 56px 0 14px; }
.tp-skill-card p, .tp-work-card p, .tp-degree p { color: var(--tp-muted); font-size: 15px; line-height: 1.55; margin: 0; max-width: 530px; }

.tp-tags { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 30px 0 0; padding: 0; }
.tp-tags li { background: #f2f2f2; border-radius: 999px; font-size: 11px; font-weight: 600; padding: 9px 12px; }

.tp-heading-row { align-items: end; display: flex; justify-content: space-between; max-width: none; }
.tp-heading-row > div { max-width: 760px; }
.tp-heading-row > p { margin: 0 0 5px 50px; max-width: 360px; }

.tp-timeline { border-top: 1px solid var(--tp-line); }
.tp-timeline-item { border-bottom: 1px solid var(--tp-line); display: grid; gap: 38px; grid-template-columns: minmax(210px, .6fr) minmax(0, 1.4fr); padding: 34px 0; }
.tp-timeline-meta { display: flex; flex-direction: column; gap: 9px; }
.tp-timeline-meta span { color: var(--tp-muted); font-family: monospace; font-size: 11px; text-transform: uppercase; }
.tp-timeline-meta strong { font-size: 16px; }
.tp-timeline-copy h3 { font-size: 24px; letter-spacing: -.045em; margin: 0 0 11px; }
.tp-timeline-copy p { color: var(--tp-muted); font-size: 15px; line-height: 1.55; margin: 0; max-width: 760px; }

.tp-work-grid { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tp-work-card { min-height: 340px; padding: 34px; }
.tp-work-card > span, .tp-degree > span { color: #8b8b8b; font-family: monospace; font-size: 11px; text-transform: uppercase; }
.tp-work-card h3 { margin-top: 72px; }
.tp-work-card--dark { background: #000; border-color: #000; color: #fff; }
.tp-work-card--dark p, .tp-work-card--dark > span { color: #9c9c9c; }
.tp-tags--dark li { background: #222; color: #fff; }

.tp-academic-grid { display: grid; gap: 16px; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
.tp-degree { min-height: 340px; padding: 34px; }
.tp-degree h3 { margin-top: 105px; }
.tp-publications { display: grid; overflow: hidden; }
.tp-publications a { align-items: center; display: grid; gap: 8px; grid-template-columns: 1fr auto; padding: 34px; text-decoration: none; }
.tp-publications a + a { border-top: 1px solid var(--tp-line); }
.tp-publications a:hover { background: #f8f8f8; }
.tp-publications span { color: var(--tp-muted); font-family: monospace; font-size: 11px; grid-column: 1; text-transform: uppercase; }
.tp-publications strong { font-size: 17px; grid-column: 1; line-height: 1.35; }
.tp-publications i { font-size: 22px; font-style: normal; grid-column: 2; grid-row: 1 / 3; }

.tp-publication-static { display: grid; gap: 8px; padding: 34px; }
.tp-publication-static + .tp-publication-static { border-top: 1px solid var(--tp-line); }
.tp-publication-static span { color: var(--tp-muted); font-family: monospace; font-size: 11px; text-transform: uppercase; }
.tp-publication-static strong { font-size: 17px; line-height: 1.35; }

.tp-cta {
  align-items: end;
  background: #000;
  border-radius: 26px;
  color: #fff;
  display: flex;
  gap: 50px;
  justify-content: space-between;
  margin: 80px auto 24px;
  max-width: 1200px;
  padding: clamp(42px, 6vw, 82px);
}

.tp-cta > div { max-width: 790px; }
.tp-eyebrow--dark { background: #202020; color: #fff; }
.tp-cta p { color: #999; margin-left: 0; }
.tp-cta .tp-button { flex: none; }

.tp-footer { background: #000; color: #fff; margin-top: 24px; padding: 64px max(24px, calc((100vw - 1200px) / 2)); }
.tp-brand--light span, .tp-brand--light sup { color: #fff; }
.tp-footer-top { align-items: center; display: flex; justify-content: space-between; }
.tp-footer-top p { color: #8d8d8d; font-size: 14px; margin: 0; }
.tp-footer-bottom { align-items: center; border-top: 1px solid rgba(255,255,255,.14); color: #888; display: flex; font-size: 12px; justify-content: space-between; margin-top: 44px; padding-top: 24px; }
.tp-footer-bottom nav { display: flex; flex-wrap: wrap; gap: 18px; }
.tp-footer-bottom a { text-decoration: none; }
.tp-footer-bottom a:hover { color: #fff; }

@media (max-width: 940px) {
  .tp-site-links,
  .tp-site-cta { display: none; }
  .tp-mobile-nav { display: block; }
  .tp-hero { grid-template-columns: 1fr; min-height: 0; padding-top: 80px; }
  .tp-hero-copy { max-width: 790px; }
  .tp-portrait-card { margin: 0 auto; max-width: 620px; width: 100%; }
  .tp-portrait-frame { aspect-ratio: 1.16; }
  .tp-portrait-frame img { object-position: center 32%; }
  .tp-portrait-frame--abdul-hai img { object-position: center 34%; }
  .tp-intro-grid, .tp-intro-grid--no-video, .tp-academic-grid { grid-template-columns: 1fr; }
  .tp-video-shell { min-height: 700px; }
  .tp-video-shell--landscape { min-height: 0; }
  .tp-heading-row { align-items: start; flex-direction: column; }
  .tp-heading-row > p { margin: 22px 0 0; }
  .tp-cta { align-items: start; flex-direction: column; }
}

@media (max-width: 680px) {
  .tp-header { padding: 16px 20px; }
  .tp-brand span { font-size: 17px; }
  .tp-brand img { height: 25px; width: 25px; }
  .tp-header-link { display: none; }
  .tp-button--small { font-size: 12px; min-height: 42px; padding: 0 15px; }
  .tp-hero { gap: 52px; padding: 66px 20px 80px; }
  .tp-hero h1 { font-size: clamp(58px, 20vw, 82px); }
  .tp-role { margin-top: 24px; }
  .tp-lede { font-size: 16px; }
  .tp-actions { display: grid; }
  .tp-actions .tp-button { width: 100%; }
  .tp-facts { gap: 10px; margin-top: 42px; }
  .tp-facts dt { font-size: 16px; }
  .tp-facts dd { font-size: 10px; }
  .tp-portrait-card { padding: 9px; }
  .tp-portrait-frame { aspect-ratio: .9; }
  .tp-section { padding: 82px 20px; }
  .tp-section-heading { margin-bottom: 40px; text-align: left; }
  .tp-section-heading h2, .tp-cta h2 { font-size: clamp(40px, 12vw, 52px); }
  .tp-section-heading > p { font-size: 15px; margin-left: 0; }
  .tp-video-shell { min-height: 520px; }
  .tp-video-shell--landscape { min-height: 0; }
  .tp-proof-card { padding: 30px 24px; }
  .tp-check-list li { font-size: 14px; }
  .tp-skill-grid, .tp-work-grid { grid-template-columns: 1fr; }
  .tp-skill-card, .tp-work-card { min-height: 315px; padding: 28px; }
  .tp-timeline-item { gap: 16px; grid-template-columns: 1fr; padding: 28px 0; }
  .tp-timeline-meta { flex-direction: row; justify-content: space-between; }
  .tp-timeline-meta strong { text-align: right; }
  .tp-degree { min-height: 310px; padding: 28px; }
  .tp-publications a { padding: 28px; }
  .tp-cta { border-radius: 0; margin: 40px 0 0; padding: 64px 20px; }
  .tp-cta .tp-button { width: 100%; }
  .tp-footer { margin-top: 0; padding: 54px 20px 36px; }
  .tp-footer-top { align-items: flex-start; flex-direction: column; gap: 24px; }
  .tp-footer-bottom { align-items: flex-start; flex-direction: column; gap: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tp-button, .tp-skip, .tp-video-button img, .tp-play { transition: none; }
}
